Fossil Forum

gahr 4 weeks, 1 day ago

Post: [patch] enhance tktview CSS for plain_gray

I like the plain_gray skin very much, but the ticket page has issues:

  1. the background of comments depends on the style (plain vs. markdown)
  2. there is no separation between comments, especially when the comment has the same background as the attribution line

I suggest the following change to the CSS, or something in the same direction.

Index: skins/plain_gray/css.txt
==================================================================
--- skins/plain_gray/css.txt        
+++ skins/plain_gray/css.txt        
@@ -146,5 +146,13 @@
 table.label-value th {
   vertical-align: top;
   text-align: right;
   padding: 0.2ex 2ex;
 }
+
+
+.tktCommentEntry {
+  border-style: solid;
+  border-width: 1px;
+  background-color: white;
+  padding: 10px;
+}

This is without the patch. See how the grey and white background confuse the view and how the two comments at the bottom are not divided in any way.

This is with the patch.

stephan 4 weeks, 1 day ago

I suggest the following change to the CSS

Done! Thank you for contributing!

gahr 4 weeks, 1 day ago

Wow that was fast. Thank you!

Keyboard Shortcuts

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