X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fcss%2Fstyle.css;h=3b0e501f439869777c809f75dbc3cbdcd0d7caaa;hb=917bee1c66759cddcec3b5389a4de3b647b91f84;hp=264e6dec8b1310821f77068a707e6778ec2abe62;hpb=25d07c771048d3b5b9aabaa01a7443ae2f1bd465;p=scpubgit%2Fstemmaweb.git diff --git a/root/css/style.css b/root/css/style.css index 264e6de..3b0e501 100644 --- a/root/css/style.css +++ b/root/css/style.css @@ -1,19 +1,36 @@ /* General site-wide layout */ body { margin: 0; - padding: 20px; - font: 1em Arial, Helvetica, sans-serif; + font: 1em "Open Sans", Arial, Helvetica, sans-serif; font-size: 85%; - color: #666; -} + background: #EDF1FA; + color: #444; +} +.clearfix:after { + content: "\00A0"; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} +.clearfix{ + display: inline-block; +} +html[xmlns] .clearfix { + display: block; +} +* html .clearfix{ + height: 1%; +} +.clearfix { + display: block +} + h1 { border-bottom: 1px solid #488dd2; color: #488dd2; - font-size: 24px; - font-weight: 100; - margin: 0 0 17px; - padding: 0; - width: 650px; + font-size: 18pt; } h2 { margin-top: 10px; @@ -57,74 +74,68 @@ div.button:hover { div.button:hover span { background-position: bottom left; } - - -/* Index page components */ - -#directory_container { - float: left; - width: 300px; - height: 450px; - border: 1px #c6dcf1 solid; +#stemma_pager_buttons { + height: 28px; +} +div.pager_left_button { + width: 28px; + height: 28px; + float: left; + background: transparent url('../images/button_left_28.png') no-repeat left bottom; } -#directory { - margin-left: 10px; +div.pager_left_button:hover { + background: transparent url('../images/button_left_28.png') no-repeat center bottom; } -.traditionname { - text-decoration: underline; +div.pager_right_button:hover { + background: transparent url('../images/button_right_28.png') no-repeat center bottom; } -.selected { - font-style: italic; +div.pager_right_button { + width: 28px; + height: 28px; + float: left; + margin-left: 10px; + background: transparent url('../images/button_right_28.png') no-repeat left bottom; +} +div.pager_right_button.greyed_out, div.pager_right_button.greyed_out:hover { + opacity: 0.5; + background: url("../images/button_right_28.png") no-repeat scroll right bottom transparent; +} +div.pager_left_button.greyed_out, div.pager_left_button.greyed_out:hover { + opacity: 0.5; + background: url("../images/button_left_28.png") no-repeat scroll right bottom transparent; +} +#main_page { + background: transparent url('../images/logo_001.png') no-repeat scroll -200px -100px; + background-size: 600px; + background-color: #ffffff; + width: 1124px; + padding-bottom: 30px; + margin: 0 auto; + margin-top: 48px; + +} +#topbanner { + padding: 30px; +} +#bannerinfo { + float: right; + margin-right: 12%; + margin-top: 15px; +} +#docco { + background-color: #edf1fa; + padding: 10px; } .mainnav { - position: absolute; - top: 10px; - right: 80px; font-size: 14px; font-weight: 100; - color: #488dd2; + background-color: #488dd2; + color: #ffffff; + padding: 5px; + float: right; } -.mainnav a { - color: #488dd2; -} -#variant_container { - clear: both; - height: 400px; - padding-top: 20px; -} -#variant_graph { - /* width: 900px; */ - height: 350px; - clear: both; - overflow: auto; - text-align: center; -} -#variant_graph img { - margin-top: expression(( 400 - this.height ) / 2); -} -#stemma_container { - float: left; - height: 450px; - margin-left: 40px; -} -#stemma_container h2 h3 { - color: #666; -} -#stemma_graph { - height: 375px; - width: 500px; - text-align: center; - border: 1px #c6dcf1 solid; -} -#stemma_graph img { - margin-top: expression(( 450 - this.height ) / 2); -} -#stexaminer_button { - bottom: 0; - margin-top: 5px; -} -#relater_button { - float: left; - margin-left: 83px; - margin-top: 7px; +.navlink { + color: #ffffff; + text-decoration: underline; } +