blob: b73155c985b0053e1db28bcd611e842e130b0cf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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)
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]]
<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>
|