Fossil SCM

The new zebra-striped table styling in the default skin was not targeting /wiki docs, only .wiki embedded docs, leaving them unstyled.

wyoung 2024-08-06 22:35 trunk
Commit 072a860909d297a4a709ab8b7f19e283fb03333f655d28a26a1c8ccdb378aac6
1 file changed +10 -5
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -366,38 +366,43 @@
366366
list-style-type: none;
367367
}
368368
369369
.artifact > .content table,
370370
.dir > .content table,
371
-.doc > .content table {
371
+.doc > .content table,
372
+.wiki > .content table {
372373
background-color: #f0f5f9;
373374
border: 1px solid #a7c2dc;
374375
border-radius: 0.5em;
375376
border-spacing: 0;
376377
padding: 6px;
377378
}
378379
.artifact > .content th,
379380
.dir > .content th,
380
-.doc > .content th {
381
+.doc > .content th,
382
+.wiki > .content th {
381383
border-bottom: 1px solid #dee8f2;
382384
padding-bottom: 4px;
383385
padding-right: 6px;
384386
text-align: left;
385387
}
386388
.artifact > .content tr > th,
387389
.dir > .content tr > th,
388
-.doc > .content tr > th {
390
+.doc > .content tr > th,
391
+.wiki > .content tr > th {
389392
background-color: #dee8f0;
390393
}
391394
.artifact > .content tr:nth-child(odd),
392395
.dir > .content tr:nth-child(odd),
393
-.doc > .content tr:nth-child(odd) {
396
+.doc > .content tr:nth-child(odd),
397
+.wiki > .content tr:nth-child(odd) {
394398
background-color: #e0e8ee;
395399
}
396400
.artifact > .content td,
397401
.dir > .content td,
398
-.doc > .content td {
402
+.doc > .content td,
403
+.wiki > .content td {
399404
padding-bottom: 4px;
400405
padding-right: 6px;
401406
text-align: left;
402407
}
403408
404409
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -366,38 +366,43 @@
366 list-style-type: none;
367 }
368
369 .artifact > .content table,
370 .dir > .content table,
371 .doc > .content table {
 
372 background-color: #f0f5f9;
373 border: 1px solid #a7c2dc;
374 border-radius: 0.5em;
375 border-spacing: 0;
376 padding: 6px;
377 }
378 .artifact > .content th,
379 .dir > .content th,
380 .doc > .content th {
 
381 border-bottom: 1px solid #dee8f2;
382 padding-bottom: 4px;
383 padding-right: 6px;
384 text-align: left;
385 }
386 .artifact > .content tr > th,
387 .dir > .content tr > th,
388 .doc > .content tr > th {
 
389 background-color: #dee8f0;
390 }
391 .artifact > .content tr:nth-child(odd),
392 .dir > .content tr:nth-child(odd),
393 .doc > .content tr:nth-child(odd) {
 
394 background-color: #e0e8ee;
395 }
396 .artifact > .content td,
397 .dir > .content td,
398 .doc > .content td {
 
399 padding-bottom: 4px;
400 padding-right: 6px;
401 text-align: left;
402 }
403
404
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -366,38 +366,43 @@
366 list-style-type: none;
367 }
368
369 .artifact > .content table,
370 .dir > .content table,
371 .doc > .content table,
372 .wiki > .content table {
373 background-color: #f0f5f9;
374 border: 1px solid #a7c2dc;
375 border-radius: 0.5em;
376 border-spacing: 0;
377 padding: 6px;
378 }
379 .artifact > .content th,
380 .dir > .content th,
381 .doc > .content th,
382 .wiki > .content th {
383 border-bottom: 1px solid #dee8f2;
384 padding-bottom: 4px;
385 padding-right: 6px;
386 text-align: left;
387 }
388 .artifact > .content tr > th,
389 .dir > .content tr > th,
390 .doc > .content tr > th,
391 .wiki > .content tr > th {
392 background-color: #dee8f0;
393 }
394 .artifact > .content tr:nth-child(odd),
395 .dir > .content tr:nth-child(odd),
396 .doc > .content tr:nth-child(odd),
397 .wiki > .content tr:nth-child(odd) {
398 background-color: #e0e8ee;
399 }
400 .artifact > .content td,
401 .dir > .content td,
402 .doc > .content td,
403 .wiki > .content td {
404 padding-bottom: 4px;
405 padding-right: 6px;
406 text-align: left;
407 }
408
409

Keyboard Shortcuts

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