diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-07 21:13:17 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-07 21:13:17 +0100 |
commit | b4bc820ea9d5d9414c222824e55b23fc2c618e45 (patch) | |
tree | 9bd9923ad5374c4930f1486f136d933fe09eaf9a | |
parent | e448a6938e5e627fbc1b5d56a39c7f3a1ae5f9b8 (diff) | |
download | rpg-b4bc820ea9d5d9414c222824e55b23fc2c618e45.tar.gz rpg-b4bc820ea9d5d9414c222824e55b23fc2c618e45.tar.bz2 |
CSS fixes for default template
the height of the top and bottom rows is now more flexible to respect the
different button height handling of browsers (konq)
darcs-hash:20060307201317-7ad00-df09b3bfd414d9e5e810f8d298691ed1f6e4ee44.gz
-rw-r--r-- | lib/tpl/default/layout.css | 9 | ||||
-rw-r--r-- | lib/tpl/default/main.php | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/tpl/default/layout.css b/lib/tpl/default/layout.css index 40e0362a2..dd2500304 100644 --- a/lib/tpl/default/layout.css +++ b/lib/tpl/default/layout.css @@ -7,19 +7,17 @@ /* -------------- top row --------------- */ div.dokuwiki .header { - height:35px; - padding:3px 0 2px 2px; + padding:3px 0 0 2px; } div.dokuwiki .pagename { - height:25px; float:left; font-size:200%; font-weight:bolder; color: __medium__; text-align:left; vertical-align:middle; - padding:1px 0 0 1px; + padding: 0; } div.dokuwiki .pagename a:link, div.dokuwiki .pagename a:visited, div.dokuwiki .pagename a:hover, div.dokuwiki .pagename a:active { @@ -44,11 +42,10 @@ div.dokuwiki .logo a:link, div.dokuwiki .logo a:visited, div.dokuwiki .logo a:ho /* --------------- top and bottom bar ---------------- */ div.dokuwiki .bar { - height:2.0em; border-top:1px solid __dark__; border-bottom:1px solid __dark__; background: __medium__; - padding:0.15em; + padding: 0.1em 0.15em; margin:0; clear: both; } diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php index 4ddcf7dab..44ef7d35d 100644 --- a/lib/tpl/default/main.php +++ b/lib/tpl/default/main.php @@ -41,6 +41,8 @@ <div class="logo"> <?php tpl_link(wl(),$conf['title'],'name="top" accesskey="h" title="[ALT+H]"')?> </div> + + <div class="clearer"></div> </div> <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> @@ -55,6 +57,8 @@ <?php tpl_button('recent')?> <?php tpl_searchform()?> </div> + + <div class="clearer"></div> </div> <?php if($conf['breadcrumbs']){?> @@ -111,6 +115,7 @@ <?php tpl_button('index')?> <?php tpl_button('top')?> </div> + <div class="clearer"></div> </div> </div> |