Fossil SCM

Experimental styling of inline code and tt blocks in user content like everyone else (Stack Exchange, GitHub, Reddit, Discord…) do, with a light gray background and slight expansion of the box area, to offset it from the prose.

wyoung 2024-02-09 02:29 inskinerator-modern-backport
Commit 4772a9b2ccbb4c3ce667555f1f4bb64cb21f4859f9a5a46ea14916a1a99a978c
1 file changed +27
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -220,10 +220,37 @@
220220
}
221221
222222
.content pre {
223223
hyphens: none;
224224
line-height: 1.25;
225
+}
226
+.artifact > .content > p > code,
227
+.artifact > .content > p > tt,
228
+.artifact > .content > .fossil-doc > p > code,
229
+.artifact > .content > .fossil-doc > p > tt,
230
+.artifact > .content > .markdown > p > code,
231
+.artifact > .content > .markdown > p > tt,
232
+.dir > .content > p > code,
233
+.dir > .content > p > tt,
234
+.dir > .content > .fossil-doc > p > code,
235
+.dir > .content > .fossil-doc > p > tt,
236
+.dir > .content > .markdown > p > code,
237
+.dir > .content > .markdown > p > tt,
238
+.doc > .content > p > code,
239
+.doc > .content > p > tt,
240
+.doc > .content > .fossil-doc > p > code,
241
+.doc > .content > .fossil-doc > p > tt,
242
+.doc > .content > .markdown > p > code,
243
+.doc > .content > .markdown > p > tt,
244
+.wiki > .content > p > code,
245
+.wiki > .content > p > tt,
246
+.wiki > .content > .fossil-doc > p > code,
247
+.wiki > .content > .fossil-doc > p > tt,
248
+.wiki > .content > .markdown > p > code,
249
+.wiki > .content > .markdown > p > tt {
250
+ background-color: #eee;
251
+ padding: 0 4px;
225252
}
226253
227254
.content .pikchr-wrapper {
228255
/* Pikchr was developed with the assumption that it would be
229256
* integrated into a Fossil repo using the old 0.9em body font
230257
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -220,10 +220,37 @@
220 }
221
222 .content pre {
223 hyphens: none;
224 line-height: 1.25;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225 }
226
227 .content .pikchr-wrapper {
228 /* Pikchr was developed with the assumption that it would be
229 * integrated into a Fossil repo using the old 0.9em body font
230
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -220,10 +220,37 @@
220 }
221
222 .content pre {
223 hyphens: none;
224 line-height: 1.25;
225 }
226 .artifact > .content > p > code,
227 .artifact > .content > p > tt,
228 .artifact > .content > .fossil-doc > p > code,
229 .artifact > .content > .fossil-doc > p > tt,
230 .artifact > .content > .markdown > p > code,
231 .artifact > .content > .markdown > p > tt,
232 .dir > .content > p > code,
233 .dir > .content > p > tt,
234 .dir > .content > .fossil-doc > p > code,
235 .dir > .content > .fossil-doc > p > tt,
236 .dir > .content > .markdown > p > code,
237 .dir > .content > .markdown > p > tt,
238 .doc > .content > p > code,
239 .doc > .content > p > tt,
240 .doc > .content > .fossil-doc > p > code,
241 .doc > .content > .fossil-doc > p > tt,
242 .doc > .content > .markdown > p > code,
243 .doc > .content > .markdown > p > tt,
244 .wiki > .content > p > code,
245 .wiki > .content > p > tt,
246 .wiki > .content > .fossil-doc > p > code,
247 .wiki > .content > .fossil-doc > p > tt,
248 .wiki > .content > .markdown > p > code,
249 .wiki > .content > .markdown > p > tt {
250 background-color: #eee;
251 padding: 0 4px;
252 }
253
254 .content .pikchr-wrapper {
255 /* Pikchr was developed with the assumption that it would be
256 * integrated into a Fossil repo using the old 0.9em body font
257

Keyboard Shortcuts

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