all repos — site @ 535c71ba7525616bede173d8a1cce3a1750852db

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, code {
 82    background: #041b1e;
 83    word-wrap: break-word;
 84    overflow-x: auto;
 85    white-space: pre-wrap;
 86    white-space: -moz-pre-wrap;
 87    white-space: -pre-wrap;
 88    white-space: -o-pre-wrap;
 89}
 90
 91.logo {
 92	width: 220px;
 93}
 94
 95.footer {
 96	color: gray;
 97	bottom: 20px;
 98	position: absolute;
 99	width: 100%;
100	text-align: center;
101	margin-bottom: 20px;
102}
103
104.header {
105	color: cyan;
106	top: 10px;
107	position: absolute;
108	width: 100%;
109	text-align: left;
110	margin: 20px;
111}
112
113a {
114	color: gray;
115	margin: 0;
116	transition: all 200ms;
117	text-decoration: none;
118}
119
120a:hover {
121	color: #021012;
122	background: cyan;
123}
124
125.left {
126	display: inline-block;
127	margin-bottom: 30px;
128	margin-left: 0;
129	margin-right: 30px;
130}
131
132.right {
133	display: inline-block;
134}
135
136.right a {
137	display: inline-block;
138	margin-right: 30px;
139}
140
141.noselect {
142  -webkit-touch-callout:none;
143  -webkit-user-select:none;
144  -khtml-user-select:none;
145  -moz-user-select:none;
146  -ms-user-select:none;
147  user-select:none
148}
149
150img {
151  height: auto;
152  width: 100%;
153
154  max-width: 720px;
155}
156
157h1, h2, h3 {
158  font-weight: normal;
159}
160
161h2 { 
162  color: gray;
163}
164
165h3 {
166  color: cyan;
167}
168
169p {
170  bottom: 2em;
171}
172
173
174@media only screen and (max-width: 70em) {
175	.left {
176		display: block;
177		margin-right: 0;
178	}
179	.right {
180		display: block;
181	}
182	.right a:last-child {
183		margin-right: 0;
184	}
185  
186  .container-text {
187    overflow-y: auto;
188  }
189
190	.content {
191		left: 10%;
192    right: 10%;
193    bottom: 10%;
194		width: 80%;
195	}
196
197  .content h1, h2, h3 {
198    line-height: 1.5;
199  }
200
201  pre {
202    overflow-x: auto;
203  }
204
205  .logo {
206    width: 180px;
207  }
208}