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
164h1, h2, h3 {
165 font-weight: normal;
166}
167
168h2 {
169 color: gray;
170}
171
172h3 {
173 color: cyan;
174}
175
176p {
177 bottom: 2em;
178}
179
180
181@media only screen and (max-width: 70em) {
182 .left {
183 display: block;
184 margin-right: 0;
185 }
186 .right {
187 display: block;
188 }
189 .right a:last-child {
190 margin-right: 0;
191 }
192
193 .container-text {
194 overflow-y: auto;
195 }
196
197 .content {
198 left: 10%;
199 right: 10%;
200 bottom: 10%;
201 width: 80%;
202 }
203
204 .content h1, h2, h3 {
205 line-height: 1.5;
206 }
207
208 pre {
209 overflow-x: auto;
210 }
211
212 .logo {
213 width: 180px;
214 }
215}