Mercurial > p > roundup > code
comparison doc/_static/style.css @ 7366:113debfd383b
revert attempt to make pre full bleed.
Turns out li, dd etc. are not limited to 65ch. So revert to make main
column 65ch.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 16 May 2023 20:04:09 -0400 |
| parents | 8811f1934a79 |
| children | 5e9b0ff1c695 |
comparison
equal
deleted
inserted
replaced
| 7365:8811f1934a79 | 7366:113debfd383b |
|---|---|
| 108 body > .header > #searchbox { position: absolute; right: 1em; top: 1em;} | 108 body > .header > #searchbox { position: absolute; right: 1em; top: 1em;} |
| 109 body > .content > #subnav { position: absolute; right: 1.5em; top: 6em;} | 109 body > .content > #subnav { position: absolute; right: 1.5em; top: 6em;} |
| 110 | 110 |
| 111 main { | 111 main { |
| 112 line-height: calc(1.5 * 1em); | 112 line-height: calc(1.5 * 1em); |
| 113 } | 113 max-width: 65ch; |
| 114 | 114 } |
| 115 /* limit width of items in main column to 65 characters. On | |
| 116 wider screens can be 100+ chars: too wide */ | |
| 117 main p, main:is(H1, H2, H3, H4, H5, H6) {max-width: 65ch;} | |
| 118 main table { width: 65ch; } | |
| 119 | 115 |
| 120 /* style */ | 116 /* style */ |
| 121 | 117 |
| 122 :link { color: rgb(220,0,0); text-decoration: none;} | 118 :link { color: rgb(220,0,0); text-decoration: none;} |
| 123 :link:hover {text-decoration: underline;} | 119 :link:hover {text-decoration: underline;} |
