diff options
author | myk%mozilla.org <> | 2005-02-17 03:31:44 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2005-02-17 03:31:44 +0000 |
commit | ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c (patch) | |
tree | 39c27859d408dc34341740be070ebcd3c153be56 /skins | |
parent | acbf58332f37936e20e7ff10a0cc3f450a736a00 (diff) | |
download | bugs-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.tar bugs-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.tar.gz bugs-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.tar.bz2 bugs-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.tar.xz bugs-ccbdbf2058bd2cf6374d51256b0f20f94ff8d77c.zip |
Fix for bug 278125: converts Bugzilla header to structural HTML and stylistic CSS; Patch by Svetlana Harisova; r,a=myk
Diffstat (limited to 'skins')
-rw-r--r-- | skins/standard/global.css | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css index 5ffd7fbfe..fff22fe40 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -64,6 +64,111 @@ body } /* banner (end) */ +/* header (begin) */ + #header + { + width: 100%; + } + + #header * + { + margin: 0; + padding: 0; + } + + /* hide from MSIE and NN4 */ + [id]#header + { + display: table; + } + + /* IE hack for float content*/ + * html #header + { + height: 1%; + } + + /* hide from NN4 */ + div#header h1 + { + float: left; + } + + #header h1 + { + font-family: serif; + font-weight: bold; + font-size: 110%; + + white-space: nowrap; + padding: 0.2em 1em 0.1em 0.2em; + } + + /* hide from MSIE and NN4 */ + [id]#header h1 + { + float: none; + display: table-cell; + + vertical-align: top; + } + + /* hide from NN4 */ + div#header h2 + { + float: left; + width: 70%; + + text-align: center; + padding: 0.2em 1em 0.1em 0.1em; + } + + #header h2 + { + font-family: serif; + font-weight: normal; + font-size: 100%; + } + + /* hide from MSIE and NN4 */ + [id]#header h2 + { + float: none; + width: auto; + + text-align: left; + vertical-align: top; + } + + #header h3 + { + font-family: serif; + font-weight: normal; + font-size: 100%; + + padding: 0.2em 0.2em 0.1em 0.1em; + float: right; + } + + /* hide from MSIE and NN4 */ + [id]#header h3 + { + display: table-cell; + float: none; + + text-align: right; + vertical-align: top; + } + + #message + { + border: 1px solid red; + + padding: 0.3em; + color: green; + } +/* header (end) */ + /* footer (begin) */ #footer { |