diff options
author | Anika Henke <anika@selfthinker.org> | 2009-05-05 00:25:44 +0200 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2009-05-05 00:25:44 +0200 |
commit | 91459163e4ff1c28a910340507960898f4d8e126 (patch) | |
tree | 9baa676a5121b84c13f03e738259ec3999f94422 /lib/tpl | |
parent | 2139f10a3767196a61404cfad3af5b6af3c04992 (diff) | |
download | rpg-91459163e4ff1c28a910340507960898f4d8e126.tar.gz rpg-91459163e4ff1c28a910340507960898f4d8e126.tar.bz2 |
Purple Numbers (granular hierarchical IDs) - set $conf['purplenumbers'] and adjust your CSS
darcs-hash:20090504222544-f7d6d-fd9e4c771c5aef32dc2927a1da4dfa4fc4f8b4f1.gz
Diffstat (limited to 'lib/tpl')
-rw-r--r-- | lib/tpl/default/design.css | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index 0d84d94ab..1e946207e 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -799,3 +799,34 @@ div.dokuwiki div.imagemeta img.thumb { float:left; margin-right: 0.1em; } + +/* --------------- Purple Numbers ----------------- */ + +/* show only on hover */ +.dokuwiki a.pn { + visibility: hidden; + color: __text_other__ !important; +} +.dokuwiki h1:hover a.pn, +.dokuwiki h2:hover a.pn, +.dokuwiki h3:hover a.pn, +.dokuwiki h4:hover a.pn, +.dokuwiki h5:hover a.pn, +.dokuwiki p:hover a.pn, +.dokuwiki li:hover a.pn, +.dokuwiki pre:hover a.pn, +.dokuwiki table.inline:hover + .pnlink a.pn { + visibility: visible !important; +} +/* nested lists */ +.dokuwiki li:hover li a.pn { + visibility: hidden !important; +} +.dokuwiki li li:hover a.pn { + visibility: visible !important; +} + +/* if PN needs to be outside of its section */ +.dokuwiki .pnlink { + margin: -1.0em 0 0 0; +} |