Fossil SCM

It is possible to trick the wiki to HTML renderer into leaving the first paragraph unwrapped by "p" tags, as with the checkin_names.wiki doc, in which case you get no first-line padding. The trunk version of the skin works around this by putting 10px of padding in at the top, which we dialed back out in Inskinerator Modern since the MD renderer does not do this. Put it back, but as 1ex around the whole doc, giving a smidge of breathing room in odd cases like this one without putting too much in for the other cases where the paragraph spacing suffices.

wyoung 2024-01-28 20:12 inskinerator-modern-backport
Commit 6185c648d1af140ce181357e8288b3d08f467278f0415e194acc767b0ee9dad1
1 file changed +1 -1
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -103,11 +103,11 @@
103103
104104
105105
/* Main document area; elements common to most pages. */
106106
107107
.content {
108
- padding: 0ex 1ex 1ex 1ex;
108
+ padding: 1ex;
109109
color: #444;
110110
}
111111
.content h1 { font-size: 1.80em; }
112112
.content h2 { font-size: 1.45em; }
113113
.content h3 { font-size: 1.15em; }
114114
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -103,11 +103,11 @@
103
104
105 /* Main document area; elements common to most pages. */
106
107 .content {
108 padding: 0ex 1ex 1ex 1ex;
109 color: #444;
110 }
111 .content h1 { font-size: 1.80em; }
112 .content h2 { font-size: 1.45em; }
113 .content h3 { font-size: 1.15em; }
114
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -103,11 +103,11 @@
103
104
105 /* Main document area; elements common to most pages. */
106
107 .content {
108 padding: 1ex;
109 color: #444;
110 }
111 .content h1 { font-size: 1.80em; }
112 .content h2 { font-size: 1.45em; }
113 .content h3 { font-size: 1.15em; }
114

Keyboard Shortcuts

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