diff options
author | Mark Lentczner <markl@glyphic.com> | 2010-07-29 01:12:46 +0000 |
---|---|---|
committer | Mark Lentczner <markl@glyphic.com> | 2010-07-29 01:12:46 +0000 |
commit | e998ed04e53f295715251be764457ff4eec4ae9f (patch) | |
tree | 15276361d0059c57bc11c253149b5d98d1f90bce /html/Classic.theme | |
parent | 842fce48a293a2775714dcb444c67310e150cd9b (diff) |
styling tweaks
don't generate an empty li for absent style menu in links area
update css for Classic and Snappy to handle:
dl lists
links in package header and in declarations
floating of links and info block in package and module headers
Diffstat (limited to 'html/Classic.theme')
-rw-r--r-- | html/Classic.theme/xhaddock.css | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/html/Classic.theme/xhaddock.css b/html/Classic.theme/xhaddock.css index 35f4b469..77d1f8f9 100644 --- a/html/Classic.theme/xhaddock.css +++ b/html/Classic.theme/xhaddock.css @@ -83,10 +83,9 @@ pre { ul.links { list-style: none; text-align: left; - position: absolute; - right: 5px; - top: 5px; + float: right; display: inline-table; + padding: 0; } ul.links li { @@ -159,13 +158,11 @@ div#style-menu-holder { #module-header { background-color: #0077dd; padding: 5px; - position: relative; } #module-header .caption { font-size: 200%; - height: 1.5em; - padding-top: .25em; + padding: .25em 0; font-weight: normal; font-style: normal; } @@ -173,9 +170,8 @@ div#style-menu-holder { dl.info { color: #ffffff; display: block; - position: absolute; - top: 3px; - right: 5px; + float: right; + width: 50%; } dl.info dt { @@ -266,7 +262,9 @@ div.top h5 { border-left-style: solid; white-space: nowrap; font-size: small; - padding: 0 4px 2px 5px; + padding: 0 8px 2px 5px; + margin-right: -3px; + background-color: #f0f0f0; } div.subs { @@ -284,16 +282,13 @@ div.subs { padding-top: 4px; } -.subs dt { - float: left; - margin-right: 1em; - clear: left; -} - .subs dd { - margin-bottom: 2px; - margin-top: 2px; + margin: 2px 0 9px 2em; +} + +.subs dd.empty { + display: none; } .subs table { |