79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
...
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
...
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
...
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
...
870
871
872
873
874
875
876
|
text-shadow: 1px 1px black;
text-decoration: none;
text-align: center;
cursor: default;
user-select: none;
-webkit-user-drag: none;
-webkit-app-region: no-drag;
background: linear-gradient(to bottom,
otone(-47%),
otone(-50%) 15%,
otone(-50%) 75%,
otone(-53%)
);
&:hover, &:focus {
@extend %glow;
................................................................................
}
div.thread {
margin-left: 0.3in;
& + div.post { margin-top: 0.3in; }
}
div.post {
@extend %box;
display: grid;
grid-template-columns: 1in 1fr max-content;
grid-template-rows: min-content max-content;
margin-bottom: 0.1in;
>.avatar {
grid-column: 1/2; grid-row: 1/2;
img { display: block; width: 1in; height: 1in; margin:0; }
background: linear-gradient(to bottom, tone(-53%), tone(-57%));
}
................................................................................
display: block;
grid-column: 1/3;
grid-row: 2/3;
text-align: left;
text-decoration: none;
padding: 0.1in;
padding-left: 0.15in;
>.nym { font-weight: bold; }
color: tone(0%,-0.4);
> span.nym { color: tone(10%) }
> span.handle { color: tone(-5%) }
background: linear-gradient(to right, tone(-55%), transparent);
&:hover {
> span.nym { color: white; }
> span.handle { color: tone(15%) }
}
}
>.content {
grid-column: 2/4; grid-row: 1/2;
padding: 0.2in;
@extend %serif;
font-size: 110%;
text-align: justify;
color: tone(25%);
}
> a[href].permalink {
display: block;
grid-column: 3/4; grid-row: 2/3;
font-size: 80%;
text-align: right;
padding: 0.1in;
padding-right: 0.15in;
font-style: italic;
background: linear-gradient(to left, tone(-55%,-0.5), transparent);
}
}
a[href].rawlink {
@extend %teletype;
}
body.doc main {
@extend %serif;
................................................................................
&+label:hover {
background-color: otone(-35%);
color: white;
}
&:checked+label {
border-top: 1px solid otone(-10%);
border-bottom: 1px solid otone(-50%);
background: linear-gradient(to bottom, otone(-25%,-0.2), otone(-28%,-0.4) 35%, otone(-30%,-0.7));
color: white;
box-shadow: 0 0 0 1px tone(-60%);
&:hover {
border-top: 1px solid otone(10%);
border-bottom: 1px solid otone(-60%);
font-weight: bold;
}
................................................................................
transform: rotate(90deg) scale(1.1);
color: tone(-20%);
text-shadow: 0 0 8px tone(-30%);
}
}
}
}
|
>
|
>
>
>
>
>
>
>
>
>
>
>
|
<
<
<
<
<
<
<
|
<
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
...
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
...
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
...
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
...
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
|
text-shadow: 1px 1px black;
text-decoration: none;
text-align: center;
cursor: default;
user-select: none;
-webkit-user-drag: none;
-webkit-app-region: no-drag;
--icon: url(/s/heart.webp);
background-image: linear-gradient(to bottom,
otone(-47%),
otone(-50%) 15%,
otone(-50%) 75%,
otone(-53%)
);
&:hover, &:focus {
@extend %glow;
................................................................................
}
div.thread {
margin-left: 0.3in;
& + div.post { margin-top: 0.3in; }
}
a[href].username {
>.nym { font-weight: bold; }
color: tone(0%,-0.4);
> span.nym { color: tone(10%) }
> span.handle { color: tone(-5%) }
&:hover {
> span.nym { color: white; }
> span.handle { color: tone(15%) }
}
}
div.post {
@extend %box;
display: grid;
margin: unset;
grid-template-columns: 1in 1fr max-content max-content;
grid-template-rows: min-content max-content;
margin-bottom: 0.1in;
>.avatar {
grid-column: 1/2; grid-row: 1/2;
img { display: block; width: 1in; height: 1in; margin:0; }
background: linear-gradient(to bottom, tone(-53%), tone(-57%));
}
................................................................................
display: block;
grid-column: 1/3;
grid-row: 2/3;
text-align: left;
text-decoration: none;
padding: 0.1in;
padding-left: 0.15in;
background: linear-gradient(to right, tone(-55%), transparent);
}
>.content {
grid-column: 2/5; grid-row: 1/2;
padding: 0.2in;
@extend %serif;
font-size: 110%;
text-align: justify;
color: tone(25%);
}
> a[href].permalink {
display: block;
grid-column: 4/5; grid-row: 2/3;
font-size: 80%;
text-align: right;
padding: 0.1in;
padding-right: 0.15in;
font-style: italic;
background: linear-gradient(to left, tone(-55%,-0.5), transparent);
}
div.stats {
display: flex;
grid-column: 3/4; grid-row: 2/3;
justify-content: center;
> .like, > .rt {
margin: 0.5em 0.3em;
padding-left: 1.3em;
background-size: 1.1em;
background-repeat: no-repeat;
min-width: 0.3em;
&:empty {
transition: 0.3s;
opacity: 0.1;
&:hover { opacity: 0.6 !important; }
}
}
> .like {
background-image: url(/s/heart.webp);
}
> .rt {
background-image: url(/s/retweet.webp);
}
}
}
div.post:hover div.stats { > .like, > .rt { &:empty {opacity: 0.3;} } }
a[href].rawlink {
@extend %teletype;
}
body.doc main {
@extend %serif;
................................................................................
&+label:hover {
background-color: otone(-35%);
color: white;
}
&:checked+label {
border-top: 1px solid otone(-10%);
border-bottom: 1px solid otone(-50%);
background: linear-gradient(to bottom, otone(-25%,-0.2), otone(-28%,-0.3) 35%, otone(-30%,-0.5));
color: white;
box-shadow: 0 0 0 1px tone(-60%);
&:hover {
border-top: 1px solid otone(10%);
border-bottom: 1px solid otone(-60%);
font-weight: bold;
}
................................................................................
transform: rotate(90deg) scale(1.1);
color: tone(-20%);
text-shadow: 0 0 8px tone(-30%);
}
}
}
}
div.lede {
display: grid;
grid-template-columns: 1fr min-content;
grid-template-rows: 1.5em 1fr;
padding: 0.1in 0.3in;
margin: 0 -0.2in;
margin-top: 0.2in;
border-radius: 3px;
background: linear-gradient(to bottom, tone(-40%,-0.5), transparent);
border-top: 1px solid tone(-5%,-0.7);
> .promo {
grid-row: 1/2; grid-column: 1/2;
font-style: italic;
font-size: 90%;
color: tone(-10%);
> img {
vertical-align: middle;
margin-right: 0.4em;
width: 1em; height: 1em;
}
}
> a[href].del {
grid-row: 1/2; grid-column: 2/3;
text-decoration: none;
}
> .post {
grid-row: 2/3; grid-column: 1/3;
}
}
|