X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fcss%2Fstyle.css;h=33344aa86884592013d729d73fb8143472f8a9d2;hb=a97b9fc2d2dc2d3e81af72e601beb4558a0056fd;hp=01854f873b9bb6995488b9d602a3bb9fb722aed2;hpb=b63f3a770f4f22d83dc77c88b0299d22ae07efcc;p=scpubgit%2Fstemmaweb.git diff --git a/root/css/style.css b/root/css/style.css index 01854f8..33344aa 100644 --- a/root/css/style.css +++ b/root/css/style.css @@ -1,13 +1,32 @@ /* 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: transparent url('../images/logo_001.png') no-repeat scroll -200px -100px; - background-size: 600px; -} + 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; @@ -85,174 +104,36 @@ 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%; + padding: 30px; } #bannerinfo { float: right; margin-right: 12%; margin-top: 15px; } -.navlink { - color: #488dd2; - text-decoration: underline; -} - - - -/* Index page components */ - -#directory_container { - background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); - float: left; - width: 300px; - height: 450px; - border: 1px #c6dcf1 solid; - padding-left: 10px; - padding-right: 10px; -} -#loading_message { - display: none; -} -#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: 22px; font-size: 14px; font-weight: 100; - color: #488dd2; -} -.mainnav a { - color: #488dd2; -} -#textinfo_waitbox { - float: left; - padding-left: 50px; -} -#textinfo_container { - background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); - border: 1px solid #C6DCF1; - float: left; - height: 510px; - width: 710px; - margin-left: 10px; - padding-left: 10px; - padding-right: 10px; -} -#edit_instructions { - float: left; -} -#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); -} -#stemma_graph svg { -} -#stemma_graph_title { - bottom: 20px; - margin-left: 5px; - position: relative; -} -#stemma_identifier { - color: #488dd2; - font-size: 12px; - font-weight: bold; -} -#textinfo_container_buttons { - z-index: 100; - width: 224px; - float: right; - left: -18px; - position: relative; - top: 15px; -} -#run_stexaminer, #run_relater, #open_stemma_add, #open_stemma_edit, #open_stemweb_ui, #query_stemweb_ui { - height: 32px; -} -#stemma_pager { - height: 38px; -} -.stemma_node_highlight { - stroke-width: 1.5px; - stroke: #415555; - fill: #d6e0f5; -} -#open_textinfo_edit { - float: right; - height: 30px; - position: relative; - top: -34px; - left: -8px; -} -#upload-collation-dialog { - overflow: hidden; -} -.uploadfile { - font-weight: bold; -} -#uploadfile_label { - font-weight: normal; -} -#filelist { - position: relative; - top: 10px; - margin-bottom: 24px; -} -.error { - font-weight: bold; - color: #ff3333; -} -.notification { - font-weight: bold; - color: #33ff33; -} -#new_file { - position: absolute; - top: -50px; - opacity: 0.0; -} -#new_file_name { - font-weight: bold; -} -#new_name, #new_lang, #new_public, #new_file_name_container { - margin-bottom: 6px; -} -#new_file_label { - float: left; - padding-right: 8px; -} -#root_tree_dialog { - position: absolute; - border: 2px solid #B2E0B2; - background: #e6f5e6; - padding: 4px 8px 4px 12px; - z-index: 200; - font-size: 75%; + background-color: #488dd2; + color: #ffffff; + padding: 5px; + float: right; } -#root_tree_dialog img { - vertical-align: middle; +.navlink { + color: #ffffff; + text-decoration: underline; } +