]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/stylesheet_suggestion_for_verbatim_content.mdwn
962025f3ca2aabd3f7d9b813ad570b5491dd11fa
[ikiwiki.git] / doc / todo / stylesheet_suggestion_for_verbatim_content.mdwn
1 I suggest the attached change for verbatim contents.  Paddings/margins are
2 optional, but IMHO, we should at least define a monospace font.
3
4 -- Recai (via email)
5
6 [[tag patch]]
7
8 <pre>
9 diff --git a/basewiki/style.css b/basewiki/style.css
10 index 6ec6f89..1970561 100644
11 --- a/basewiki/style.css
12 +++ b/basewiki/style.css
13 @@ -198,3 +198,15 @@ li.L7 {
14  li.L8 {
15         list-style: upper-alpha;
16  }
17 +
18 +/* verbatim content */
19 +pre, tt, code {
20 +       font-family: "Courier", monospace;
21 +       color: black;
22 +}
23 +
24 +pre {
25 +       margin-left: 1.5em;
26 +       padding: 0.5em;
27 +       overflow: hidden;
28 +}
29 </pre>