Fossil SCM
Add a bit of padding around "verbatim" blocks in wiki markup so they don't need explicit whitespace in the source doc. Also, allow the text in such blocks to wrap if need be, to avoid scrolling wide texts on narrow screens.
Commit
edc57800c717a0a995f5257c21c3d775cd9e975d6ab630b244d729a6418110c3
Parent
b7fb568f375ee43…
1 file changed
+6
| --- skins/default/css.txt | ||
| +++ skins/default/css.txt | ||
| @@ -143,10 +143,16 @@ | ||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | hr { |
| 146 | 146 | color: #eee; |
| 147 | 147 | } |
| 148 | + | |
| 149 | +/* Wiki <verbatim> text block adjustments */ | |
| 150 | +pre.verbatim { | |
| 151 | + padding: 0.5em; | |
| 152 | + white-space: pre-wrap; | |
| 153 | +} | |
| 148 | 154 | |
| 149 | 155 | |
| 150 | 156 | /* Page footer */ |
| 151 | 157 | |
| 152 | 158 | .footer { |
| 153 | 159 |
| --- skins/default/css.txt | |
| +++ skins/default/css.txt | |
| @@ -143,10 +143,16 @@ | |
| 143 | } |
| 144 | |
| 145 | hr { |
| 146 | color: #eee; |
| 147 | } |
| 148 | |
| 149 | |
| 150 | /* Page footer */ |
| 151 | |
| 152 | .footer { |
| 153 |
| --- skins/default/css.txt | |
| +++ skins/default/css.txt | |
| @@ -143,10 +143,16 @@ | |
| 143 | } |
| 144 | |
| 145 | hr { |
| 146 | color: #eee; |
| 147 | } |
| 148 | |
| 149 | /* Wiki <verbatim> text block adjustments */ |
| 150 | pre.verbatim { |
| 151 | padding: 0.5em; |
| 152 | white-space: pre-wrap; |
| 153 | } |
| 154 | |
| 155 | |
| 156 | /* Page footer */ |
| 157 | |
| 158 | .footer { |
| 159 |