diff options
author | Anika Henke <anika@selfthinker.org> | 2011-10-04 00:22:16 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2011-10-04 00:22:16 +0100 |
commit | b2932b97919a9bc8ce4913bf8827e1bda9585d94 (patch) | |
tree | 8db6448f605a9f32eb164644705ede3a81c0a842 | |
parent | 6a9cea3ef7851df6752803b11bec57932df671e0 (diff) | |
download | rpg-b2932b97919a9bc8ce4913bf8827e1bda9585d94.tar.gz rpg-b2932b97919a9bc8ce4913bf8827e1bda9585d94.tar.bz2 |
less markup for breadcrumbs (but more lines for IE<9)
-rwxr-xr-x | css/design.css | 12 | ||||
-rwxr-xr-x | main.php | 4 |
2 files changed, 13 insertions, 3 deletions
diff --git a/css/design.css b/css/design.css index 8def2faa9..3a9725f34 100755 --- a/css/design.css +++ b/css/design.css @@ -231,11 +231,21 @@ font-size: 0.875em; clear: both; } -.dokuwiki div.breadcrumbs div.pad { +.dokuwiki div.breadcrumbs div { border-top: 1px solid __background__; border-bottom: 1px solid __border__; padding: .1em .35em; } +.dokuwiki div.breadcrumbs div:first-child { + border-bottom-width: 0; +} +#IE7 .dokuwiki div.breadcrumbs div:first-child, +#IE8 .dokuwiki div.breadcrumbs div:first-child { + border-bottom-width: 1px; +} +.dokuwiki div.breadcrumbs div:last-child { + border-top-width: 0; +} .dokuwiki div.breadcrumbs a { color: __link__; background-color: inherit; @@ -91,14 +91,14 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER <!-- BREADCRUMBS --> <?php if($conf['breadcrumbs'] || $conf['youarehere']): ?> - <div class="breadcrumbs"><div class="pad"> + <div class="breadcrumbs"> <?php if($conf['breadcrumbs']): ?> <div class="trace"><?php tpl_breadcrumbs() ?></div> <?php endif ?> <?php if($conf['youarehere']): ?> <div class="youarehere"><?php tpl_youarehere() ?></div> <?php endif ?> - </div></div> + </div> <?php endif ?> <hr class="a11y" /> |