all repos — site @ 6a9940fd36950706276ab34aa607b85a7c75ba41

source for my site, found at icyphox.sh

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	top: 0;
 30	bottom: 0;
 31	left: 0;
 32	right: 0;
 33	color: white;
 34
 35	-webkit-animation: fadein 1.5s;
 36	   -moz-animation: fadein 1.5s;
 37	    -ms-animation: fadein 1.5s;
 38	     -o-animation: fadein 1.5s;
 39	        animation: fadein 1.5s;
 40}
 41
 42@keyframes fadein {
 43	from { opacity: 0; }
 44	to   { opacity: 1; }
 45}
 46
 47@-moz-keyframes fadein {
 48	from { opacity: 0; }
 49	to   { opacity: 1; }
 50}
 51
 52@-webkit-keyframes fadein {
 53	from { opacity: 0; }
 54	to   { opacity: 1; }
 55}
 56
 57.introduction {
 58	position: absolute;
 59	top: 50%;
 60	transform: translateY(-50%);
 61	width: 100%;
 62}
 63
 64.content {
 65	position: relative;
 66	font-size: 17px;
 67	top: 10%;
 68  left: 30%;
 69  right: 30%;
 70  width: 40%;
 71  line-height: 1.8;
 72}
 73
 74pre {
 75  padding: 10px;
 76}
 77
 78pre, pre code {
 79    background: #041b1e;
 80    color: white;
 81    word-wrap: break-word;
 82    overflow-x: auto;
 83    white-space: pre-wrap;
 84    white-space: -moz-pre-wrap;
 85    white-space: -pre-wrap;
 86    white-space: -o-pre-wrap;
 87}
 88
 89code {
 90    color: cyan;
 91    background: #041b1e;
 92    padding: 1px;
 93}
 94
 95a > code {
 96    transition: all 200ms;
 97    color: gray;
 98}
 99
100a > code:hover {
101  	color: #021012;
102  	background: cyan;
103}
104
105.logo {
106	width: 220px;
107  padding-bottom: 60px;
108}
109
110.footer {
111	color: gray;
112	bottom: 20px;
113	position: absolute;
114	width: 100%;
115	text-align: center;
116	margin-bottom: 20px;
117}
118
119.header {
120	color: cyan;
121	top: 30px;
122  display: inline-block;
123	position: absolute;
124	width: 100%;
125  align: center;
126	text-align: center;
127}
128
129.header a {
130  margin-right: 20px;
131}
132
133.header a:last-child {
134  margin-right: 0
135}
136
137.muted {
138  color: gray
139}
140
141.muted a {
142  color: cyan
143}
144
145table {
146  width: 100%;
147}
148
149td {
150  white-space: nowrap;
151}
152
153td:first-child {
154  width: 100%;
155  max-width: 1px;
156  white-space: nowrap;
157  text-overflow: ellipsis;
158  overflow: hidden;
159}
160
161a {
162	color: gray;
163	margin: 0;
164	transition: all 200ms;
165	text-decoration: none;
166}
167
168a:hover {
169	color: #021012;
170	background: cyan;
171}
172
173.left {
174	display: inline-block;
175	margin-bottom: 30px;
176	margin-left: 0;
177	margin-right: 30px;
178}
179
180.right {
181	display: inline-block;
182}
183
184.right a {
185	display: inline-block;
186	margin-right: 30px;
187}
188
189.noselect {
190  -webkit-touch-callout:none;
191  -webkit-user-select:none;
192  -khtml-user-select:none;
193  -moz-user-select:none;
194  -ms-user-select:none;
195  user-select:none
196}
197
198img {
199  max-width: 100%;
200  margin: 0 auto;
201  display: block;
202}
203
204
205footer img {
206  all: initial;
207}
208
209.footimgs {
210  padding-top: 10px;
211  max-height: 2rem;
212  display: inline-block;
213  vertical-align: text-top;
214  image-orientation: from-image;
215  max-width: 100%;
216  padding-bottom: 5px;
217  cursor: pointer;
218}
219
220footer a:hover {
221  color: unset;
222  background: unset;
223}
224
225h1, h2, h3 {
226  font-weight: normal;
227}
228
229h2 { 
230  color: gray;
231}
232
233h3 {
234  color: cyan;
235}
236
237p {
238  bottom: 2em;
239}
240
241blockquote {
242  border-left: 0.25rem solid gray;
243  color: gray;
244  font-style: italic;
245  margin: .8rem 0;
246  padding: .5rem 1rem
247}
248
249hr {
250  width: 20%;
251}
252
253::selection {
254  background-color: cyan;
255  color: #021012;
256}
257
258@media only screen and (max-width: 70em) {
259	.left {
260		display: block;
261		margin-right: 0;
262	}
263	.right {
264		display: block;
265	}
266  .right a {
267    margin-right: 15px;
268  }
269	.right a:last-child {
270		margin-right: 0;
271	}
272  
273/*  .container-text {
274    overflow-y: auto;
275  }*/
276
277	.content {
278		left: 5%;
279    right: 5%;
280    bottom: 10%;
281		width: 90%;
282	}
283
284  .content h1, h2, h3 {
285    line-height: 1.5;
286  }
287
288  pre {
289    overflow-x: auto;
290  }
291
292  .logo {
293    width: 180px;
294  }
295}