all repos — site @ 1960113eb339aecc57d47a974f8ad31b6aa6a057

source for my site, found at icyphox.sh

build/static/style.css (view raw)

  1@import url('https://rsms.me/inter/inter.css');
  2html { font-family: 'Inter', sans-serif; }
  3@supports (font-variation-settings: normal) {
  4  html { font-family: 'Inter var', sans-serif; }
  5}
  6
  7html,
  8body {
  9	background: #021012;
 10}
 11
 12.container {
 13	position: absolute;
 14	overflow: hidden;
 15	top: 0;
 16	bottom: 0;
 17	left: 0;
 18	right: 0;
 19	color: white;
 20
 21	-webkit-animation: fadein 3s;
 22	   -moz-animation: fadein 3s;
 23	    -ms-animation: fadein 3s;
 24	     -o-animation: fadein 3s;
 25	        animation: fadein 3s;
 26}
 27
 28.container-text {
 29  position: absolute;
 30	/*overflow-y: auto;*/
 31	overflow-x: hidden;
 32	top: 0;
 33	bottom: 0;
 34	left: 0;
 35	right: 0;
 36	color: white;
 37
 38	-webkit-animation: fadein 1.5s;
 39	   -moz-animation: fadein 1.5s;
 40	    -ms-animation: fadein 1.5s;
 41	     -o-animation: fadein 1.5s;
 42	        animation: fadein 1.5s;
 43}
 44
 45@keyframes fadein {
 46	from { opacity: 0; }
 47	to   { opacity: 1; }
 48}
 49
 50@-moz-keyframes fadein {
 51	from { opacity: 0; }
 52	to   { opacity: 1; }
 53}
 54
 55@-webkit-keyframes fadein {
 56	from { opacity: 0; }
 57	to   { opacity: 1; }
 58}
 59
 60.introduction {
 61	position: absolute;
 62	top: 50%;
 63	transform: translateY(-50%);
 64	width: 100%;
 65}
 66
 67.content {
 68	position: absolute;
 69	font-size: 18px;
 70	top: 10%;
 71  left: 30%;
 72  right: 30%;
 73  width: 40%;
 74  line-height: 1.8;
 75}
 76
 77pre {
 78  padding: 10px;
 79}
 80
 81pre, pre code {
 82    background: #041b1e;
 83    color: white;
 84    word-wrap: break-word;
 85    overflow-x: auto;
 86    white-space: pre-wrap;
 87    white-space: -moz-pre-wrap;
 88    white-space: -pre-wrap;
 89    white-space: -o-pre-wrap;
 90}
 91
 92code {
 93    color: cyan;
 94    background: #041b1e;
 95    padding: 1px;
 96}
 97
 98.logo {
 99	width: 220px;
100}
101
102.footer {
103	color: gray;
104	bottom: 20px;
105	position: absolute;
106	width: 100%;
107	text-align: center;
108	margin-bottom: 20px;
109}
110
111.header {
112	color: cyan;
113	top: 10px;
114	position: absolute;
115	width: 100%;
116	text-align: left;
117	margin: 20px;
118}
119
120.muted {
121  color: gray
122}
123
124.muted a {
125  color: cyan
126}
127
128a {
129	color: gray;
130	margin: 0;
131	transition: all 200ms;
132	text-decoration: none;
133}
134
135a:hover {
136	color: #021012;
137	background: cyan;
138}
139
140.left {
141	display: inline-block;
142	margin-bottom: 30px;
143	margin-left: 0;
144	margin-right: 30px;
145}
146
147.right {
148	display: inline-block;
149}
150
151.right a {
152	display: inline-block;
153	margin-right: 30px;
154}
155
156.noselect {
157  -webkit-touch-callout:none;
158  -webkit-user-select:none;
159  -khtml-user-select:none;
160  -moz-user-select:none;
161  -ms-user-select:none;
162  user-select:none
163}
164
165img {
166  height: auto;
167  width: 100%;
168
169  max-width: 720px;
170}
171
172footer img {
173  all: initial;
174  * { all: unset; }
175}
176
177h1, h2, h3 {
178  font-weight: normal;
179}
180
181h2 { 
182  color: gray;
183}
184
185h3 {
186  color: cyan;
187}
188
189p {
190  bottom: 2em;
191}
192
193
194@media only screen and (max-width: 70em) {
195	.left {
196		display: block;
197		margin-right: 0;
198	}
199	.right {
200		display: block;
201	}
202	.right a:last-child {
203		margin-right: 0;
204	}
205  
206  .container-text {
207    overflow-y: auto;
208  }
209
210	.content {
211		left: 10%;
212    right: 10%;
213    bottom: 10%;
214		width: 80%;
215	}
216
217  .content h1, h2, h3 {
218    line-height: 1.5;
219  }
220
221  pre {
222    overflow-x: auto;
223  }
224
225  .logo {
226    width: 180px;
227  }
228}