X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/8f9616f198b617214724183e32d598339c3bbbc4..52ca8a3270adcdcf1423217216fe818700acc75f:/templates/disorder.css diff --git a/templates/disorder.css b/templates/disorder.css index 92c1768..0bb6cd3 100644 --- a/templates/disorder.css +++ b/templates/disorder.css @@ -1,7 +1,11 @@ -/* default colors */ +/* default font and colors */ body { color: black; background-color: white + font-family: serif; + font-weight: normal; + font-size: 12pt; + font-variant: normal } /* general link colors */ @@ -17,11 +21,26 @@ a:active { color: red } +/* title bars */ h1.title { font-family: sans-serif; font-weight: bold; + font-size: 18pt; + font-variant: normal; text-align: center; - font-size: 18pt + border: 1px solid black; + padding: 0.2em; + background-color: #e0e0e0; + display: block +} + +/* secondary titles */ +h2 { + font-family: sans-serif; + font-weight: bold; + font-size: 16pt; + font-variant: normal; + display: block } /* playing, recent and new ***************************************************/ @@ -143,9 +162,7 @@ td.length { td.button { text-align: center; padding: 1px; - border-color: black; - border-width: 1px; - border-style: solid; + border: 1px solid black; background-color: #c0c0c0; color: #000000 } @@ -158,12 +175,30 @@ p.mgmt,form.volume { /* first letter choice */ p.choosealpha { - text-align: center + text-align: center; + font-size: 140%; + font-weight: bold; + border: 1px solid black; + padding: 0.2em } /* containing directory */ p.directoryname { - font-weight: bold + font-weight: bold; + background-color: #ffffe0; /* pastel yellow */ + padding: 0.2em +} + +a.thisdirectory:link { + color: black +} + +a.thisdirectory:visited { + color: black +} + +a.thisdirectory:active { + color: red } /* directories */ @@ -172,15 +207,20 @@ div.directories { /* heading for directories */ p.directories { - font-weight: bold + font-weight: bold; + display: block; + background-color: #e0ffe0; /* pastel green */ + padding: 0.2em; + padding-left: 1.2em } /* one directory */ p.directory { - margin-left: 1em + margin-left: 2em } a.directory { + text-decoration: none; } a.directory:link { @@ -201,12 +241,16 @@ div.files { /* heading for files */ p.files { - font-weight: bold + font-weight: bold; + display: block; + background-color: #e0ffe0; /* pastel green */ + padding: 0.2em; + padding-left: 1.2em } /* one file */ p.file { - margin-left: 1em + margin-left: 2em } a.file { @@ -225,6 +269,11 @@ a.file:active { color: red } +/* all files */ +p.allfiles { + margin-left: 1.2em +} + /* buttons *******************************************************************/ /* a.allfiles turns up in track choice @@ -309,6 +358,11 @@ a.search_title:active { color: red } +form.search { + border: 1px solid black; + padding: 0.2em +} + /* sidebar *******************************************************************/ div#sidebar { @@ -452,6 +506,15 @@ input.prefs_name,input.prefs_value { font-weight: bold } +span.configuration { + font-family: monospace +} + +h2.helptitle { + background-color: #e0ffe0; /* pastel green */ + padding: 0.2em +} + /* volume ********************************************************************/ p.volume { @@ -460,25 +523,55 @@ p.volume { /* login page ****************************************************************/ -form.login,form.register,form.edituser { - border-style: solid; - border-width: 1px; - border-color: black +form.login { + border: 1px solid black; + background-color: #e0ffe0 /* pastel green */ +} + +form.register { + border: 1px solid black; + background-color: #e0e0ff /* pastel blue */ +} + +form.edituser { + border: 1px solid black; + background-color: #ffffe0 /* pastel yellow */ } form.logout { border-style: none; } +div.loginstatus { + border: 1px solid black; + background-color: #ffff00 /* solid yellow */ +} + +div.loginstatus > p { + margin: 0.2em +} + p.loginstatus { - color: green; - font-size: 150% + color: #0000ff; /* solid blue */ + font-size: 150%; + font-weight: bold } /* errors ********************************************************************/ +div.error { + border: 1px solid black; + background-color: #ff0000; /* solid red */ + color: white; + font-size: 150%; + font-weight: bold +} + +div.error > p { + margin: 0.2em +} + p.error { - color: red } /* miscelleanous *************************************************************/ @@ -486,7 +579,9 @@ p.error { /* credits */ p.credits { font-size: small; /* because visually intrusive */ - text-align: right + text-align: right; + background-color: #e0e0e0; + padding: 0.2em } /* This file is part of DisOrder.