@@ -15,16 +15,25 @@ body {
15
15
margin-right : auto;
16
16
}
17
17
18
- header { margin-bottom : 2rem ; }
19
- header > nav { display : flex; column-gap : 2ch ; align-items : baseline; flex-wrap : wrap; }
20
- header a { font-style : normal; color : rgba (0 , 0 , 0 , .8 ); text-decoration : none; }
21
- header a : hover { color : rgba (0 , 0 , 0 , .8 ); text-decoration : underline; }
22
- header .title { font-size : 1.2em ; flex-grow : 2 ; }
18
+ header { /* Site Header */
19
+ margin-bottom : 2rem ;
20
+ & nav { display : flex; column-gap : 2ch ; align-items : baseline; flex-wrap : wrap; }
21
+ & a { font-style : normal; color : rgba (0 , 0 , 0 , .8 ); text-decoration : none; }
22
+ & a : hover { color : rgba (0 , 0 , 0 , .8 ); text-decoration : underline; }
23
+ & .title { font-size : 1.2em ; flex-grow : 2 ; }
24
+ }
25
+
26
+ header : has (> h1 ) { /* Article Header */
27
+ margin-bottom : 0.75rem ;
28
+ & h1 { margin-bottom : 0 ; line-height : 1.2 }
29
+ }
23
30
24
- footer { margin-top : 2rem ; }
25
- footer > p { display : flex; column-gap : 2ch ; justify-content : center; flex-wrap : wrap; }
26
- footer a { color : rgba (0 , 0 , 0 , .8 ); text-decoration : none; white-space : nowrap; }
27
- footer i { vertical-align : middle; color : rgba (0 , 0 , 0 , .8 ) }
31
+ footer {
32
+ margin-top : 2rem ;
33
+ & p { display : flex; column-gap : 2ch ; justify-content : center; flex-wrap : wrap; }
34
+ & a { color : rgba (0 , 0 , 0 , .8 ); text-decoration : none; white-space : nowrap; }
35
+ & i { vertical-align : middle; color : rgba (0 , 0 , 0 , .8 ) }
36
+ }
28
37
29
38
article > * , article > section > * , figure .blockquote { max-width : 55ch ; }
30
39
article > section , article > figure , article > section > figure { max-width : 80ch ; }
@@ -166,7 +175,7 @@ kbd > kbd {
166
175
167
176
dfn , .small-caps { font-style : normal; font-variant : small-caps; }
168
177
169
- .meta { display : block; display : block; color : # 828282 ; font-family : "Open Sans" , sans-serif; font-size : 1.5rem ;}
178
+ .meta { display : block; color : # 828282 ; font-family : "Open Sans" , sans-serif; font-size : 1.5rem ;}
170
179
171
180
.menu { font-weight : bold; }
172
181
0 commit comments