diff options
Diffstat (limited to 'served/things/memoryleak/memoryleak.css')
-rw-r--r-- | served/things/memoryleak/memoryleak.css | 48 |
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 |