File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
font-family : "EB Garamond" , serif;
5
5
font-size-adjust : ex-height 0.53 ;
6
6
-webkit-text-size-adjust : 100% ;
7
- --line-height : 1.5 rem ;
7
+ --line-height : 1.7 rem ;
8
8
line-height : var (--line-height );
9
9
}
10
10
@@ -148,14 +148,14 @@ ol.callout > li::before, i.callout::after {
148
148
.two-col > * : first-child { flex : 30% ; }
149
149
.two-col > * : last-child { flex : 30% ; }
150
150
151
- hr { border : none; height : 0 ; overflow : visible; color : black; height : 1 rem ; }
151
+ hr { border : none; height : 0 ; overflow : visible; color : black; height : var ( --line-height ) ; }
152
152
hr ::after { content : '❧' ; display : block; text-align : center; }
153
153
154
154
/* Inline */
155
155
156
156
p > code { white-space : nowrap; } /* Sadly, overflow-wrap: anywhere doesn't compose with this */
157
157
p > code { line-height : 0px ; } /* https://iamvdo.me/en/blog/css-font-metrics-line-height-and-vertical-align */
158
- .display { display : block; margin : 1 em 0 ; text-align : center; overflow-x : auto; overflow-y : clip ; }
158
+ .display { display : block; margin : calc ( var ( --line-height ) / 2 ) 0 ; text-align : center; overflow-x : auto; }
159
159
160
160
a { text-decoration-color : # 2156a5 ; text-decoration-thickness : 7% ; color : black; }
161
161
a : hover , a : focus { color : # 2156a5 ; fill : # 2156a5 ; }
You can’t perform that action at this time.
0 commit comments