diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-02-02 01:28:42 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-02-02 01:28:42 +0000 |
commit | 964fe01c285dc88f5f4bb6cc0bae69be312e1634 (patch) | |
tree | 89546cd5575b9084db843c2559e264013a16b500 | |
parent | a0472255808949af1506e5bb3a86b9b1f1b27641 (diff) |
layout/indent fixing of oxfordshire.scss
-rw-r--r-- | web/cobrands/oxfordshire/oxfordshire.scss | 104 |
1 files changed, 43 insertions, 61 deletions
diff --git a/web/cobrands/oxfordshire/oxfordshire.scss b/web/cobrands/oxfordshire/oxfordshire.scss index 1a54dc60d..1c5e9f3b7 100644 --- a/web/cobrands/oxfordshire/oxfordshire.scss +++ b/web/cobrands/oxfordshire/oxfordshire.scss @@ -26,39 +26,43 @@ body { } -#oxford-header - { - padding:0 16px 7px 16px; - clear:both; - overflow:hidden; - position:relative; - width:958px; - - /* note================= */ - height: 133px; - height:auto !important; - min-height:133px; - /* note================= */ - - - background: $oxfordshire_lt_green url("/cobrands/oxfordshire/images/header.jpg") no-repeat 0 0; +#oxford-header { + padding:0 16px 7px 16px; + clear:both; + overflow:hidden; + position:relative; + width:958px; - a.logo:hover {cursor:pointer;cursor:hand} - a.logo {float:left; display:inline; margin:3px 0 6px 10px; position:relative; overflow:hidden} - a.logo span {display:block; position:absolute; top:0; left:0; z-index:10} - a.logo, a.logo span {width:173px; height:38px; background: url("/cobrands/oxfordshire/images/logo.jpg") no-repeat 0 0;} + /* note================= */ + height: 133px; + height:auto !important; + min-height:133px; + /* note================= */ - h1 {float:left; padding:8px 0 0 10px; margin:0; font-size:1.25em; line-height:normal; font-weight:bold; color:#ffffff; white-space:nowrap;font-family:"Trebuchet MS",Tahoma,Arial,sans-serif;} - span.header {float:left; padding:8px 0 0 10px; margin:0; font-size:1.25em; line-height:normal; font-weight:bold; color:#ffffff; white-space:nowrap} - a {color:#ffffff;} + background: $oxfordshire_lt_green url("/cobrands/oxfordshire/images/header.jpg") no-repeat 0 0; - #oxford-links { - padding: 10px 3px 0px 0px; float:right;color:#ffffff; - a{ + a.logo:hover {cursor:pointer;cursor:hand} + a.logo {float:left; display:inline; margin:3px 0 6px 10px; position:relative; overflow:hidden} + a.logo span {display:block; position:absolute; top:0; left:0; z-index:10} + a.logo, a.logo span {width:173px; height:38px; background: url("/cobrands/oxfordshire/images/logo.jpg") no-repeat 0 0;} + + h1 { + float:left; padding:8px 0 0 10px; margin:0; font-size:1.25em; line-height:normal; + font-weight:bold; color:#ffffff; white-space:nowrap;font-family:"Trebuchet MS",Tahoma,Arial,sans-serif; + } + span.header { + float:left; padding:8px 0 0 10px; margin:0; font-size:1.25em; line-height:normal; font-weight:bold; + color:#ffffff; white-space:nowrap + } + a { + color:#ffffff; + } + #oxford-links { + padding: 10px 3px 0px 0px; float:right;color:#ffffff; + a { font-size:0.75em; // mySociety putting this back (switched off in body) margin: 0px 5px 0px 5px } - } .oxford-user { float: right; @@ -147,10 +151,8 @@ body { li.last a {border-right:1px solid #666;} a {padding:8px 0 0 0;} } - } - #oxford-footer { float:left; display:inline; @@ -187,9 +189,10 @@ body { } } -/* --------------------------------------------------------------------------------- - oxfordshire top menu starts - ---------------------------------------------------------------------------------*/ + /* --------------------------------------------------------------------------------- + oxfordshire nav menubar from e.g., + http://fisd.oxfordshire.gov.uk/kb5/oxfordshire/fsd/includes/css/wireframe/navbar.css + ---------------------------------------------------------------------------------*/ #navigation { position: absolute; @@ -199,20 +202,6 @@ body { width: 972px; padding: 0 0 0 18px; border-top: 1px solid #004300; - - - - - } -} - - /* --------------------------------------------------------------------------------- - oxfordshire top menu ends - ---------------------------------------------------------------------------------*/ - -#navigation { - /* menubar from e.g., http://fisd.oxfordshire.gov.uk/kb5/oxfordshire/fsd/includes/css/wireframe/navbar.css */ - .menubar { font-size: 13px; /* explicit; it was implicit from OCC's styles */ color: #999999; overflow: visible; @@ -226,7 +215,6 @@ body { -moz-border-radius: 0; border-radius: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset; - .menu { left: 0; margin: 0 10px 0 0; @@ -251,21 +239,15 @@ body { } } } - - - } - -.menubar-fixed-top { - left: 0; - margin-bottom: 0; - position: fixed; - right: 0; - z-index: 1000; -} - + .menubar-fixed-top { + left: 0; + margin-bottom: 0; + position: fixed; + right: 0; + z-index: 1000; + } } - .oxford-left { float: left !important; -}
\ No newline at end of file +} |