/* This dummy rule has no purpose except as a fix for a bizarre bug whereby the first rule after the include above gets ignored. */ .dummyrule {} body { font-family: "crimson pro"; } .statdiv { /* border-radius: 1em; -moz-border-radius: 1em; */ padding: 0.5em; margin: 0.5em; float: left; font-size:10px; } .width-1 { width: 15em; /* 18 */ } .width-2 { width: 32.4em; /* 35 */ } .width-3 { width: 49.8em; } .width-4 { width: 67.2em; } .width-5 { width: 84.6em; } /* hack for overlapping divs in Chrome */ .wide + .narrow, .wide + .medium { clear: left; } .statdiv h4 { border-radius: .25em; -moz-border-radius: .25em; text-align: center; color: white; font-size: 150%; margin: 0.5em 0; } .statdiv p { color: black; padding: 0.4em; } .statdiv span.value { font-weight: bold; font-size: 150%; border-radius: .25em; -moz-border-radius: .25em; padding: 0 .125em; background-color: white; text-decoration: none; } .statdiv a:link, .statdiv a:hover, .statdiv a:active, .statdiv a:visited { color: #0069b4; text-decoration: underline; } .legend { font-size: smaller; background: rgb(255,255,255) transparent; background: rgba(255,255,255,0.9); padding: 2px; border-radius: .25em; -moz-border-radius: .25em; } .legend span { border-radius: .25em; -moz-border-radius: .25em; } .statdiv canvas { background: rgb(255,255,255) transparent; background: rgba(255,255,255,0.9); border-radius: .5em; -moz-border-radius: .5em; } .statdiv table { margin: 0 auto; text-align: right; border-collapse:collapse; font-size: 150%; color: black; } .statdiv td, .statdiv th { padding: 0.2em; } .statdiv .total td { /*font-weight:bold; border-top: thin solid black; */ } $d) { $k = $k % count($darkColours); $thisDark = $darkColours[$k]; $thisPale = $paleColours[$k]; echo "#$d {\n"; echo " border: .2em solid $thisDark;\n"; echo " background-color: $thisPale;\n"; echo "}\n\n"; echo "#$d h4 {\n"; echo " background-color: $thisDark;\n"; echo "}\n\n"; echo "#$d span.value {\n"; echo " border: .1em solid $thisDark;\n"; echo " color: $thisDark;\n"; echo "}\n\n"; echo "#$d canvas {\n"; echo " border: .1em solid $thisDark;\n"; echo "}\n\n"; } } else { ?> .statdiv { border: .1em solid black; //background-color: #eeeeee; } .statdiv h4 { background-color: #041e42; } .statdiv span.value { border: .1em solid black; color: black; } .statdiv canvas { border: .1em solid black; } p.modified { font-size: 100%; text-align: right; padding: 0 0.4em; min-height: 0; height: auto; margin: 0; } p.tags { font-size: 110%; text-align: left; padding: 0 0.4em; min-height: 0; height: auto; margin: 0; } p.download { font-size: 100%; text-align: left; padding: 0 0.4em; min-height: 0; height: auto; margin: 0; } .tag { border: .1em solid #222222; background-color: #eeeeee; color: black; border-radius: .5em; -moz-border-radius: .5em; padding: 0 .5em; margin: 0 .5em; } .tag.selected { color: white; font-weight: bold; background-color: #222222; } .tag:hover { color: white; background-color: #222222; } #credits { clear: both; padding-top: 1em; text-align: center; } #Utility-sitename { text-align: left; } #boxes { content: ""; display: table; clear: both; } h2 { font-family: "crimson pro"; font-weight: 400; } h4 { font-family: "crimson pro"; font-weight: 400; } .banner { //vertical-align: middle; //font-size: 2.5em; } div.numberbox { display: flex; flex-direction: column; background: #007288; height: 140px; width: 140px; float: left; margin-right: 10px; text-align: center; color: white; align-items: center; border-radius: 5px; } div.servicebox { display: flex; flex-direction: column; background: #487a7b; height: 140px; width: 140px; float: left; margin-right: 10px; text-align: center; color: white; align-items: center; border-radius: 5px; } .title { font-family: "crimson pro"; font-size: 20px; text-align: center; margin-top: 10px; } .number { display: flex; align-items: center; font-family: "source sans pro"; color: white; height: 100%; font-size: 30px; margin-top: -30px; align-content: center; } span.box-head { width: 50%; float: left; }