Mercurial > p > roundup > code
comparison doc/_static/style.css @ 7497:dcf37ca1a47d
Reduce line height for headers; change link decorations
thicken underlines and place below test so it doesn't intersect decenders.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 17 Jun 2023 22:11:19 -0400 |
| parents | 6dca1626f652 |
| children | 055f47b41b8b |
comparison
equal
deleted
inserted
replaced
| 7496:ec738682874d | 7497:dcf37ca1a47d |
|---|---|
| 56 div.toctree-wrapper * + *, div.contents * + *, div.release_info * { | 56 div.toctree-wrapper * + *, div.contents * + *, div.release_info * { |
| 57 margin-block-start: 0.25em; | 57 margin-block-start: 0.25em; |
| 58 } | 58 } |
| 59 | 59 |
| 60 h1, h2, h3, h4, h5, h6 { | 60 h1, h2, h3, h4, h5, h6 { |
| 61 line-height: 1.25; | 61 line-height: 1.1; |
| 62 /* Larger spacing before header and smaller after to make | 62 /* Larger spacing before header and smaller after to make |
| 63 header part of following section */ | 63 header part of following section */ |
| 64 margin-block-end: 0.3em; | 64 margin-block-end: 0.3em; |
| 65 } | 65 } |
| 66 | 66 |
| 175 */ | 175 */ |
| 176 | 176 |
| 177 /* style */ | 177 /* style */ |
| 178 | 178 |
| 179 :link { color: rgb(220,0,0); text-decoration: none;} | 179 :link { color: rgb(220,0,0); text-decoration: none;} |
| 180 :link:hover {text-decoration: underline;} | 180 :link:hover { |
| 181 text-decoration: underline; | |
| 182 text-underline-position: under; | |
| 183 text-decoration-thickness: .3ex; | |
| 184 } | |
| 181 :visited { color: rgb(187,0,0); text-decoration: none;} | 185 :visited { color: rgb(187,0,0); text-decoration: none;} |
| 182 a.toc-backref { color: #000000; } | 186 a.toc-backref { color: #000000; } |
| 183 | 187 |
| 184 .header h1 { margin-left: 1em; } | 188 .header h1 { margin-left: 1em; } |
| 185 | 189 |
