19
19
: root {
20
20
--main-hue : 250 ;
21
21
--white : # 6a737d ;
22
- --code : # fff8d3 ;
23
- --code-border : # f0d547 ;
22
+ --white-light : # cfe0f4 ;
23
+ --white-dark : # 9b9b9b ;
24
+ --code : # e3e5e8 ;
25
+ --code-border : # e3e5e8 ;
24
26
--pre : # f6f8fa ;
25
- --bg-color : # fff ;
27
+ --bg-color : # fdfdfd ;
26
28
--text-color : # 24292f ;
27
29
--link-color : # 005cc5 ;
28
30
--visited : # 6f42c1 ;
29
31
--blockquote : # 005cc5 ;
30
- --blockquote-bg : # fff ;
32
+ --blockquote-bg : # cfe0f4 ;
31
33
--hover : # d73a49 ;
32
34
--grey : # ccc ;
33
35
--grey-light : # 6a708e ;
34
- --shadow : # 252525 ;
36
+ --shadow : # e8e8e8 ;
35
37
}
36
38
}
37
39
38
40
@media (prefers-color-scheme : dark) {
39
41
: root {
40
42
--main-hue : 250 ;
41
43
--white : # f2f2f2 ;
44
+ --white-light : # f2f2f2 ;
45
+ --white-dark : # c6c6c6 ;
42
46
--code : # 414558 ;
43
47
--code-border : # 252525 ;
44
48
--pre : # 252525 ;
65
69
sans-serif, "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" ;
66
70
-webkit-text-size-adjust : 100% ;
67
71
-moz-tab-size : 4 ;
72
+ -o-tab-size : 4 ;
68
73
tab-size : 4 ;
69
74
}
70
75
157
162
color : inherit;
158
163
border : 0 ;
159
164
margin : 0 ;
160
- height : 1 px ;
165
+ height : 2 px ;
161
166
background : var (--grey );
162
167
margin : 1rem auto;
163
168
text-align : center;
@@ -217,6 +222,10 @@ blockquote > p {
217
222
margin : 0 ;
218
223
}
219
224
225
+ blockquote code {
226
+ border : 1px solid var (--blockquote );
227
+ }
228
+
220
229
ul ,
221
230
ol {
222
231
padding : 0 0 0 2rem ;
@@ -257,7 +266,12 @@ figure {
257
266
}
258
267
259
268
.container {
260
- max-width : 900px ;
269
+ max-width : 50em ;
270
+ width : 100% ;
271
+ }
272
+
273
+ .container-sm {
274
+ max-width : 40em ;
261
275
width : 100% ;
262
276
}
263
277
@@ -268,12 +282,56 @@ figure {
268
282
justify-content : center;
269
283
}
270
284
285
+ .mono {
286
+ font-family : ui-monospace, SFMono-Regular, Consolas, "Liberation Mono" , Menlo,
287
+ monospace;
288
+ }
289
+
290
+ .link-alt-adj ,
291
+ .link-alt-adj : visited ,
292
+ .link-alt-adj : visited : hover ,
293
+ .link-alt-adj : hover {
294
+ color : var (--link-color );
295
+ text-decoration : none;
296
+ }
297
+
298
+ .link-alt-adj : visited : hover ,
299
+ .link-alt-adj : hover {
300
+ text-decoration : underline;
301
+ }
302
+
303
+ .link-alt-hover ,
304
+ .link-alt-hover : visited ,
305
+ .link-alt-hover : visited : hover ,
306
+ .link-alt-hover : hover {
307
+ color : var (--hover );
308
+ text-decoration : none;
309
+ }
310
+
311
+ .link-alt-hover : visited : hover ,
312
+ .link-alt-hover : hover {
313
+ text-decoration : underline;
314
+ }
315
+
316
+ .link-alt ,
317
+ .link-alt : visited ,
318
+ .link-alt : visited : hover ,
319
+ .link-alt : hover {
320
+ color : var (--white );
321
+ text-decoration : none;
322
+ }
323
+
324
+ .link-alt : visited : hover ,
325
+ .link-alt : hover {
326
+ text-decoration : underline;
327
+ }
328
+
271
329
.text-3xl {
272
- font-size : 3 rem ;
330
+ font-size : 2.5 rem ;
273
331
}
274
332
275
333
.text-2xl {
276
- font-size : 1.85 rem ;
334
+ font-size : 1.9 rem ;
277
335
line-height : 1.15 ;
278
336
}
279
337
@@ -296,6 +354,30 @@ figure {
296
354
font-size : 0.875rem ;
297
355
}
298
356
357
+ .text-xs {
358
+ font-size : 0.775rem ;
359
+ }
360
+
361
+ .cursor-pointer {
362
+ cursor : pointer;
363
+ }
364
+
365
+ .w-full {
366
+ width : 100% ;
367
+ }
368
+
369
+ .h-full {
370
+ height : 100% ;
371
+ }
372
+
373
+ .border {
374
+ border : 2px solid var (--grey-light );
375
+ }
376
+
377
+ .text-left {
378
+ text-align : left;
379
+ }
380
+
299
381
.text-center {
300
382
text-align : center;
301
383
}
@@ -305,6 +387,15 @@ figure {
305
387
padding-bottom : 3px ;
306
388
}
307
389
390
+ .text-hdr {
391
+ color : var (--hover );
392
+ }
393
+
394
+ .text-underline-hdr {
395
+ border-bottom : 3px solid var (--hover );
396
+ padding-bottom : 3px ;
397
+ }
398
+
308
399
.font-bold {
309
400
font-weight : bold;
310
401
}
@@ -325,6 +416,14 @@ figure {
325
416
max-width : 50% ;
326
417
}
327
418
419
+ .h-screen {
420
+ height : 100vh ;
421
+ }
422
+
423
+ .w-screen {
424
+ width : 100vw ;
425
+ }
426
+
328
427
.flex {
329
428
display : flex;
330
429
}
@@ -419,6 +518,14 @@ figure {
419
518
margin-right : 1rem ;
420
519
}
421
520
521
+ .m-1 {
522
+ margin : 0.5rem ;
523
+ }
524
+
525
+ .p-1 {
526
+ padding : 0.5rem ;
527
+ }
528
+
422
529
.p-0 {
423
530
padding : 0 ;
424
531
}
@@ -499,62 +606,101 @@ figure {
499
606
text-align : right;
500
607
}
501
608
609
+ /* ==== MARKDOWN ==== */
610
+
611
+ .md h1 ,
612
+ .md h2 ,
613
+ .md h3 ,
614
+ .md h4 {
615
+ padding : 0 ;
616
+ margin : 1.5rem 0 0.9rem 0 ;
617
+ font-weight : bold;
618
+ }
619
+
620
+ .md h1 a ,
621
+ .md h2 a ,
622
+ .md h3 a ,
623
+ .md h4 a {
624
+ color : var (--grey-light );
625
+ text-decoration : none;
626
+ }
627
+
628
+ .md h1 {
629
+ font-size : 1.6rem ;
630
+ line-height : 1.15 ;
631
+ border-bottom : 2px solid var (--grey );
632
+ padding-bottom : 1rem ;
633
+ }
634
+
635
+ .md h2 {
636
+ font-size : 1.3rem ;
637
+ line-height : 1.15 ;
638
+ color : var (--white-dark );
639
+ }
640
+
641
+ .md h3 {
642
+ font-size : 1.2rem ;
643
+ color : var (--white-dark );
644
+ }
645
+
646
+ .md h4 {
647
+ font-size : 1rem ;
648
+ color : var (--white-dark );
649
+ }
650
+
502
651
/* ==== HELPERS ==== */
503
652
504
653
.logo-header {
505
654
line-height : 1 ;
506
655
display : inline-block;
656
+ background-color : # FF79C6 ;
507
657
background-image : linear-gradient (to right, # FF5555, # FF79C6, # F8F859 );
508
658
color : transparent;
509
659
background-clip : text;
510
660
border : 3px solid # FF79C6 ;
511
661
padding : 8px 10px 10px 10px ;
512
662
border-radius : 10px ;
513
663
box-shadow : 0px 5px 0px 0px var (--shadow );
664
+ background-size : 100% ;
665
+ -webkit-background-clip : text;
666
+ -moz-background-clip : text;
667
+ -webkit-text-fill-color : transparent;
668
+ -moz-text-fill-color : transparent;
514
669
}
515
670
516
- .btn-icon {
517
- border : 3px solid hsl (var (--main-hue ), 92% , 66% );
518
- background-color : hsl (var (--main-hue ), 92% , 66% );
519
- padding : 0.25rem 0.3rem ;
520
- border-radius : 0.25rem ;
521
- box-shadow : 0px 5px 0px 0px var (--shadow );
522
- color : var (--white );
523
- cursor : pointer;
671
+ .btn {
672
+ border : 2px solid var (--link-color );
673
+ color : var (--link-color );
674
+ padding : 0.4rem 1rem ;
675
+ font-weight : bold;
676
+ display : inline-block;
524
677
}
525
678
526
- .btn-link {
527
- border : 3px solid hsl (var (--main-hue ), 92% , 66% );
528
- background-color : hsl (var (--main-hue ), 92% , 66% );
529
- padding : 0.5rem 1rem ;
530
- border-radius : 0.25rem ;
531
- box-shadow : 0px 5px 0px 0px var (--shadow );
532
- color : var (--white );
679
+ .btn-link : hover {
680
+ border : 2px solid var (--hover );
681
+ }
682
+
683
+ .btn-link ,
684
+ .btn-link : visited {
685
+ border : 2px solid var (--link-color );
686
+ color : var (--link-color );
687
+ padding : 0.4rem 1rem ;
533
688
text-decoration : none;
534
689
font-weight : bold;
690
+ display : inline-block;
535
691
}
536
692
537
693
.btn-link : visited : hover ,
538
694
.btn-link : hover {
539
- border : 3px solid hsl (260 , 92% , 66% );
540
- background-color : hsl (260 , 92% , 66% );
541
- color : var (--white );
542
- transform : scale (.98 , .98 );
543
- }
544
-
545
- .btn-link : visited {
546
- color : var (--white );
695
+ border : 2px solid var (--hover );
547
696
}
548
697
549
698
.box {
550
699
border : 2px solid var (--grey-light );
551
- padding : 1rem ;
552
- text-decoration : none;
553
- box-shadow : 0px 5px 0px 0px var (--shadow );
554
- color : var (--white );
700
+ padding : 0.5rem 0.75rem ;
555
701
}
556
702
557
- @media only screen and (max-width : 600 px ) {
703
+ @media only screen and (max-width : 40 em ) {
558
704
body {
559
705
padding : 0 1rem ;
560
706
}
0 commit comments