diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-10 22:27:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-11-13 18:38:17 +0100 |
commit | 0d0dab23fb0ecf16a2abf54295746d7dbd87c2d7 (patch) | |
tree | 84c1ba816d81659860630fa7eb5a798605425161 /public/style.css | |
parent | 66450e7666abdaced2347825a4b9e13bc0528251 (diff) | |
download | server-0d0dab23fb0ecf16a2abf54295746d7dbd87c2d7.tar.gz |
Massive SQL cleanup.
Diffstat (limited to 'public/style.css')
-rw-r--r-- | public/style.css | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/public/style.css b/public/style.css index 20865a4..f72cdb7 100644 --- a/public/style.css +++ b/public/style.css @@ -24,22 +24,51 @@ h2 { margin-left: -1px; } .main hr { max-width: 50rem; margin-right: auto; margin-left: 0; } .main hr { border: none; border-top: 2px dotted brown; } .main hr + p { font-style: italic; } -table.wide { min-width: 50rem; } +.is_active { background-color: lemonchiffon; } .error { color: brown; font-style: italic; white-space: pre-wrap; } .warning { color: brown; } .warning::before { content: "\26a0"; } -.logo { float: left; margin: 0 20px 5px 0; box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); height: 200px; } +img.logo { + float: left; + margin: 0 20px 5px 0; + box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.5); + height: 200px; +} +img.avatar { + float: left; + margin: 0 20px 5px 0; + box-shadow: 2px 2px 4px 0px rgba(0,0,0,.5); + width: 80px; height: 80px; +} + table { border-collapse: collapse; } +tfoot td { background-color: gainsboro; } th { text-align: left; background-color: gainsboro; } th, td { border: 1px solid black; } th, td { padding: 3px 1ex; } + +table.game { min-width: min(50rem,100%); } +table.game .title { white-space: nowrap; } +table.game .scenario { white-space: nowrap; } +table.game .role { white-space: nowrap; } +table.game .time { white-space: nowrap; } +table.game td a { text-decoration: none; color: black; } +table.game td.command a { text-decoration: underline; color: blue; } + +table.post { min-width: min(50rem,100%); } +table.post .author { white-space: nowrap; width: 10rem; } +table.post .time { white-space: nowrap; text-align: right; width: 5rem; } +table.post .replies { width: 0; } +table.post .unread { background-color: lightyellow; } +table.post .body { white-space: pre-wrap; padding: 10px 10px; } +table.post th a { text-decoration: none; color: black; } +table.post td:not(.body):not(.edit) a { text-decoration: none; color: black; } + label { user-select: none; } button, input, select { font-size: 1rem; margin: 5px 0; } input[type="text"], input[type="password"], textarea { padding: 5px; } select { padding-right: 20px; } form { display: inline; } -.nowrap { white-space: nowrap; } -.is_your_turn { background-color: lemonchiffon; } button, select { margin: 5px 10px 5px 0; padding: 1px 10px; |