all repos — site @ 69273d3076972b68b3d46bb3660f2fc55c7969db

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	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
184h1, h2, h3 {
185  font-weight: normal;
186}
187
188h2 { 
189  color: gray;
190}
191
192h3 {
193  color: cyan;
194}
195
196p {
197  bottom: 2em;
198}
199
200
201@media only screen and (max-width: 70em) {
202	.left {
203		display: block;
204		margin-right: 0;
205	}
206	.right {
207		display: block;
208	}
209  .right a {
210    margin-right: 15px;
211  }
212	.right a:last-child {
213		margin-right: 0;
214	}
215  
216/*  .container-text {
217    overflow-y: auto;
218  }*/
219
220	.content {
221		left: 7%;
222    right: 7%;
223    bottom: 10%;
224		width: 86%;
225	}
226
227  .content h1, h2, h3 {
228    line-height: 1.5;
229  }
230
231  pre {
232    overflow-x: auto;
233  }
234
235  .logo {
236    width: 180px;
237  }
238}