]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/absolute_sizes_in_default_CSS.mdwn
new patch
[ikiwiki.git] / doc / bugs / absolute_sizes_in_default_CSS.mdwn
1 While toying around with some font sizes on my persona ikiwiki I discovered that some font sizes in the default CSS are fixed rather than relative. Here's a git patch that replaces them with relative font sizes (assuming the default 12pt/16px base font size recommended by the W3C):
2
3 [[done]] --[[Joey]] 
4
5 <pre>
6 From 01c14db255bbb727d8dd1e72c3f6f2f25f07e757 Mon Sep 17 00:00:00 2001
7 From: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
8 Date: Tue, 17 Aug 2010 00:48:24 +0200
9 Subject: [PATCH] Use relative font-sizes
10
11 ---
12  doc/style.css |    4 ++--
13  1 files changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/doc/style.css b/doc/style.css
16 index 66d962b..fa4b2a3 100644
17 --- a/doc/style.css
18 +++ b/doc/style.css
19 @@ -14,7 +14,7 @@ nav {
20  
21  .header {
22         margin: 0;
23 -       font-size: 22px;
24 +       font-size: 140%;
25         font-weight: bold;
26         line-height: 1em;
27         display: block;
28 @@ -22,7 +22,7 @@ nav {
29  
30  .inlineheader .author {
31         margin: 0;
32 -       font-size: 18px;
33 +       font-size: 112%;
34         font-weight: bold;
35         display: block;
36  }
37 -- 
38 1.7.2.rc0.231.gc73d
39 </pre>