about summary refs log tree commit diff
path: root/served/styles/common.css
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-03-13 05:32:02 -0500
committergennyble <gen@nyble.dev>2024-03-13 05:33:32 -0500
commit588919965350beefc08d8e382de727eb21295b0a (patch)
treeb523e54ff73907b40f754f81ac6e6117dce56e9c /served/styles/common.css
parent0b94c2293df9df5c1ff5307d2f169c3c30c02bc6 (diff)
download∞-588919965350beefc08d8e382de727eb21295b0a.tar.gz
∞-588919965350beefc08d8e382de727eb21295b0a.zip
march 13th, 2024
this is what was published on the 10th, here.
https://amble.quest/notice/AfhzCKhLrynnNg5Qsi
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