summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--default.css44
1 files changed, 41 insertions, 3 deletions
diff --git a/default.css b/default.css
index ddd0982..768def3 100644
--- a/default.css
+++ b/default.css
@@ -1,5 +1,29 @@
+:root {
+	--background: #fff;
+	--foreground: #222;
+	--accent: #c29;
+	--dim: #777;
+}
+
+@media (prefers-color-scheme: dark) {
+	:root {
+		--background: #111;
+		--foreground: #bbb;
+	}
+}
+
 html {
 	font-family: monospace;
+	color: var(--foreground);
+	background-color: var(--background);
+}
+
+a, a:visited {
+	color: var(--accent);
+	text-decoration: none;
+}
+a:hover {
+	text-decoration: underline;
 }
 
 body {
@@ -17,7 +41,7 @@ nav {
 	flex-wrap: wrap;
 	align-items: center;
 	justify-content: space-between;
-	margin-bottom: 1em;
+	margin-bottom: 1.5em;
 }
 
 nav ol {
@@ -49,6 +73,13 @@ tr td:not(:last-child) {
 td.time {
 	white-space: nowrap;
 }
+td.time a {
+	color: var(--dim);
+}
+tr:target td.time a {
+	color: var(--accent);
+	text-decoration: underline;
+}
 
 td.nick {
 	text-align: right;
@@ -67,13 +98,20 @@ tr.notice td.nick span::before, tr.notice td.nick span::after {
 }
 
 footer {
-	margin-top: 1em;
+	font-size: 0.83em;
+	color: var(--dim);
+	margin-top: 1.5rem;
 	display: flex;
 	flex-wrap: wrap;
 	justify-content: space-between;
 }
+footer a, footer a:visited {
+	color: var(--dim);
+}
 footer span[title] {
+	cursor: help;
+}
+footer span[title]:hover {
 	text-decoration: underline;
 	text-decoration-style: dotted;
-	cursor: help;
 }
2019-02-25Update tag colorsJune McEnroe 2019-02-25Add color to tagsJune McEnroe 2019-02-25Remove tag X macros againJune McEnroe 2019-02-25Add M-a to switch to hot or unread windowJune McEnroe 2019-02-25Refactor uiReadJune McEnroe 2019-02-24Scroll by full pages with PageUp/PageDownJune McEnroe 2019-02-23Clarify /window documentationJune McEnroe 2019-02-23Use first word of params in input commandsJune McEnroe 2019-02-23Add C-n and C-p key bindings to switch windowsJune McEnroe 2019-02-23Change example command to join #ascii.town on freenodeJune McEnroe 2019-02-23Call def_prog_mode after termNoFlowJune McEnroe 2019-02-22Move IRC formatting reset to C-sJune McEnroe 2019-02-22Disable terminal flow controlJune McEnroe 2019-02-22Bind up and down arrows to scrollJune McEnroe 2019-02-22Remove topic TODOJune McEnroe 2019-02-22Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe