From 7956b88fd9c098a7a373401272d7e85c4b17e0c2 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 19 Nov 2011 11:18:17 +0000 Subject: [PATCH] introduced CSS __site_width__ parameter --- css/basic.css | 2 +- css/design.css | 2 +- css/structure.css | 2 +- style.ini | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/css/basic.css b/css/basic.css index 5999172..410bf9f 100644 --- a/css/basic.css +++ b/css/basic.css @@ -19,7 +19,7 @@ html, body { padding: 0; } body { - font: normal 100%/1.4 Frutiger, "Frutiger Linotype", Univers, Calibri, Myriad, "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; + font: normal 87.5%/1.4 Frutiger, "Frutiger Linotype", Univers, Calibri, Myriad, "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */ } diff --git a/css/design.css b/css/design.css index f3f32dd..1f304bf 100644 --- a/css/design.css +++ b/css/design.css @@ -112,7 +112,7 @@ #dokuwiki__pagetools ul { /* imitate #dokuwiki__site */ margin: 0 auto; - max-width: 64em; + max-width: __site_width__; padding: 0 1em; } #IE6 #dokuwiki__usertools ul { diff --git a/css/structure.css b/css/structure.css index 14490a0..25996ea 100644 --- a/css/structure.css +++ b/css/structure.css @@ -9,7 +9,7 @@ body { } #dokuwiki__site { margin: 0 auto; - max-width: 64em; + max-width: __site_width__; padding: 1.4em 1em; } #dokuwiki__site .site { diff --git a/style.ini b/style.ini index 5e1bdd3..ad82324 100644 --- a/style.ini +++ b/style.ini @@ -63,5 +63,6 @@ __missing__ = "#f30" ; highlighting search snippets __highlight__ = "#ff9" -; sidebar width +; widths +__site_width__ = "64em" __sidebar_width__ = "16em"