ikiwiki/doc/todo/stylesheet_suggestion_for_v...

34 lines
755 B
Plaintext
Raw Normal View History

2007-08-20 21:15:19 +02:00
I suggest the attached change for verbatim contents. Paddings/margins are
optional, but IMHO, we should at least define a monospace font.
-- Recai (via email)
2007-08-26 20:20:18 +02:00
AFAICS, my web browser already has a built-in monospace font, which I can
see in action in the preformatted patch below. So I don't see why the
default style sheet should do this. --[[Joey]]
[[!tag patch]]
2007-08-20 21:15:19 +02:00
<pre>
diff --git a/basewiki/style.css b/basewiki/style.css
index 6ec6f89..1970561 100644
--- a/basewiki/style.css
+++ b/basewiki/style.css
@@ -198,3 +198,15 @@ li.L7 {
li.L8 {
list-style: upper-alpha;
}
+
+/* verbatim content */
+pre, tt, code {
+ font-family: "Courier", monospace;
+ color: black;
+}
+
+pre {
+ margin-left: 1.5em;
+ padding: 0.5em;
+ overflow: hidden;
+}
</pre>