aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-08-17 16:37:48 -0400
committerJoey Hess <joey@kitenet.net>2010-08-17 16:37:48 -0400
commit20ecef4d024f751481645db3aa68d098e1251b19 (patch)
tree0db3170c51ae5ee8efbf24006a0b4c3bcea97b58
parent9744c11f806cc72436b1d7b813fc194136e60db0 (diff)
downloadikiwiki-20ecef4d024f751481645db3aa68d098e1251b19.tar
ikiwiki-20ecef4d024f751481645db3aa68d098e1251b19.tar.gz
style.css: Use relative, not absolute font sizes. Thanks, Giuseppe Bilotta.
-rw-r--r--debian/changelog1
-rw-r--r--doc/bugs/absolute_sizes_in_default_CSS.mdwn2
-rw-r--r--doc/style.css4
3 files changed, 5 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index cbd7e7254..8fee36b98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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.
+ * style.css: Use relative, not absolute font sizes. Thanks, Giuseppe Bilotta.
-- Joey Hess <joeyh@debian.org> Sun, 15 Aug 2010 11:45:48 -0400
diff --git a/doc/bugs/absolute_sizes_in_default_CSS.mdwn b/doc/bugs/absolute_sizes_in_default_CSS.mdwn
index 5cf70d6ee..bb3c0c7a0 100644
--- a/doc/bugs/absolute_sizes_in_default_CSS.mdwn
+++ b/doc/bugs/absolute_sizes_in_default_CSS.mdwn
@@ -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):
+[[done]] --[[Joey]]
+
<pre>
From 01c14db255bbb727d8dd1e72c3f6f2f25f07e757 Mon Sep 17 00:00:00 2001
From: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;
diff --git a/doc/style.css b/doc/style.css
index 66d962bd6..fa4b2a38a 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -14,7 +14,7 @@ nav {
.header {
margin: 0;
- font-size: 22px;
+ font-size: 140%;
font-weight: bold;
line-height: 1em;
display: block;
@@ -22,7 +22,7 @@ nav {
.inlineheader .author {
margin: 0;
- font-size: 18px;
+ font-size: 112%;
font-weight: bold;
display: block;
}