From 0ccf8f1cbcec01271334ec78208f0b7a17f263bd Mon Sep 17 00:00:00 2001 From: gennyble Date: Sun, 14 Apr 2024 02:41:40 -0500 Subject: Make a things page for memoryleak my beloved --- served/things/memoryleak/memoryleak.css | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 served/things/memoryleak/memoryleak.css (limited to 'served/things/memoryleak/memoryleak.css') 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 -- cgit 1.4.1-3-g733a5