all repos — site @ 979c690efb23876304962535456b60f1477946f9

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