1
- : root {--px-size : 2.5% ;--progress-size : 13px }
1
+ : root {
2
+ --px-size : 2.5% ;
3
+ --sans-serif : Helvetica Neue, Helvetica, Arial, sans-serif;
4
+ --bull-margin : 4px ;
5
+ --bull-symbol : "•" ;
6
+ --underline-rgb : 53 , 224 , 71 ;
7
+ --underline-color : rgb (var (--underline-rgb ));
8
+ --meta-rgb : 134 , 25 , 143 ;
9
+ --body-rgb : 34 , 34 , 34 ;
10
+ --link-rgb : 51 , 102 , 203 ;
11
+ --meta-color : rgb (var (--meta-rgb ));
12
+ --body-color : rgb (var (--body-rgb ));
13
+ --h : 126 ;
14
+ --s : 73.4% ;
15
+ --l : 54% ;
16
+ --hsl : var (--h ), var (--s ), var (--l );
17
+ --accent-color : hsl (var (--h ), var (--s ), var (--l ));
18
+ --gray : hsl (0 , 0% , var (--l , 80% ))
19
+ }
20
+ .hidden , [hidden ]{display : none}
2
21
* {box-sizing : border-box}
3
22
html {font-size : 13px }
4
- .h100 , body , html , main {height : 100% }
5
- body {font-variant : proportional-width;display : flex;flex-direction : column;gap : .25rem ;scrollbar-width : thin;margin : 0 0 ;padding : 0 0 ;margin : auto;font-family : Helvetica Neue, Helvetica, Arial, sans-serif;font-size : inherit;line-height : 1.25 ;counter-reset : reversed (section);text-rendering : optimizeLegibility;overflow-y : hidden}
6
- br {line-height : 0 !important ;font-size : 0 !important }
7
- date {margin-right : .5rem ;text-transform : uppercase}
8
- header {padding : .85rem 0 ;position : sticky;top : 0 ;z-index : 100 ;background : # fff ;border-bottom : 1px solid # ccc }
23
+ body , html , main {height : 100% }
24
+ body {font-variant : proportional-width;scrollbar-width : thin;padding : 0 0 ;margin : auto;font-family : var (--sans-serif );font-size : inherit;line-height : 1.3 ;text-rendering : optimizeLegibility;font-variant : proportional-width}
25
+ .container {display : flex;height : 100vh ;overflow-y : scroll;gap : 0 1rem }
26
+ header {padding : .85rem 0 ;position : sticky;top : 0 ;z-index : 100 ;background : # fff ;border-bottom : 1px solid # ccc ;padding : 1rem ;line-height : 1 ;flex : 1 ;gap : 1rem ;display : flex;flex-direction : column}
9
27
footer {margin-top : 1rem }
10
- header h1 { padding-left : var ( --px-size ) ;padding-right : var ( --px-size ) }
11
- footer p { border-top : 1 px solid # aaa ;padding-top : 1rem ; text-align : right }
12
- main { gap : 2 rem ; position : relative; padding-left : var ( --px-size ); padding-right : var ( --px-size ); width : 100 % ; scrollbar-width : thin; overflow-y : scroll; margin-bottom : 0 ; display : block; padding : calc ( 1 rem/2) var ( --px-size ); height : 100 % ; display : flex; flex-direction : column; justify-content : space-between }
13
- a { color : # 36c }
28
+ footer p { border-top : 1 px solid # aaa ;padding-top : 1 rem /*! text-align:right */ }
29
+ main { gap : 1 rem ; position : relative; padding-left : var ( --px-size ) ;padding-right : var ( --px-size ); width : 100 % ; scrollbar-width : thin; overflow-y : scroll; margin-bottom : 0 ; display : block; padding : calc ( 1 rem/2) var ( --px-size ); height : 100 % ; display : flex; flex-direction : column; justify-content : space-between; padding : 1 rem }
30
+ a , u { text-underline-offset : 1 px ; text-decoration-skip-ink : all; text-decoration-thickness : 2 px ; text-decoration-skip-ink : none }
31
+ u { text-decoration- color: hsl ( var ( --h ) , var ( --s ) , var ( --l )); text-decoration-skip-ink : all }
14
32
a : empty {text-decoration : none;color : inherit}
15
33
a : empty : after {content : attr (href)}
16
- a : hover {text-decoration-color : # 36c }
17
- a {text-decoration : 1.25px underline;text-decoration-skip-ink : none;text-underline-offset : 1px ;text-rendering : geometricprecision;color : # 36c ;text-decoration-color : # 3366cc61 }
18
- aside .container {border-right : 1px dotted # 222 ;min-height : 75vh }
19
- aside {flex : 1 ;min-width : 25vw ;position : relative}
20
- aside a , aside u {text-underline-offset : 1.25px ;text-decoration-skip-ink : none;text-decoration-thickness : 1.2px }
21
- aside a : hover {color : # 222 ;text-decoration-color : # aaa }
22
- aside h4 a {font-family : sans-serif;font-size : .9em }
23
- aside strong {font-weight : 700 ;display : block;line-height : 1.1 }
24
- aside ul {display : inline-flex;gap : .25rem ;position : relative;position : sticky;top : 0 }
34
+ a : hover {text-decoration-color : currentColor}
35
+ a {text-decoration : underline;color : inherit;text-decoration-color : hsl (var (--h ), var (--s ), var (--l ));text-decoration-thickness : 2px ;font-weight : 600 }
25
36
h1 , h2 , h4 {margin : 0 0 }
26
37
h3 {margin : .5rem 0 }
27
- h1 a {color : # 222 }
38
+ h1 a {color : var ( --body-color ) }
28
39
h1 , h2 , h3 {font-family : times}
40
+ h4 a {color : inherit;text-decoration-color : # ddd ;text-decoration-thickness : 2px }
29
41
h3 a {text-transform : capitalize;text-decoration : none;color : initial;font-size : 1.3rem }
30
42
hr {border : 0 ;border-bottom : 1px solid # aaa ;margin : 1rem 0 }
31
43
label span : empty {display : none}
32
44
ul .list {padding : 0 0rem ;list-style : none;padding-right : 1rem }
33
- ol , ul {display : flex;flex-direction : column;gap : .5 rem ;padding : 0 2rem ;padding-right : 1rem }
45
+ ul {display : flex;flex-direction : column;gap : .75 rem ;padding : 0 2rem ;padding-right : 1rem }
34
46
ul > li {padding : 0 .4rem }
35
47
ol , ul {padding : 0 1.35rem }
36
48
ol {padding-left : 0 }
37
49
ol li {list-style : none;padding-left : 0 }
50
+ p {margin : .5rem 0 }
38
51
q : after , q : before {content : "" }
39
52
q {white-space : pre-wrap}
40
- section {flex : 10 }
41
53
small a {color : inherit;text-decoration : inherit}
42
54
small a : hover {opacity : .75 }
43
- table {line-height : 1.3 ;border-collapse : collapse}
55
+ table {line-height : 1.3 ;border-collapse : collapse; max-width : 80 % }
44
56
tr > * {padding-bottom : .5rem ;padding-top : .5rem }
45
57
td , th {vertical-align : top}
46
58
td label {font-size : .9em }
47
59
th date {white-space : pre;font-weight : 400 ;color : # 8e8e8e }
48
- th {border-right : 1px dotted # 222 }
49
- th [data-level = "1" ]{text-align : right; border : 0 ;font-size : 1.4em ;white-space : pre;transition : all .6s linear;max-width : min-content}
60
+ th {border-right : 1px dotted var ( --body-color ) }
61
+ th [data-level = "1" ]{border : 0 ;/*! font-size:1.4em; */ white-space : pre;transition : all .6s linear;max-width : min-content; text-align : right }
50
62
th [data-level = "2" ]{text-align : right}
51
63
td [colspan ]{padding-left : 11% }
64
+ td [colspan ] h2 {padding-top : 1.5rem }
52
65
tr {line-height : 1.2 }
53
- .right {text-align : right}
54
- mark {background : 0 0 ;color : inherit}
55
- mark strong {color : # fff ;background : # 222 ;padding : 0 2px }
56
- mark strong {font-size : .9rem }
57
- [colspan ] h2 {padding-top : 1.5rem }
58
- .bookmark .meta {font-size : .9rem ;color : # d63864 ;text-transform : uppercase;font-variant : proportional-nums}
59
- .bookmark a {text-decoration : none}
60
- .bookmark {padding : 0 .5rem }
66
+ tr .padded : nth-child (1 ){padding-right : .75rem }
67
+ tr .padded : nth-child (2 ){padding-left : .75rem }
61
68
.bold {font-weight : 700 }
62
- .normal {font-weight : 400 }
63
- .small {font-size : .8rem }
69
+ .small {font-size : var (--small , .9rem )}
64
70
.col {flex-direction : column}
65
- .content {flex : 3 }
66
- .content a : hover {text-decoration : underline}
67
- .content a {text-decoration : none}
68
- .content h2 {line-height : 1 }
69
- .content li > a : hover {color : # 222 }
70
- .content li > a {transition : all 0s ;color : # aaa ;font-family : sans-serif;text-transform : uppercase;font-variant : proportional-nums}
71
- .content p time {font-weight : 700 }
72
- .content span {white-space : pre-wrap}
73
- .content ul {gap : 1rem }
74
71
.flex {display : flex}
75
- .fw-500 {font-weight : 400 !important }
72
+ .darker {color : hsl (var (--h ), 50% , 40% )}
73
+ .bg {background : var (--bg-color ), var (--bg-opacity )}
74
+ .bgh : hover {background : rgba (var (--underline-rgb ), .45 )}
75
+ .bull > : after {content : var (--bull-symbol );margin : 0 var (--bull-margin )}
76
+ .bull > : last-child : after {content : "" }
77
+ .fw4 , .normal {font-weight : 400 !important }
78
+ .fw5 {font-weight : 500 !important }
79
+ .u0 {text-decoration : none!important }
76
80
.header a {color : inherit;text-decoration : none;text-transform : capitalize}
77
81
.header > * {margin : 0 0 ;padding : 0 0 }
78
82
.gap {gap : var (--gap , .25rem )}
83
+ .lh-1 {line-height : 1.1 }
84
+ .lh-2 {line-height : 1.2 }
85
+ .lh-3 {line-height : 1.3 }
79
86
.list > li {padding : 0 0 }
80
87
.mark q {background : # fff0b1 ;line-height : 1.4 }
81
- .meta a : hover {text-decoration : none;color : # 222 }
82
- .meta a {color : inherit;font-weight : 700 }
83
- .meta {margin-top : .25rem }
84
- .muted {color : # aaa }
85
- .padded {padding-left : .75rem ;padding-right : .75rem }
88
+ .meta {display : block;font-size : .9em ;text-transform : uppercase;color : hsl (var (--h ), var (--s ), 20% )}
89
+ .meta a {text-decoration : none;font-weight : 700 ;color : inherit}
90
+ .meta a : hover {color : var (--body-color )}
91
+ .muted {color : var (--gray )}
92
+ .postlist {flex : 1 ;min-width : 25vw ;position : relative}
93
+ .postlist h4 a {font-family : sans-serif;font-size : .9em }
94
+ .postlist ul a {text-decoration-color : # ccc ;font-weight : 400 ;text-decoration-thickness : 2px }
95
+ .postlist ul a : hover {text-decoration-color : currentColor}
96
+ .postlist strong {font-weight : 700 ;display : block;line-height : 1.1 }
97
+ .postlist u {color : var (--body-color );text-decoration-color : var (--accent-color );text-decoration-skip-ink : all;font-weight : 500 }
98
+ .postlist ul {display : inline-flex;gap : .4rem ;position : relative;position : sticky;top : 0 ;line-height : 1.3 }
99
+ .chapters {display : flex;flex-direction : column;gap : 4rem ;margin : 2.5rem 0 ;margin-bottom : 1rem }
100
+ .chapters ul {position : relative;margin : 0 0 }
101
+ .chapters ul [data-label ]: before {/*! text-transform:uppercase; */ font-size : 1.3rem ;content : attr (data-label);margin : 0 0 ;padding : 0 0 ;position : absolute;left : 0 ;margin-top : -2.5rem ;font-family : times;font-weight : 700 }
86
102
.chapters {flex : 1 }
87
- .toc { max-height : min ( 300 px , 40 vh ); position : sticky; top : 0 ; list-style : none; padding : 0 0 ; margin : 0 0 ; z-index : 1 ; width : 20 px ; max-width : 20 px }
88
- .toc div { padding : 0 0 ;font-size : .9 em ; position : relative }
89
- .toc a : hover : before { content : attr (title );position : absolute; right : 20 px ; background : # 222 ; padding : 4 px 4 px ; color : # fff ; z-index : 1 ;font-size : .9 em }
90
- .toc a {color : # 222 ; white-space : pre; text-align : center ;padding : 0 4px ;line-height : 1 }
91
- .toc a : hover {text-decoration : none;font-weight : 700 }
92
- .toc a : before {font-weight : 500 }
93
- .site-title a {text-decoration-color : rgba ( 0 , 0 , 0 , .1 ); text- underline-offset: 2px ;text-decoration-thickness : 1.75 px ;font-family : times;font-weight : 700 ;font-size : .9em ;text-decoration-skip-ink : all}
103
+ .right { text-align : right }
104
+ .subtitle { font-family : var ( --sans-serif ) ;font-weight : 400 }
105
+ .toc { max-height : min ( 300 px , 40 vh );position : sticky; top : 0 ; font-size : .9 rem ; z-index : 1 ;width : 20 px ; max-width : 20 px }
106
+ .toc a {display : block; text-decoration : none; color : var ( --body-color ); font-weight : 400 ; white-space : pre ;padding : 0 4px ;line-height : 1 }
107
+ .toc a : hover {text-decoration : none;color : var ( --accent-color ) }
108
+ .toc a : hover : before {content : attr (title); position : absolute; right : 1.5 rem ; background : var ( --accent-color ); padding : 2 px 4 px ; color : var ( --body-color ); z-index : 1 ; font-size : .8 rem }
109
+ .site-title a {text-underline-offset : 2px ;text-decoration-thickness : 3 px ;font-family : times;font-weight : 700 ;font-size : .9em ;text-decoration-skip-ink : all; text-decoration-color : currentColor }
94
110
[id ]> a : hover : after {content : "#" ;color : # aaa }
111
+ @media (max-width : 600px ){
112
+ .container {flex-direction : column}
113
+ .sm-col {flex-direction : column}
114
+ }
95
115
@media (max-width : 750px ){
96
- aside .container {min-height : 20vh }
97
- main > .flex {display : flex;flex-direction : column-reverse}
116
+ .md-colr , main > .flex {display : flex;flex-direction : column-reverse}
98
117
: root {--px-size : 1rem }
99
- aside ul {margin : 1rem .5rem }
118
+ . postlist ul {margin : 1rem .5rem }
100
119
ol {padding : 0 2.5rem }
101
120
ol li {list-style : unset;padding-left : unset}
121
+ }
122
+ @media (min-width : 600px ){
123
+ .show-md {display : unset!important }
102
124
}
0 commit comments