Fossil SCM

Assorted small tweaks to the new skin, catching small over-reaches and such found by opening many of the Fossil docs under it and seeing what happens to the existing formatting.

wyoung 2024-01-26 17:25 inskinerator-modern-backport
Commit 538ddbffbe25b6763033235576f7de7a5d71740fb2a8f7916af9405215bf92f3
1 file changed +13 -14
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -189,18 +189,21 @@
189189
.doc > .content blockquote {
190190
/* Apply extra indent relative to "p" for backwards compatibility,
191191
* especially the Fossil wiki generator, which misuses this tag
192192
* against HTML and MD norms to mean "indented paragraph."
193193
*/
194
- margin-left: 60pt;
194
+ margin-left: 80pt;
195195
}
196196
.markdown blockquote {
197197
/* Style it as a proper blockquote for MD only. Unlike the indent
198198
* rule, this applies everywhere, including the forum, tickets… */
199199
background-color: rgba(65, 131, 196, 0.1);
200200
border-left: 3px solid #4183c4;
201201
padding: 0.1em 1em;
202
+}
203
+.doc > .content > .markdown > blockquote {
204
+ margin-left: 60pt;
202205
}
203206
204207
.doc > .content dt {
205208
margin-left: 10pt;
206209
}
@@ -214,14 +217,14 @@
214217
215218
.doc > .content hr {
216219
margin-left: 10pt;
217220
}
218221
219
-.content dd, .content dt,
220
-.content li,
221
-.content p,
222
-.content table
222
+.doc > .content dd, .content dt,
223
+.doc > .content li,
224
+.doc > .content p,
225
+.doc > .content table
223226
{
224227
line-height: 1.4em;
225228
}
226229
227230
.doc > .content h1 { margin-left: 10pt; }
@@ -266,34 +269,30 @@
266269
267270
.content ul li {
268271
list-style-type: disc;
269272
}
270273
271
-.content table {
274
+.doc > .content table {
272275
background-color: #f0f5f9;
273276
border: 1px solid #a7c2dc;
274277
border-radius: 0.5em;
275278
border-spacing: 0;
276279
padding: 6px;
277280
}
278
-
279
-.content th {
281
+.doc > .content th {
280282
border-bottom: 1px solid #dee8f2;
281283
padding-bottom: 4px;
282284
padding-right: 6px;
283285
text-align: left;
284286
}
285
-
286
-.content tr > th {
287
+.doc > .content tr > th {
287288
background-color: #dee8f0;
288289
}
289
-
290
-.content tr:nth-child(odd) {
290
+.doc > .content tr:nth-child(odd) {
291291
background-color: #e0e8ee;
292292
}
293
-
294
-.content td {
293
+.doc > .content td {
295294
padding-bottom: 4px;
296295
padding-right: 6px;
297296
text-align: left;
298297
}
299298
300299
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -189,18 +189,21 @@
189 .doc > .content blockquote {
190 /* Apply extra indent relative to "p" for backwards compatibility,
191 * especially the Fossil wiki generator, which misuses this tag
192 * against HTML and MD norms to mean "indented paragraph."
193 */
194 margin-left: 60pt;
195 }
196 .markdown blockquote {
197 /* Style it as a proper blockquote for MD only. Unlike the indent
198 * rule, this applies everywhere, including the forum, tickets… */
199 background-color: rgba(65, 131, 196, 0.1);
200 border-left: 3px solid #4183c4;
201 padding: 0.1em 1em;
 
 
 
202 }
203
204 .doc > .content dt {
205 margin-left: 10pt;
206 }
@@ -214,14 +217,14 @@
214
215 .doc > .content hr {
216 margin-left: 10pt;
217 }
218
219 .content dd, .content dt,
220 .content li,
221 .content p,
222 .content table
223 {
224 line-height: 1.4em;
225 }
226
227 .doc > .content h1 { margin-left: 10pt; }
@@ -266,34 +269,30 @@
266
267 .content ul li {
268 list-style-type: disc;
269 }
270
271 .content table {
272 background-color: #f0f5f9;
273 border: 1px solid #a7c2dc;
274 border-radius: 0.5em;
275 border-spacing: 0;
276 padding: 6px;
277 }
278
279 .content th {
280 border-bottom: 1px solid #dee8f2;
281 padding-bottom: 4px;
282 padding-right: 6px;
283 text-align: left;
284 }
285
286 .content tr > th {
287 background-color: #dee8f0;
288 }
289
290 .content tr:nth-child(odd) {
291 background-color: #e0e8ee;
292 }
293
294 .content td {
295 padding-bottom: 4px;
296 padding-right: 6px;
297 text-align: left;
298 }
299
300
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -189,18 +189,21 @@
189 .doc > .content blockquote {
190 /* Apply extra indent relative to "p" for backwards compatibility,
191 * especially the Fossil wiki generator, which misuses this tag
192 * against HTML and MD norms to mean "indented paragraph."
193 */
194 margin-left: 80pt;
195 }
196 .markdown blockquote {
197 /* Style it as a proper blockquote for MD only. Unlike the indent
198 * rule, this applies everywhere, including the forum, tickets… */
199 background-color: rgba(65, 131, 196, 0.1);
200 border-left: 3px solid #4183c4;
201 padding: 0.1em 1em;
202 }
203 .doc > .content > .markdown > blockquote {
204 margin-left: 60pt;
205 }
206
207 .doc > .content dt {
208 margin-left: 10pt;
209 }
@@ -214,14 +217,14 @@
217
218 .doc > .content hr {
219 margin-left: 10pt;
220 }
221
222 .doc > .content dd, .content dt,
223 .doc > .content li,
224 .doc > .content p,
225 .doc > .content table
226 {
227 line-height: 1.4em;
228 }
229
230 .doc > .content h1 { margin-left: 10pt; }
@@ -266,34 +269,30 @@
269
270 .content ul li {
271 list-style-type: disc;
272 }
273
274 .doc > .content table {
275 background-color: #f0f5f9;
276 border: 1px solid #a7c2dc;
277 border-radius: 0.5em;
278 border-spacing: 0;
279 padding: 6px;
280 }
281 .doc > .content th {
 
282 border-bottom: 1px solid #dee8f2;
283 padding-bottom: 4px;
284 padding-right: 6px;
285 text-align: left;
286 }
287 .doc > .content tr > th {
 
288 background-color: #dee8f0;
289 }
290 .doc > .content tr:nth-child(odd) {
 
291 background-color: #e0e8ee;
292 }
293 .doc > .content td {
 
294 padding-bottom: 4px;
295 padding-right: 6px;
296 text-align: left;
297 }
298
299

Keyboard Shortcuts

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