diff luk1.css @ 48:d41b51cd4ae5

Implement switchable CSS support and a new default style + very minor code cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Oct 2012 14:02:24 +0300
parents
children 16aea8e5cb71
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/luk1.css	Wed Oct 17 14:02:24 2012 +0300
@@ -0,0 +1,202 @@
+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: rgb(10,114,133);
+	padding: 5pt;
+	padding-bottom: 8px;
+	text-shadow: 2px 2px 2px #000;
+	-moz-border-radius: 8pt;
+	border-radius: 8pt;
+}
+
+#csssel {
+	position: absolute;
+	right: 1em;
+	top: 1em;
+	font-size: 5pt;
+	background: rgb(10,114,133);
+	padding: 5pt;
+	-moz-border-radius: 5pt;
+	border-radius: 5pt;
+}
+
+#csssel a {
+	padding: 2pt;
+	color: #ccc;
+	text-decoration: none;
+}
+
+#csssel a:hover {
+	text-decoration: underline;
+}
+
+#contents {
+	z-index: 5;
+	position: absolute;
+	right: 0.5em;
+	left: 0.5em;
+	background: rgba(10,114,133,0.6);
+	padding: 10pt;
+	-moz-border-radius: 10pt;
+	border-radius: 10pt;
+	text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
+}
+
+
+table {
+	border: 0px;
+	padding: 0px;
+	margin: 0px;
+}
+
+tr {
+	border: 0px;
+	padding: 0px;
+	margin: 0px;
+}
+
+table.timetable th {
+	padding: 2px;
+	margin: 2px;
+	background: #444;
+	text-align: center;
+
+	background: rgba(10,114,133,0.6);
+	color: #ccc;
+	-moz-border-radius: 5pt;
+	border-radius: 5pt;
+}
+
+td {
+	padding: 4px;
+	margin: 2px;
+	background: rgba(0,84,103,0.7);
+	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(63,80,63);
+}
+
+td.clnothing {
+	background: rgb(0,84,103);
+}
+
+td.clnormal {
+}
+
+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;
+//	border: 1px solid rgba(10,114,133,0.3);
+	-moz-border-radius: 8px;
+	border-radius: 8px;
+	text-decoration: none;
+	color: white;
+	background: rgba(255,255,255,0.2);
+}
+
+#controls a:hover {
+	color: white;
+	background: rgba(255,255,255,0.5);
+}
+
+#controls select {
+	background: white;
+	border: 1px solid black;
+
+	padding: 5pt;
+	-moz-border-radius: 8px;
+	border-radius: 8px;
+}
+
+#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;
+}
+
+#controls input.submit:hover {
+	color: white;
+	background: rgba(200,255,200,0.5);
+}