introduced CSS __site_width__ parameter

This commit is contained in:
Anika Henke 2011-11-19 11:18:17 +00:00
parent b570c8ab4f
commit 7956b88fd9
4 changed files with 5 additions and 4 deletions

View file

@ -19,7 +19,7 @@ html, body {
padding: 0; padding: 0;
} }
body { 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 */ /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
} }

View file

@ -112,7 +112,7 @@
#dokuwiki__pagetools ul { #dokuwiki__pagetools ul {
/* imitate #dokuwiki__site */ /* imitate #dokuwiki__site */
margin: 0 auto; margin: 0 auto;
max-width: 64em; max-width: __site_width__;
padding: 0 1em; padding: 0 1em;
} }
#IE6 #dokuwiki__usertools ul { #IE6 #dokuwiki__usertools ul {

View file

@ -9,7 +9,7 @@ body {
} }
#dokuwiki__site { #dokuwiki__site {
margin: 0 auto; margin: 0 auto;
max-width: 64em; max-width: __site_width__;
padding: 1.4em 1em; padding: 1.4em 1em;
} }
#dokuwiki__site .site { #dokuwiki__site .site {

View file

@ -63,5 +63,6 @@ __missing__ = "#f30"
; highlighting search snippets ; highlighting search snippets
__highlight__ = "#ff9" __highlight__ = "#ff9"
; sidebar width ; widths
__site_width__ = "64em"
__sidebar_width__ = "16em" __sidebar_width__ = "16em"