all repos — site @ b29ab6388b0b78f485bff5360b2f6d8a2c4e236f

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	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
120a {
121	color: gray;
122	margin: 0;
123	transition: all 200ms;
124	text-decoration: none;
125}
126
127a:hover {
128	color: #021012;
129	background: cyan;
130}
131
132.left {
133	display: inline-block;
134	margin-bottom: 30px;
135	margin-left: 0;
136	margin-right: 30px;
137}
138
139.right {
140	display: inline-block;
141}
142
143.right a {
144	display: inline-block;
145	margin-right: 30px;
146}
147
148.noselect {
149  -webkit-touch-callout:none;
150  -webkit-user-select:none;
151  -khtml-user-select:none;
152  -moz-user-select:none;
153  -ms-user-select:none;
154  user-select:none
155}
156
157img {
158  height: auto;
159  width: 100%;
160
161  max-width: 720px;
162}
163
164footer img {
165  all: initial;
166  * { all: unset; }
167}
168
169h1, h2, h3 {
170  font-weight: normal;
171}
172
173h2 { 
174  color: gray;
175}
176
177h3 {
178  color: cyan;
179}
180
181p {
182  bottom: 2em;
183}
184
185
186@media only screen and (max-width: 70em) {
187	.left {
188		display: block;
189		margin-right: 0;
190	}
191	.right {
192		display: block;
193	}
194	.right a:last-child {
195		margin-right: 0;
196	}
197  
198  .container-text {
199    overflow-y: auto;
200  }
201
202	.content {
203		left: 10%;
204    right: 10%;
205    bottom: 10%;
206		width: 80%;
207	}
208
209  .content h1, h2, h3 {
210    line-height: 1.5;
211  }
212
213  pre {
214    overflow-x: auto;
215  }
216
217  .logo {
218    width: 180px;
219  }
220}