X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fcss%2Fstyle.css;h=5d55a48c796df42296c09803ea56c37251454187;hb=e4bdf6606498d358c80e45b8cee69250b3bee6d3;hp=1f7b74b7f6a63f4e5b9f45737e72e278afba193c;hpb=98a45925bfa64fc1e29c0841ecf88aba96908de4;p=scpubgit%2Fstemmaweb.git diff --git a/root/css/style.css b/root/css/style.css index 1f7b74b..5d55a48 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,82 +74,73 @@ div.button:hover { div.button:hover span { background-position: bottom left; } - +#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; +} +div.pager_left_button:hover { + background: transparent url('../images/button_left_28.png') no-repeat center bottom; +} +div.pager_right_button:hover { + background: transparent url('../images/button_right_28.png') no-repeat center bottom; +} +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; + box-shadow: 0 3px 10px rgba(100, 100, 100, 0.3); + width: 1124px; + padding-bottom: 30px; + margin: 48px auto 48px; +} #topbanner { - width: 100%; - height: 100px; - margin-top: 20px; + padding: 30px; } #bannerinfo { float: right; margin-right: 12%; margin-top: 15px; } -.navlink { - color: #488dd2; - text-decoration: underline; -} - - - -/* Index page components */ - -#directory_container { - float: left; - width: 300px; - height: 450px; - border: 1px #c6dcf1 solid; -} -#directory { - height: 360px; - margin-left: 10px; - overflow: auto; -} -#new_trad_button { - margin-left: 10px; - position: relative; - top: 10px; -} -.traditionname { - text-decoration: underline; -} -.selected { - font-style: italic; +#docco { + padding: 30px; } .mainnav { - position: absolute; - top: 10px; - right: 80px; font-size: 14px; font-weight: 100; - color: #488dd2; -} -.mainnav a { - color: #488dd2; -} -#textinfo_container { - float: left; - height: 500px; - width: 700px; - margin-left: 40px; -} -#stemma_container h2 h3 { - color: #666; -} -#stemma_graph { - height: 375px; - width: 500px; - text-align: center; - border: 1px #c6dcf1 solid; + background-color: #488dd2; + color: #ffffff; + padding: 5px; + float: right; } -#stemma_graph img { - margin-top: expression(( 450 - this.height ) / 2); +.navlink { + color: #ffffff; + text-decoration: underline; } -#stexaminer_button { - bottom: 0; - margin-top: 13px; +.error { + font-weight: bold; + color: #ff3333; } -#relater_button { - float: left; - margin-left: 100px; +.notification { + font-weight: bold; + color: #33ff33; }