about summary refs log tree commit diff
path: root/served/styles/common.css
diff options
context:
space:
mode:
Diffstat (limited to 'served/styles/common.css')
-rw-r--r--served/styles/common.css65
1 files changed, 65 insertions, 0 deletions
diff --git a/served/styles/common.css b/served/styles/common.css
new file mode 100644
index 0000000..b9c959b
--- /dev/null
+++ b/served/styles/common.css
@@ -0,0 +1,65 @@
+* {
+	box-sizing: border-box;
+}
+
+:root {
+	--text: #222;
+	--text-dim: #444;
+	--background: #FFF;
+	--background-dim: #F8F0F0;
+	--color-a: rgb(11, 113, 126);
+	--color-a-dim: rgb(7, 80, 90);
+}
+
+@media (prefers-color-scheme: dark) {
+	:root {
+		--text: #eee;
+		--text-dim: #bbb;
+		--background: #001;
+		--background-dim: #222;
+		--color-a: #3a8;
+		--color-a-dim: rgb(158, 228, 208);
+	}
+}
+
+html,
+body {
+	padding: 0;
+	margin: 0;
+}
+
+body {
+	font-size: 1.1rem;
+	line-height: 1.4;
+	font-family: sans-serif;
+	padding: 2rem 5vw;
+
+	color: var(--text);
+	background-color: var(--background);
+}
+
+a {
+	color: var(--color-a);
+}
+
+h1,
+h2,
+h3 {
+	font-family: serif;
+}
+
+#nav-access {
+	/* shove it above the page and make sure it's always on top*/
+	position: absolute;
+	top: -20rem;
+	left: 0;
+	width: 100%;
+	z-index: 1000000;
+
+	text-align: center;
+	font-size: 2rem;
+	list-style: none;
+	padding: 0;
+	margin: 0;
+	overflow: hidden;
+}
\ No newline at end of file