|
1 |
| -$textblue: #9EA9D4; |
2 |
| -$colortext: rgba(28,28,41, .80); |
3 |
| -$coloraqua: #2EE7C0; |
4 | 1 |
|
5 |
| -body { |
6 |
| - background: white; |
7 |
| - color: $colortext; |
8 |
| - font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; |
9 |
| - width: 100vw; |
10 |
| - overflow-x: hidden; |
11 |
| -} |
12 |
| - |
13 |
| -.bold { |
14 |
| - font-family: "HelveticaNeue-Medium", "Helvetica Neue Medium", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; |
15 |
| -} |
16 |
| - |
17 |
| -p { |
18 |
| - margin: 0; |
19 |
| - padding: 0; |
20 |
| -} |
21 |
| - |
22 |
| -header { |
23 |
| - overflow: hidden; |
24 |
| - position: relative; |
25 |
| - height: 92vh; |
26 |
| - width: 100vw; |
27 |
| - @media( max-device-width: 1024px) { |
28 |
| - height: 70vh; |
29 |
| - } |
30 |
| - @media (max-width: 480px) { |
31 |
| - height: 95vh; |
32 |
| - } |
33 |
| - |
34 |
| - #bg { |
35 |
| - overflow: hidden; |
36 |
| - position: absolute; |
37 |
| - z-index: 1200; |
38 |
| - height: 101vh; |
39 |
| - width: 101%; |
40 |
| - left: -.5%; |
41 |
| - top: -.5%; |
42 |
| - @media (max-width: 1200px) { |
43 |
| - width: 115%; |
44 |
| - } |
45 |
| - @media (max-width: 1000px) { |
46 |
| - width: 125%; |
47 |
| - } |
48 |
| - } |
49 |
| - //#graph { |
50 |
| - // points: "0 267.648438 203.578125 412.074219 368.214844 439.332031 626.625 382.300781 768.152344 254.777344 1294.5 0 1023.77734 0 1023.77734 534.628906 0 534.628906" |
51 |
| - // } |
52 |
| - |
53 |
| - #logo { |
54 |
| - top: 20%; |
55 |
| - left: 20%; |
56 |
| - position: absolute; |
57 |
| - z-index: 2000; |
58 |
| - width: 40vw; |
59 |
| - @media( max-width: 1400px) { |
60 |
| - width: 48vw; |
61 |
| - } |
62 |
| - @media (max-width: 780px) { |
63 |
| - left: 10vw; |
64 |
| - top: 20%; |
65 |
| - width: 80vw; |
66 |
| - } |
67 |
| - |
68 |
| - #logo-img { |
69 |
| - width: 35vw; |
70 |
| - @media (max-width: 780px) { |
71 |
| - width: 100%; |
72 |
| - } |
73 |
| - margin-bottom: 1em; |
74 |
| - } |
75 |
| - } |
76 |
| - |
77 |
| - #description { |
78 |
| - color: $textblue; |
79 |
| - color: rgba(189,189,189,1); |
80 |
| - font-size: 20px; |
81 |
| - padding-left: 0.5em; |
82 |
| - @media( max-width: 1024px) { |
83 |
| - font-size: 16px; |
84 |
| - padding-left: 0; |
85 |
| - } |
86 |
| - @media (max-width: 780px) { |
87 |
| - font-size: 18px; |
88 |
| - text-align: center; |
89 |
| - margin-left: 0; |
90 |
| - } |
91 |
| - @media (max-width: 600px) { |
92 |
| - font-size: 14px; |
93 |
| - text-align: center; |
94 |
| - } |
95 |
| - letter-spacing: 0.3em; |
96 |
| - line-height: 1.8em; |
97 |
| - } |
98 |
| -} |
99 |
| - |
100 |
| -#clients, |
101 |
| -.content-container .sleeve { |
102 |
| - width: 70vw; |
103 |
| - @media( max-width: 780px) { |
104 |
| - width: 80vw; |
105 |
| - } |
106 |
| - @media( max-width: 480px) { |
107 |
| - width: 90vw; |
108 |
| - } |
109 |
| - @media( min-width: 1500px) { |
110 |
| - max-width: 900px; |
111 |
| - } |
112 |
| - margin: 0 auto; |
113 |
| -} |
114 |
| - |
115 |
| -#clients { |
116 |
| - padding: 1.5em 0; |
117 |
| - @media (max-width: 480px) { |
118 |
| - height: 3vh; |
119 |
| - padding: 0.5em 0; |
120 |
| - } |
121 |
| -} |
122 |
| - |
123 |
| -.content-container { |
124 |
| - display: flex; |
125 |
| - min-height: 40vh; |
126 |
| - background: rgba(216,216,216, 0.4); |
127 |
| - border: 1px solid rgba(28,28,41, 0.4); |
128 |
| - border-width: 1px 0 0 0; |
129 |
| - overflow-y: hidden; |
130 |
| - |
131 |
| - &:last-child { |
132 |
| - border-width-bottom: 1px; |
133 |
| - } |
134 |
| - font-size: 24px; |
135 |
| - @media (max-width: 480px) { |
136 |
| - font-size: 18px; |
137 |
| - } |
138 |
| - line-height: 1.5em; |
139 |
| - |
140 |
| - &:nth-child(even) { |
141 |
| - background: white; |
142 |
| - } |
143 |
| - |
144 |
| - p { |
145 |
| - margin: 0; |
146 |
| - padding: 0 0 1em; |
147 |
| - } |
148 |
| - |
149 |
| - strong { |
150 |
| - @extend .bold; |
151 |
| - } |
152 |
| - |
153 |
| - a { |
154 |
| - text-decoration: none; |
155 |
| - @extend .bold; |
156 |
| - color: $colortext; |
157 |
| - |
158 |
| - &:hover { |
159 |
| - color: $coloraqua; |
160 |
| - } |
161 |
| - } |
162 |
| - |
163 |
| - &.dark { |
164 |
| - background: rgba(78,78,78,.70); |
165 |
| - color: #eaeaea; |
166 |
| - } |
167 |
| - |
168 |
| - &#intro { |
169 |
| - font-size: 30px; |
170 |
| - @media (max-width: 480px) { |
171 |
| - font-size: 24px; |
172 |
| - } |
173 |
| - } |
174 |
| - |
175 |
| - &#speed { |
176 |
| - background-image: linear-gradient(to bottom, rgba(255,255,255,.5) 10%, rgba(255,255,255,1) 40%), url("/static/jsflame.png"); |
177 |
| - background-position: 0; |
178 |
| - padding-top: 5em; |
179 |
| - } |
180 |
| - |
181 |
| - &#intersection { |
182 |
| - |
183 |
| - } |
184 |
| - |
185 |
| - #diagram { |
186 |
| - padding-top: 2vh; |
187 |
| - $diagramwidth: 400px; |
188 |
| - $diagramheight: 400px; |
189 |
| - $animationtype: cubic-bezier(0.5, 0.2, 0.3, 1.0); |
190 |
| - |
191 |
| - |
192 |
| - margin: 0 auto; |
193 |
| - width: $diagramwidth; |
194 |
| - height: $diagramwidth; |
195 |
| - |
196 |
| - position: relative; |
197 |
| - @keyframes c1 { |
198 |
| - from { |
199 |
| - -webkit-transform: translate(-35%, 35%); |
200 |
| - transform: translate(-35%, 35%); |
201 |
| - } |
202 |
| - |
203 |
| - to { |
204 |
| - -webkit-transform: translate(0, 0); |
205 |
| - transform: translate(0, 0); |
206 |
| - } |
207 |
| - } |
208 |
| - @keyframes c2 { |
209 |
| - from { |
210 |
| - -webkit-transform: translate(0, -35%); |
211 |
| - transform: translate(0, -35%); |
212 |
| - } |
213 |
| - |
214 |
| - to { |
215 |
| - -webkit-transform: translate(0, 0); |
216 |
| - transform: translate(0, 0); |
217 |
| - } |
218 |
| - } |
219 |
| - @keyframes c3 { |
220 |
| - from { |
221 |
| - -webkit-transform: translate(35%, 35%); |
222 |
| - transform: translate(35%, 35%); |
223 |
| - } |
224 |
| - |
225 |
| - to { |
226 |
| - -webkit-transform: translate(0, 0); |
227 |
| - transform: translate(0, 0); |
228 |
| - } |
229 |
| - } |
230 |
| - @keyframes label { |
231 |
| - from { |
232 |
| - opacity: 100%; |
233 |
| - } |
234 |
| - |
235 |
| - to { |
236 |
| - opacity: 0; |
237 |
| - } |
238 |
| - } |
239 |
| - @keyframes result { |
240 |
| - from { |
241 |
| - opacity: 0; |
242 |
| - } |
243 |
| - |
244 |
| - to { |
245 |
| - opacity: 100%; |
246 |
| - } |
247 |
| - } |
248 |
| - .result { |
249 |
| - width: $diagramheight; |
250 |
| - height: $diagramheight; |
251 |
| - text-align: center; |
252 |
| - line-height: $diagramheight; |
253 |
| - position: absolute; |
254 |
| - animation: result 2.5s $animationtype infinite alternate; |
255 |
| - font-size: 30px; |
256 |
| - } |
257 |
| - [class^='circle'] { |
258 |
| - background-color: #0ff; |
259 |
| - border-radius: 50%; |
260 |
| - height: $diagramheight; |
261 |
| - width: $diagramheight; |
262 |
| - mix-blend-mode: multiply; |
263 |
| - position: absolute; |
264 |
| - text-align: center; |
265 |
| - line-height: $diagramheight; |
266 |
| - } |
267 |
| - |
268 |
| - |
269 |
| - |
270 |
| - .label { |
271 |
| - height: 100%; |
272 |
| - width: 100%; |
273 |
| - vertical-align: center; |
274 |
| - text-align: center; |
275 |
| - animation: label 2.5s $animationtype infinite alternate; |
276 |
| - font-weight: bold; |
277 |
| - } |
278 |
| - |
279 |
| - .circle1 { |
280 |
| - background-color: rgba(0,255,255,0.5); |
281 |
| - animation: c1 2.5s $animationtype infinite alternate; |
282 |
| - |
283 |
| - .label { |
284 |
| - transform: rotate(-60deg); |
285 |
| - transform-origin: center center; |
286 |
| - } |
287 |
| - } |
288 |
| - |
289 |
| - .circle2 { |
290 |
| - background-color: rgba(255,255,0,0.5); |
291 |
| - animation: c2 2.5s $animationtype infinite alternate; |
292 |
| - |
293 |
| - .label {} |
294 |
| - } |
295 |
| - |
296 |
| - .circle3 { |
297 |
| - background-color: rgba(255,0,255,0.5); |
298 |
| - animation: c3 2.5s $animationtype infinite alternate; |
299 |
| - |
300 |
| - .label { |
301 |
| - transform: rotate(60deg); |
302 |
| - transform-origin: center center; |
303 |
| - } |
304 |
| - } |
305 |
| - } |
306 |
| - |
307 |
| - figure { |
308 |
| - text-align: center; |
309 |
| - |
310 |
| - img { |
311 |
| - width: 100%; |
312 |
| - } |
313 |
| - } |
314 |
| - |
315 |
| - figcaption { |
316 |
| - font-size: 18px; |
317 |
| - text-align: center; |
318 |
| - } |
319 |
| - |
320 |
| - #chart-analysis { |
321 |
| - float: right; |
322 |
| - padding-left: 50px; |
323 |
| - margin-right: -150px; |
324 |
| - margin-top: 4em; |
325 |
| - shape-outside: circle(); |
326 |
| - @media (max-width: 900px) { |
327 |
| - clear: both; |
328 |
| - float: none; |
329 |
| - padding: 0; |
330 |
| - width: 100%; |
331 |
| - margin: 0 0 2em; |
332 |
| - } |
333 |
| - } |
334 |
| - |
335 |
| - #tywop { |
336 |
| - float: right; |
337 |
| - shape-outside: circle(); |
338 |
| - @media (max-width: 900px) { |
339 |
| - clear: both; |
340 |
| - float: none; |
341 |
| - padding: 0; |
342 |
| - width: 100%; |
343 |
| - margin: 0 0 2em; |
344 |
| - } |
345 |
| - } |
346 |
| -} |
347 |
| - |
348 |
| -.content-container .sleeve { |
349 |
| - padding: 10vh 0; |
350 |
| - clear: both; |
351 |
| - margin: 0 auto; |
352 |
| - @media (max-width: 480px) { |
353 |
| - padding: 5vh 0; |
354 |
| - } |
355 |
| -} |
0 commit comments