Mercurial > p > roundup > code
comparison website/www/_static/style.css @ 7471:a4987f5ebee0
Add padding around code examples.
They were all squished against the edges of the box. This makes them
less squished and prevents overlap of bottom scroll bar with the bottom
row of text.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 08 Jun 2023 01:33:16 -0400 |
| parents | a2dfb82456af |
| children | 6dca1626f652 |
comparison
equal
deleted
inserted
replaced
| 7470:c22b4f0364eb | 7471:a4987f5ebee0 |
|---|---|
| 438 left center, right center; | 438 left center, right center; |
| 439 background-repeat: no-repeat; | 439 background-repeat: no-repeat; |
| 440 background-color: #f5f4d8; | 440 background-color: #f5f4d8; |
| 441 background-size: 20px 100%, 20px 100%, 16px 100%, 16px 100%; | 441 background-size: 20px 100%, 20px 100%, 16px 100%, 16px 100%; |
| 442 background-attachment: local, local, scroll, scroll; | 442 background-attachment: local, local, scroll, scroll; |
| 443 padding: 0.5em; | |
| 443 } | 444 } |
| 444 | 445 |
| 445 /* https://moderncss.dev/totally-custom-list-styles/ make a list | 446 /* https://moderncss.dev/totally-custom-list-styles/ make a list |
| 446 use multiple columns */ | 447 use multiple columns */ |
| 447 ul.multicol { | 448 ul.multicol { |
