]> sipb.mit.edu Git - ikiwiki.git/commitdiff
style.css: Use relative, not absolute font sizes. Thanks, Giuseppe Bilotta.
authorJoey Hess <joey@kitenet.net>
Tue, 17 Aug 2010 20:37:48 +0000 (16:37 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 17 Aug 2010 20:37:48 +0000 (16:37 -0400)
debian/changelog
doc/bugs/absolute_sizes_in_default_CSS.mdwn
doc/style.css

index cbd7e7254b44d33827143d6898ae2872e22b92b2..8fee36b980d344cb6ef754e9d728137f4937b214 100644 (file)
@@ -8,6 +8,7 @@ ikiwiki (3.20100816) UNRELEASED; urgency=low
   * openid: Syntax tweak to the javascript code to make it work with MSIE 7
     (and MSIE 8 in compat mode). Thanks to Iain McLaren for reporting
     the bug and providing access to debug it.
   * openid: Syntax tweak to the javascript code to make it work with MSIE 7
     (and MSIE 8 in compat mode). Thanks to Iain McLaren for reporting
     the bug and providing access to debug it.
+  * style.css: Use relative, not absolute font sizes. Thanks, Giuseppe Bilotta.
 
  -- Joey Hess <joeyh@debian.org>  Sun, 15 Aug 2010 11:45:48 -0400
 
 
  -- Joey Hess <joeyh@debian.org>  Sun, 15 Aug 2010 11:45:48 -0400
 
index 5cf70d6ee6b2443e2658b64decb7ea1cc9d56eef..bb3c0c7a063bea4eb23b0c48a314f91ef872f8be 100644 (file)
@@ -1,5 +1,7 @@
 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):
 
 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):
 
+[[done]] --[[Joey]] 
+
 <pre>
 From 01c14db255bbb727d8dd1e72c3f6f2f25f07e757 Mon Sep 17 00:00:00 2001
 From: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
 <pre>
 From 01c14db255bbb727d8dd1e72c3f6f2f25f07e757 Mon Sep 17 00:00:00 2001
 From: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
index 66d962bd640d3e2991c11eedb789c3e040d62da4..fa4b2a38acb6b7e5dae74556b192f75debe32cce 100644 (file)
@@ -14,7 +14,7 @@ nav {
 
 .header {
        margin: 0;
 
 .header {
        margin: 0;
-       font-size: 22px;
+       font-size: 140%;
        font-weight: bold;
        line-height: 1em;
        display: block;
        font-weight: bold;
        line-height: 1em;
        display: block;
@@ -22,7 +22,7 @@ nav {
 
 .inlineheader .author {
        margin: 0;
 
 .inlineheader .author {
        margin: 0;
-       font-size: 18px;
+       font-size: 112%;
        font-weight: bold;
        display: block;
 }
        font-weight: bold;
        display: block;
 }