1
+ /* Colors based on plantpower1 theme */
2
+ /* https://color.adobe.com/plantpower1-color-theme-10440009/ */
3
+ : root {
4
+ --pink : # ff135c ;
5
+ --white : # fff ;
6
+ --green : # 3a8828 ;
7
+ --yellow : # fffd00 ;
8
+ --greenish : # 45f7b4 ;
9
+
10
+ --header-height : 80px ;
11
+ }
12
+
1
13
* {
2
14
margin : 0 ;
3
15
padding : 0 ;
10
22
11
23
html ,
12
24
body {
13
- background : # f7f7f7 ;
25
+ background : var (--white );
26
+ margin : 0 ;
14
27
}
15
28
16
29
html .fullscreen ,
@@ -24,7 +37,7 @@ html.fullscreen,
24
37
25
38
body {
26
39
font : 14px sans-serif;
27
- color : # 333 ;
40
+ color : # 444 ;
28
41
}
29
42
30
43
p {
78
91
/* Header */
79
92
80
93
.header {
81
- height : 65 px ;
94
+ height : var ( --header-height ) ;
82
95
display : flex;
83
96
flex-direction : row;
84
- background : # 222 ;
85
- xxborder-bottom : 1px solid # 333 ;
86
- color : # eee ;
97
+ background : var (--pink );
98
+ box-shadow : 0 1px 5px rgba (0 , 0 , 0 , 0.2 );
99
+ border-bottom : 3px solid var (--green );
100
+ color : # fff ;
87
101
width : 100% ;
102
+ z-index : 999 ;
103
+ position : fixed;
88
104
}
89
105
90
106
.header__logo {
91
107
margin-left : 1rem ;
92
108
flex : 1 ;
93
109
align-self : center;
94
- font-size : 14 px ;
95
- font-weight : 200 ;
96
- letter-spacing : 1 rem ;
110
+ font-size : 64 px ;
111
+ padding : 5 px 0 ;
112
+ font-weight : 900 ;
97
113
}
98
114
99
115
.header__nav {
109
125
110
126
.page {
111
127
flex : 1 ;
112
- background : linear-gradient (0deg , # 000, # 222 );
113
- color : white;
128
+ padding-top : var (--header-height );
114
129
}
115
130
116
131
.page .centered {
138
153
139
154
.intro {
140
155
padding : 5rem 2rem ;
156
+ /* background: #fffd00;
157
+ color: #333;
158
+ border-bottom: 10px solid #3a8828;
159
+ */
160
+ background : linear-gradient (# eee, # fff );
161
+ }
162
+
163
+ .intro__inner {
164
+ max-width : 900px ;
165
+ margin : 0 auto;
141
166
}
142
167
143
168
.intro__large {
154
179
}
155
180
156
181
.intro__cta .button {
157
- background : # 333 ;
158
182
color : white;
159
183
padding : 8px 12px ;
160
184
border-bottom : 2px solid rgba (0 , 0 , 0 , 0.2 );
@@ -165,13 +189,20 @@ a {
165
189
}
166
190
167
191
.intro__cta .button .primary {
168
- background : # 6a6 ;
192
+ background : var ( --pink ) ;
169
193
}
170
194
171
195
.gallery {
196
+ background : white;
197
+ }
198
+
199
+ .gallery__inner {
172
200
display : flex;
173
201
flex-wrap : wrap;
174
202
justify-content : center;
203
+ max-width : 900px ;
204
+ margin : 0 auto;
205
+ padding : 30px 0 ;
175
206
}
176
207
177
208
.gallery h1 {
187
218
188
219
.gallery__img {
189
220
border-radius : 3px ;
221
+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 );
190
222
}
191
223
192
224
.gallery__link {
@@ -198,38 +230,40 @@ a {
198
230
transform : translateY (2px );
199
231
}
200
232
201
-
202
233
/* Editor */
203
234
204
235
.editor {
205
236
flex : 1 ;
206
237
display : flex;
207
238
flex-direction : row;
239
+ padding-top : var (--header-height );
240
+ }
241
+
242
+ .embed .editor {
243
+ padding-top : 0 ;
208
244
}
209
245
210
- .editor__source-wrap , .editor__viewer-wrap {
246
+ .editor__source-wrap ,
247
+ .editor__viewer-wrap {
211
248
flex : 1 ;
212
249
display : flex;
213
250
flex-direction : column;
214
251
}
215
252
216
-
217
253
.editor__toolbar {
218
- height : 40 px ;
219
- min-height : 40 px ;
220
- background : # 666 ;
254
+ height : 50 px ;
255
+ min-height : 50 px ;
256
+ background : # 333 ;
221
257
display : flex;
222
258
align-items : center;
223
259
justify-content : flex-start;
224
260
padding : 0 10px ;
225
261
box-shadow : 0 2px 2px rgba (0 , 0 , 0 , 0.05 );
226
- border-top : 1px solid # 777 ;
227
- border-bottom : 2px solid # 555 ;
228
262
}
229
263
230
264
.editor__toolbar .button {
231
265
padding : 5px 8px ;
232
- background : # 6a6 ;
266
+ background : var ( --pink ) ;
233
267
font-size : 0.8rem ;
234
268
}
235
269
248
282
}
249
283
250
284
.editor__toolbar-right a {
251
- color : white ;
285
+ color : # eee ;
252
286
text-decoration : underline;
253
287
opacity : 0.8 ;
254
288
}
290
324
text-align : center;
291
325
font-family : "SF Mono" , Menlo, monospace;
292
326
border : 0 ;
293
- background : transparent;;
327
+ background : transparent;
294
328
color : white;
295
329
}
296
330
348
382
349
383
.docs__nav {
350
384
width : 300px ;
351
- border-right : 1px solid # ddd ;
352
385
padding-top : 10px ;
386
+ position : fixed;
353
387
}
354
388
355
389
.docs__nav ul {
381
415
min-height : 100% ;
382
416
padding : 20px 30px ;
383
417
max-width : 50rem ;
418
+ margin-left : 300px ;
419
+ border-left : 1px solid # ddd ;
384
420
}
385
421
386
422
.docs__body h2 {
390
426
margin-bottom : 0.5rem ;
391
427
}
392
428
393
- .docs__body p , .docs__body li {
429
+ .docs__body p ,
430
+ .docs__body li {
394
431
line-height : 1.5 ;
395
432
}
396
433
423
460
border-bottom-color : rgba (0 , 0 , 0 , 0.9 );
424
461
}
425
462
426
-
427
463
.docs__body a .noline {
428
464
border-bottom : none !important ;
429
465
}
454
490
}
455
491
456
492
.docs__body .code-wrap pre ::before {
457
- content : ' sketch' ;
493
+ content : " sketch" ;
458
494
position : absolute;
459
495
right : 7px ;
460
496
top : 5px ;
474
510
}
475
511
476
512
.docs__body .code-wrap .code-result ::before {
477
- content : ' result' ;
513
+ content : " result" ;
478
514
position : absolute;
479
515
right : 7px ;
480
516
top : 5px ;
492
528
}
493
529
494
530
.docs__body blockquote {
495
- background : # 6a6 ;
531
+ background : var ( --pink ) ;
496
532
color : white;
497
533
padding : 1rem 1rem 0.2rem 1rem ;
498
534
font-size : 18px ;
@@ -501,10 +537,15 @@ a {
501
537
margin-bottom : 1rem ;
502
538
}
503
539
540
+ .docs__body blockquote code {
541
+ color : white;
542
+ background : transparent;
543
+ }
544
+
504
545
.docs__body iframe {
505
546
border : 1px solid # ddd ;
506
547
margin-bottom : 1rem ;
507
548
width : 100% ;
508
549
height : 400px ;
550
+ border-radius : 3px ;
509
551
}
510
-
0 commit comments