4242/* embolden the "Racket Guide" and "Racket Reference" links on the TOC */
4343/* there isn't an obvious tag in the markup that designates the top TOC page, which is called "start.scrbl" */
4444/* 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" ] {
4848 font-weight : bold;
4949}
5050
5151
52- h2 .stt {
52+ h1 .stt {
5353 font-size : 2.3rem ;
54- /* prevent automatic bolding from h2 */
54+ /* prevent automatic bolding from h1 */
5555 font-weight : 400 ;
5656}
5757
@@ -68,7 +68,7 @@ h2 .stt {
6868 font-size : 0.9rem ;
6969}
7070
71- h3 .stt , h4 .stt , h5 .stt {
71+ h2 . stt , h3 .stt , h4 .stt , h5 .stt {
7272 color : # 333 ;
7373 font-size : 1.65rem ;
7474 font-weight : 400 ;
@@ -128,13 +128,13 @@ h1, h2, h3, h4, h5, h6, h7, h8 {
128128
129129}
130130
131- h3 , h4 , h5 , h6 , h7 , h8 {
131+ h2 , h3 , h4 , h5 , h6 , h7 , h8 {
132132 border-top : 1px solid black;
133133}
134134
135135
136136
137- h2 { /* per-page main title */
137+ h1 { /* per-page main title */
138138 font-family : 'Cooper-Hewitt' ;
139139 margin-top : 4rem ;
140140 font-size : 2.3rem ;
@@ -146,7 +146,7 @@ h2 { /* per-page main title */
146146 top : 6px ;
147147}
148148
149- h3 , h4 , h5 , h6 , h7 , h8 {
149+ h2 , h3 , h4 , h5 , h6 , h7 , h8 {
150150 margin-top : 2em ;
151151 padding-top : 0.1em ;
152152 margin-bottom : 0.75em ;
0 commit comments