diff options
author | Mark Lentczner <markl@glyphic.com> | 2010-07-25 18:47:49 +0000 |
---|---|---|
committer | Mark Lentczner <markl@glyphic.com> | 2010-07-25 18:47:49 +0000 |
commit | a3639ab3529cf25511f944f52b35380527073433 (patch) | |
tree | a256dc065c5a03077e6df739296620e94e8f4c57 /html/nhaddock.css | |
parent | 9393846ff6b439bd8f360f1239e79fe684f734ee (diff) |
change how collapsing sections are done
make whole .caption be the target
improve javascript for class toggling
have plus/minus images come from .css, not img tags
Diffstat (limited to 'html/nhaddock.css')
-rw-r--r-- | html/nhaddock.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/html/nhaddock.css b/html/nhaddock.css index 393662ff..f671a170 100644 --- a/html/nhaddock.css +++ b/html/nhaddock.css @@ -74,6 +74,18 @@ ul.links li a { padding: 5px 10px; } .show { display: inherit; } .clear { clear: both; } +.collapser { + background: url(minus.gif) no-repeat 0 0.4em; +} +.expander { + background: url(plus.gif) no-repeat 0 0.4em; +} +.collapser, .expander { + padding-left: 14px; + margin-left: -14px; + cursor: pointer; +} + pre { padding: 0.5em; margin: 0.5em 5em 0.5em 3em; |