X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=testing%2FMCTXWeb%2Fpublic_html%2Fstatic%2Fstyle.css;h=6cba6c9ec4cee19469598606ade4feb793f5ec09;hb=023b5a18dcc7d501326abe2de06f24190d5b4320;hp=608feb746f0211761c66d28e59684bfe47662dff;hpb=e6bda8bb88f10884ecc05372747f3ffbc9f1c060;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/static/style.css b/testing/MCTXWeb/public_html/static/style.css index 608feb7..6cba6c9 100644 --- a/testing/MCTXWeb/public_html/static/style.css +++ b/testing/MCTXWeb/public_html/static/style.css @@ -1,9 +1,11 @@ +/** Custom fonts **/ @font-face { font-family: "Open Sans"; src: url("OpenSans.ttf"), url("OpenSans.eot"); } +/** Limit max width and auto-center content **/ html { max-width: 1280px; margin: 0 auto; @@ -12,8 +14,6 @@ html { body { font-family: "Open Sans", "Lucida Grande","Lucida Sans",Verdana,Arial; font-size: 13px; - /*margin: 0; - padding: 0;*/ background-color: #F5F5F5; } @@ -22,6 +22,45 @@ hr { border-bottom: 1px dashed gray; } +table { + border: none; +} + +table.centre { + margin: auto; +} + +table.status, table.status tr, table.status td { + padding: 0.2em 0.75em; +} + +th { + padding: inherit; + border-bottom: 1px solid gray; +} + +img.centre { + display: block; + margin: auto; +} + +input[type="button"] { + background-color: #F5F5F5; + border: 1px solid #A2A2A2; + border-radius: 3px; + box-shadow: 1px 1px 1px #BBBBBB; + transition: all 0.13s ease 0s; +} + +input[type="button"]:active { + background-color: #E8E8E8; +} + +/* IE8 width bugfix */ +input[type="text"], input[type="password"] { + width: 100%; +} + #header { background-color: #2a2a2a; color: #f2f2f2; @@ -31,7 +70,6 @@ hr { box-shadow: 0 0 0.5em #444444; border-radius: 4px; transition: all 0.2s ease 0s; - overflow: auto; } #header #title { @@ -44,51 +82,12 @@ hr { padding-top: 0.5em; } -#header #menu { +#header #menu-container { margin-right: 1.5em; font-size: 15px; - transition: all 0.2s ease 0s; display: inline-block; } - -#header #menu a { - border: 1px solid #444444; - color: #BBBBBB; - display: inline-block; - margin: 0.1em; - padding: 0.2em 2em; - text-decoration: none; - transition: all 0.2s ease 0s; -} - -#header #menu a:hover { - background-color: #f2f2f2; - color: #2a2a2a; -} - -#header #menu a:active { - color: black; -} - -table, th, td{ - margin: auto; - border: none; - padding: 0.2em 0.75em; -} - -td .fail { - background-color: #ff2233; -} - -td .pass { - background-color: #55ff44; -} - -th { - border-bottom: 1px solid gray; -} - #header #date { padding-top: 1em; font-size: 12px; @@ -100,10 +99,10 @@ th { #sidebar{ float: right; - width: 25%; + min-width: 22%; } -#sidebar .announce { +#sidebar .title { font-size: 20px; font-weight: bold; } @@ -114,9 +113,16 @@ th { } #main { - overflow: hidden; + overflow: auto; margin-right: 25%; padding-right: 2em; + min-width: 400px; +} + +#main .title { + font-size: 24px; + font-weight: bold; + margin-bottom: 0.5em; } .widget { @@ -125,14 +131,14 @@ th { padding: 1em 1.25em; box-shadow: 0 0 3px #CCCCCC; transition: all 0.2s ease 0s; + overflow: auto; } .widget:hover { box-shadow: 0 0 0.25em #AAAAAA; } -#main .announce { - font-size: 24px; - font-weight: bold; - margin-bottom: 0.5em; +/** Hack **/ +.clear { + clear: both; } \ No newline at end of file