Fossil SCM
Reduced the font size adjustment for monospace fonts from +10% to +5% after testing on mobile, and made it apply to the same list of monospace font classes defined in src/default.css.
Commit
e220683ae06753e53c9ff8217e475dc266b9665f78433648c7fe02eefac664ad
Parent
6ad8bc587fa2429…
1 file changed
+10
-1
+10
-1
| --- skins/default/css.txt | ||
| +++ skins/default/css.txt | ||
| @@ -219,12 +219,21 @@ | ||
| 219 | 219 | line-height: 1.4em; |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | .content pre { |
| 223 | 223 | hyphens: none; |
| 224 | - font-size: 110%; | |
| 225 | 224 | line-height: 1.25; |
| 225 | +} | |
| 226 | +code, pre, tt, /* long list of classes from src/default.css */ | |
| 227 | + div.markdown ol.footnotes > li.fn-joined > sup.fn-joined, | |
| 228 | + table.numbered-lines > tbody > tr, | |
| 229 | + tr.diffskip > td.chunkctrl, | |
| 230 | + #fossil-status-bar, | |
| 231 | + .monospace { | |
| 232 | + /* Monospace fonts tend to have smaller x-heights than proportional text | |
| 233 | + * fonts at the same point size. Bring them up a bit to compensate. */ | |
| 234 | + font-size: 105%; | |
| 226 | 235 | } |
| 227 | 236 | |
| 228 | 237 | .content .pikchr-wrapper { |
| 229 | 238 | /* Pikchr was developed with the assumption that it would be |
| 230 | 239 | * integrated into a Fossil repo using the old 0.9em body font |
| 231 | 240 |
| --- skins/default/css.txt | |
| +++ skins/default/css.txt | |
| @@ -219,12 +219,21 @@ | |
| 219 | line-height: 1.4em; |
| 220 | } |
| 221 | |
| 222 | .content pre { |
| 223 | hyphens: none; |
| 224 | font-size: 110%; |
| 225 | line-height: 1.25; |
| 226 | } |
| 227 | |
| 228 | .content .pikchr-wrapper { |
| 229 | /* Pikchr was developed with the assumption that it would be |
| 230 | * integrated into a Fossil repo using the old 0.9em body font |
| 231 |
| --- skins/default/css.txt | |
| +++ skins/default/css.txt | |
| @@ -219,12 +219,21 @@ | |
| 219 | line-height: 1.4em; |
| 220 | } |
| 221 | |
| 222 | .content pre { |
| 223 | hyphens: none; |
| 224 | line-height: 1.25; |
| 225 | } |
| 226 | code, pre, tt, /* long list of classes from src/default.css */ |
| 227 | div.markdown ol.footnotes > li.fn-joined > sup.fn-joined, |
| 228 | table.numbered-lines > tbody > tr, |
| 229 | tr.diffskip > td.chunkctrl, |
| 230 | #fossil-status-bar, |
| 231 | .monospace { |
| 232 | /* Monospace fonts tend to have smaller x-heights than proportional text |
| 233 | * fonts at the same point size. Bring them up a bit to compensate. */ |
| 234 | font-size: 105%; |
| 235 | } |
| 236 | |
| 237 | .content .pikchr-wrapper { |
| 238 | /* Pikchr was developed with the assumption that it would be |
| 239 | * integrated into a Fossil repo using the old 0.9em body font |
| 240 |