about summary refs log tree commit diff
path: root/served/things/memoryleak/memoryleak.css
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-04-14 02:41:40 -0500
committergennyble <gen@nyble.dev>2024-04-14 02:41:40 -0500
commit0ccf8f1cbcec01271334ec78208f0b7a17f263bd (patch)
treed93e360b3dffcf95e13ffef063c37c1542693c90 /served/things/memoryleak/memoryleak.css
parent7a4d1700a2bb7a5ae69fdddf0d86ff17bd7d12e8 (diff)
download∞-0ccf8f1cbcec01271334ec78208f0b7a17f263bd.tar.gz
∞-0ccf8f1cbcec01271334ec78208f0b7a17f263bd.zip
Make a things page for memoryleak my beloved
Diffstat (limited to 'served/things/memoryleak/memoryleak.css')
-rw-r--r--served/things/memoryleak/memoryleak.css48
1 files changed, 48 insertions, 0 deletions
diff --git a/served/things/memoryleak/memoryleak.css b/served/things/memoryleak/memoryleak.css
new file mode 100644
index 0000000..7ba1aff
--- /dev/null
+++ b/served/things/memoryleak/memoryleak.css
@@ -0,0 +1,48 @@
+#downloads {
+	display: flex;
+	flex-direction: column;
+}
+
+#downloads>ul {
+	margin: 0;
+	list-style: square;
+}
+
+code {
+	background-color: var(--background-dim);
+	padding: 1px 4px;
+	border-radius: 4px;
+}
+
+/*
+#ifdef  FLOAT_HELL
+#define FLOAT_HELL
+
+this is so i can have the downloads section float to the right on wide screens,
+but shove it at the bottom on narrow screens.
+*/
+
+#float-hell {
+	display: block;
+}
+
+#downloads {
+	float: right;
+	width: 33%;
+	margin-left: 0.5rem;
+}
+
+@media (max-width: 30rem) {
+	#float-hell {
+		display: grid;
+		grid-template-rows: 1fr;
+	}
+
+	#downloads {
+		grid-row-start: 100;
+		width: 100%;
+		margin-left: none;
+	}
+}
+
+/*#endif //FLOAT_HELL*/
\ No newline at end of file