# HG changeset patch # User Matti Hamalainen # Date 1351039528 -10800 # Node ID 0acf6e16af93ebce9d5909d7b00bd277444abf55 # Parent 7f5deab3241702ae88d284528d815fbba5dc8da1 Add another stylesheet, a dark one. diff -r 7f5deab32417 -r 0acf6e16af93 index.php --- a/index.php Wed Oct 24 03:44:43 2012 +0300 +++ b/index.php Wed Oct 24 03:45:28 2012 +0300 @@ -13,7 +13,7 @@ $baseURI = "http://tnsp.org/luk/"; $pageCSSData = array("cookie" => "lukcss", "prefix" => $baseURI."luk"); -$pageCSSAlts = array("blue" => "1", "old" => "2", "purple" => "3"); +$pageCSSAlts = array("blue" => "1", "old" => "2", "purple" => "3", "dark" => "4"); $pageLanguages = array("fi", "en"); diff -r 7f5deab32417 -r 0acf6e16af93 luk4.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/luk4.css Wed Oct 24 03:45:28 2012 +0300 @@ -0,0 +1,227 @@ +body { + margin: 1em; + background: black; + color: white; + + font-family: Verdana, Arial, helvetica, sans-serif; + font-size: 10pt; +} + +a, a:visited, a:active { + text-decoration: underline; + color: white; +} + +a:hover { + text-decoration: underline; + color: #555; +} + +h1, h2, h3 { + font-family: Arial, sans-serif; +// font-family: impact; + font-weight: normal; + color: white; + background: black; + padding: 5pt; + padding-bottom: 8px; + text-shadow: 2px 2px 2px #000; + -moz-border-radius: 8pt; + border-radius: 8pt; + box-shadow: 0px 0px 6px rgba(255,255,255,0.7); +} + +#csssel { + position: absolute; + right: 1em; + top: 1em; + font-size: 6pt; + background: black; + padding: 5pt; + -moz-border-radius: 5pt; + border-radius: 5pt; + text-shadow: 1px 1px 1px #000; + box-shadow: 0px 0px 4px rgba(255,255,255,0.9); +} + +#ctitle { + text-align: right; + font-size: 8pt; +} + +#csssel a { + padding: 2pt; + color: #ccc; + text-decoration: none; +} + +#csssel a:hover { + text-decoration: underline; +} + +#clang { + text-align: right; + font-weight: bold; +} + +#clang a { + color: #f00; +} + +#contents { + z-index: 5; + position: absolute; + right: 0.5em; + left: 0.5em; + padding: 10pt; + -moz-border-radius: 10pt; + border-radius: 10pt; + text-shadow: 1px 1px 1px rgba(0,0,0,0.4); + box-shadow: 0px 0px 8px rgba(255,255,255,0.9); +} + + +table { + border: 0px; + padding: 0px; + margin: 0px; +} + +tr { + border: 0px; + padding: 0px; + margin: 0px; +} + +table.timetable th { + padding: 3pt; + margin: 3pt; + text-align: center; + +// background: rgb(30,45,55); + color: #ccc; + -moz-border-radius: 5pt; + border-radius: 5pt; + box-shadow: 0px 0px 4px rgba(255,255,255,0.4); +} + +td { + padding: 4px; + margin: 2px; + color: #ccc; + -moz-border-radius: 5pt; + border-radius: 5pt; +} + +table.timetable { + font-size: 10pt; +} + +table.timetable td > a, table.timetable td > a:visited, table.timetable td > a:active { + text-decoration: none; + text-shadow: 2px 2px 2px #000; + color: #fff; +} + +table.timetable td > a:hover { + color: yellow; +} + + +th.hours { + white-space: nowrap; +} + +table.timetable * table { + width: 100%; + height: 100%; +} + +table.timetable tr:hover th { + color: red; +} + +td.clgrouped, td.clgrouped * td { + background: rgb(20,35,45); +} + +td.clnothing, td.clnothing * td { +} + +td.clnormal, td.clnormal * td { + background: rgb(20,35,35); +} + +td.clactive, td.clactive * td { + background: rgb(35,55,55); + border: 1px solid white; +} + +div.nhours { + text-align: right; +} + +div.nhours span { + background: black; + padding: 2pt; + border: 1px solid gray; +} + +#footer { + padding-top: 5pt; + font-size: 5pt; +} + +#controls { + padding: 0px; + margin: 0px; +} + +#controls table * { + padding: 0px; + margin: 0px; +} + +#controls a { + padding: 5pt; + margin-bottom: 30pt; + -moz-border-radius: 8px; + border-radius: 8px; + text-decoration: none; + color: white; + background: rgba(255,255,255,0.2); + box-shadow: 0px 0px 4px rgba(255,255,255,0.9); +} + +#controls a:hover { + color: white; + background: #666; + box-shadow: 0px 0px 4px rgba(255,255,255,0.9); +} + +#controls select { + background: white; + border: 1px solid white; + color: black; + + padding: 5pt; + -moz-border-radius: 8px; + border-radius: 8px; + box-shadow: 0px 0px 6px rgba(255,255,255,0.9); +} + +#controls input.submit { + color: white; + background: rgba(200,255,200,0.2); + border: 1px solid rgba(255,255,255,0.3); + + padding: 5pt; + -moz-border-radius: 8px; + border-radius: 8px; + box-shadow: 0px 0px 4px rgba(255,255,255,0.9); +} + +#controls input.submit:hover { + color: white; + background: rgba(200,255,200,0.5); +}