Fossil SCM

Add missing CSS for verbatim blocks in tickets to avoid wrapping and set a default white background.

andybradford 2013-12-07 21:47 trunk
Commit 984735a752f04810623e34f6c02cdbafd9aa38c8
1 file changed +7
--- src/skins.c
+++ src/skins.c
@@ -117,10 +117,17 @@
117117
@ }
118118
@ /* Hyperlink colors */
119119
@ div.content a { color: #604000; }
120120
@ div.content a:link { color: #604000;}
121121
@ div.content a:visited { color: #600000; }
122
+@
123
+@ /* <verbatim> blocks */
124
+@ pre.verbatim {
125
+@ background-color: #ffffff;
126
+@ padding: 0.5em;
127
+@ white-space: pre-wrap;
128
+@ }
122129
@
123130
@ /* Some pages have section dividers */
124131
@ div.section {
125132
@ margin-bottom: 0px;
126133
@ margin-top: 1em;
127134
--- src/skins.c
+++ src/skins.c
@@ -117,10 +117,17 @@
117 @ }
118 @ /* Hyperlink colors */
119 @ div.content a { color: #604000; }
120 @ div.content a:link { color: #604000;}
121 @ div.content a:visited { color: #600000; }
 
 
 
 
 
 
 
122 @
123 @ /* Some pages have section dividers */
124 @ div.section {
125 @ margin-bottom: 0px;
126 @ margin-top: 1em;
127
--- src/skins.c
+++ src/skins.c
@@ -117,10 +117,17 @@
117 @ }
118 @ /* Hyperlink colors */
119 @ div.content a { color: #604000; }
120 @ div.content a:link { color: #604000;}
121 @ div.content a:visited { color: #600000; }
122 @
123 @ /* <verbatim> blocks */
124 @ pre.verbatim {
125 @ background-color: #ffffff;
126 @ padding: 0.5em;
127 @ white-space: pre-wrap;
128 @ }
129 @
130 @ /* Some pages have section dividers */
131 @ div.section {
132 @ margin-bottom: 0px;
133 @ margin-top: 1em;
134

Keyboard Shortcuts

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