42
42
/* embolden the "Racket Guide" and "Racket Reference" links on the TOC */
43
43
/* there isn't an obvious tag in the markup that designates the top TOC page, which is called "start.scrbl" */
44
44
/* nor a tag that designates these two links as special */
45
- /* so we'll use this slightly tortured sibling selector that hooks onto the h2 tag */
46
- h2 [x-source-module = '(lib "scribblings/main/start.scrbl")' ] ~ table a [href = "guide/index.html" ],
47
- h2 [x-source-module = '(lib "scribblings/main/start.scrbl")' ] ~ table a [href = "reference/index.html" ] {
45
+ /* so we'll use this slightly tortured sibling selector that hooks onto the h1 tag */
46
+ h1 [x-source-module = '(lib "scribblings/main/start.scrbl")' ] ~ table a [href = "guide/index.html" ],
47
+ h1 [x-source-module = '(lib "scribblings/main/start.scrbl")' ] ~ table a [href = "reference/index.html" ] {
48
48
font-weight : bold;
49
49
}
50
50
51
51
52
- h2 .stt {
52
+ h1 .stt {
53
53
font-size : 2.3rem ;
54
- /* prevent automatic bolding from h2 */
54
+ /* prevent automatic bolding from h1 */
55
55
font-weight : 400 ;
56
56
}
57
57
@@ -68,7 +68,7 @@ h2 .stt {
68
68
font-size : 0.9rem ;
69
69
}
70
70
71
- h3 .stt , h4 .stt , h5 .stt {
71
+ h2 . stt , h3 .stt , h4 .stt , h5 .stt {
72
72
color : # 333 ;
73
73
font-size : 1.65rem ;
74
74
font-weight : 400 ;
@@ -128,13 +128,13 @@ h1, h2, h3, h4, h5, h6, h7, h8 {
128
128
129
129
}
130
130
131
- h3 , h4 , h5 , h6 , h7 , h8 {
131
+ h2 , h3 , h4 , h5 , h6 , h7 , h8 {
132
132
border-top : 1px solid black;
133
133
}
134
134
135
135
136
136
137
- h2 { /* per-page main title */
137
+ h1 { /* per-page main title */
138
138
font-family : 'Cooper-Hewitt' ;
139
139
margin-top : 4rem ;
140
140
font-size : 2.3rem ;
@@ -146,7 +146,7 @@ h2 { /* per-page main title */
146
146
top : 6px ;
147
147
}
148
148
149
- h3 , h4 , h5 , h6 , h7 , h8 {
149
+ h2 , h3 , h4 , h5 , h6 , h7 , h8 {
150
150
margin-top : 2em ;
151
151
padding-top : 0.1em ;
152
152
margin-bottom : 0.75em ;
0 commit comments