Fossil SCM

Abandoned the +5% size bump for monospace fonts entirely. Its correctness is far too contingent on the font selected and the browser's quirks.

wyoung 2024-02-09 02:13 inskinerator-modern-backport
Commit 9f3e59cffc2dd1fec5a529ca330dcbe98ad42d0e117270f5160f574312bf5e40
1 file changed -10
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -221,20 +221,10 @@
221221
222222
.content pre {
223223
hyphens: none;
224224
line-height: 1.25;
225225
}
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
-}
236226
237227
.content .pikchr-wrapper {
238228
/* Pikchr was developed with the assumption that it would be
239229
* integrated into a Fossil repo using the old 0.9em body font
240230
* size, which no longer obtians. This gives us a choice:
241231
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -221,20 +221,10 @@
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 * size, which no longer obtians. This gives us a choice:
241
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -221,20 +221,10 @@
221
222 .content pre {
223 hyphens: none;
224 line-height: 1.25;
225 }
 
 
 
 
 
 
 
 
 
 
226
227 .content .pikchr-wrapper {
228 /* Pikchr was developed with the assumption that it would be
229 * integrated into a Fossil repo using the old 0.9em body font
230 * size, which no longer obtians. This gives us a choice:
231

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button