901b9b5aea60f4a4505a4280b5549f15fe2cb1f6
custom.css
| ... | ... | @@ -240,3 +240,18 @@ pre { background: var(--code-bg) !important; padding: 1rem 1.2rem !important; bo |
| 240 | 240 | |
| 241 | 241 | /* If the surrounding nav compresses, keep the icon from shrinking */ |
| 242 | 242 | nav.actions #minibutton-home { flex: 0 0 auto; } |
| 243 | + |
|
| 244 | +/* Small icon that sits to the left of the first H1 */ |
|
| 245 | +.markdown-body > img.title-icon:first-child { |
|
| 246 | + float: left; |
|
| 247 | + width: 45px; |
|
| 248 | + height: 45px; |
|
| 249 | + margin: 6px 10px 0 0; /* top, right, bottom, left */ |
|
| 250 | + border-radius: 5px; |
|
| 251 | +} |
|
| 252 | + |
|
| 253 | +/* Ensure the first heading clears the icon’s height nicely */ |
|
| 254 | +.markdown-body h1:first-of-type { |
|
| 255 | + min-height: 45px; |
|
| 256 | + line-height: 1.25; |
|
| 257 | +} |