summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2013-05-20 19:13:34 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2013-05-20 19:13:34 +0200
commitd5a4b8d4382ffdf9e47119144da663b6852ae0c4 (patch)
treeac5f00e536637f5d668689e27e68ca1d981c3344 /style.css
parent2eb197dc04dc33443d05b910c7c03fb215ebc478 (diff)
add external stylesheet for easier modification
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'style.css')
-rw-r--r--style.css73
1 files changed, 73 insertions, 0 deletions
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..52b981d
--- /dev/null
+++ b/style.css
@@ -0,0 +1,73 @@
+body {
+ font-size: 9pt;
+ color: #333;
+ background-color: #fff;
+ padding: 0;
+ margin: 0;
+ font-family: monospace;
+}
+body.noframe {
+ overflow: hidden;
+}
+body.frame {
+ overflow: hidden;
+ overflow-y: auto;
+}
+#items table tr td {
+ white-space: nowrap;
+ font-size: 9pt;
+ padding: 1px;
+}
+h2 {
+ font-size: 14pt;
+ margin: 0.5em 0;
+}
+#sidebar a, #items a {
+ display: block;
+}
+#sidebar ul, #sidebar ul li {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+h2 a, #sidebar a {
+ color: inherit;
+}
+#sidebar {
+ background-color: inherit;
+}
+#sidebar a {
+ padding: 5px 3px 5px 10px;
+}
+div#items {
+ padding: 0 15px;
+}
+body.noframe div#sidebar {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 175px;
+ height: 100%;
+ overflow: hidden;
+ overflow-y: auto;
+ z-index: 999;
+}
+body.noframe div#items {
+ left: 175px;
+ position: absolute;
+ height: 100%;
+ top: 0;
+ right: 0;
+ overflow: auto;
+}
+body.noframe div#items.nosidebar {
+ left: 0px;
+}
+body.frame #sidebar br {
+ display: none;
+}
+body.frame .content {
+ padding: 0 1em;
+ font-family: sans;
+ font-size: medium;
+}