X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=testing%2FMCTXWeb%2Fpublic_html%2Fstatic%2Fstyle.css;h=b4736dbf65a30d4cd2d08341463048f852e26694;hb=e0132025a1df98f88b2415e9e5f75ce7304efb33;hp=3a62cb0982b6e709e516fcebe0b8028b9cd0bf99;hpb=8dfd2def9f3c84c4d85c073d07912a22e107713f;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/static/style.css b/testing/MCTXWeb/public_html/static/style.css index 3a62cb0..b4736db 100644 --- a/testing/MCTXWeb/public_html/static/style.css +++ b/testing/MCTXWeb/public_html/static/style.css @@ -3,6 +3,13 @@ font-family: "Open Sans"; src: url("OpenSans.ttf"), url("OpenSans.eot"); + font-weight: normal; +} + +@font-face { + font-family: "Open Sans"; + src: url("OpenSansBold.ttf"); + font-weight: bold; } body { @@ -56,6 +63,7 @@ div.centre { font-weight: bold; } +/* table { border: none; } @@ -69,6 +77,7 @@ table.status, table.status tr, table.status td { padding: 0.2em 0.75em; } + td { padding: 0 0.5em; } @@ -78,6 +87,36 @@ th { border-bottom: 1px solid gray; } +*/ + +table { + border-radius: 3px; + border: 1px solid #ccc; + border-collapse: collapse; + word-wrap: break-word; + line-height: 1.3em; + width: 100%; +} + +td { + padding: 0.2em 0.5em; +} + +table.centre { + margin: auto; + text-align: center; +} + +table.horizontal { + line-height: 1.6em; +} + +table.horizontal th { + border-right: 1px solid #ccc; + border-bottom: 0; + width: 20%; +} + img.centre { display: block; margin: auto; @@ -121,7 +160,7 @@ input[type="text"]:focus, input[type="password"]:focus { #header { padding: 1.5em 2em; - max-width: 1280px; + /*max-width: 1920px;*/ margin: 0 auto; } @@ -185,7 +224,7 @@ input[type="text"]:focus, input[type="password"]:focus { #content-wrap { padding: 1em 2em; - max-width: 1280px; + /*max-width: 1920px;*/ margin: 1em auto; } @@ -196,16 +235,34 @@ input[type="text"]:focus, input[type="password"]:focus { #sidebar{ float: left; - max-width: 26%; + width: 240px; + transition: all 0.2s ease 0s; } #sidebar .title { font-size: 20px; } -#sidebar .item { - padding: 0.2em; - margin-bottom: 0.5em; +#sidebar-hide { + border-bottom: 1px solid #CCCCCC; + border-left: 1px solid #CCCCCC; + cursor: pointer; + float: right; + height: 20px; + margin-right: -1.25em; + margin-top: -1em; + text-align: center; + width: 20px; +} + +#sidebar-show { + float: left; + cursor: pointer; + display: none; +} + +.justify { + text-align: justify; } #main { @@ -220,6 +277,22 @@ input[type="text"]:focus, input[type="password"]:focus { margin-bottom: 0.25em; } +/* Unused ?? */ +.sxs { + display: table; + table-layout: fixed; + width: 100%; + border-spacing: 0.5em; +} + +.sxs div { + display: table-cell; +} + +.right { + float: right; +} + .title { font-size: 24px; font-weight: bold; @@ -247,22 +320,11 @@ input[type="text"]:focus, input[type="password"]:focus { .plot { box-sizing: border-box; - width: 850px; - height: 450px; + width: auto; + height: 300px; padding: 20px 15px 15px 15px; margin: 15px auto 30px auto; border: 1px solid #ddd; - background: #fff; - background: linear-gradient(#f6f6f6 0, #fff 50px); - background: -o-linear-gradient(#f6f6f6 0, #fff 50px); - background: -ms-linear-gradient(#f6f6f6 0, #fff 50px); - background: -moz-linear-gradient(#f6f6f6 0, #fff 50px); - background: -webkit-linear-gradient(#f6f6f6 0, #fff 50px); - box-shadow: 0 3px 10px rgba(0,0,0,0.15); - -o-box-shadow: 0 3px 10px rgba(0,0,0,0.1); - -ms-box-shadow: 0 3px 10px rgba(0,0,0,0.1); - -moz-box-shadow: 0 3px 10px rgba(0,0,0,0.1); - -webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.1); font-size:20px; } @@ -276,6 +338,8 @@ input[type="text"]:focus, input[type="password"]:focus { max-width: 100%; width: 100%; height: 6em; + background-color: white; + border: 1px solid #ccc; } /** For login.html **/