diff options
author | gennyble <gen@nyble.dev> | 2024-03-13 05:32:02 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2024-03-13 05:33:32 -0500 |
commit | 588919965350beefc08d8e382de727eb21295b0a (patch) | |
tree | b523e54ff73907b40f754f81ac6e6117dce56e9c /served/bits/scrap/scrap.css | |
parent | 0b94c2293df9df5c1ff5307d2f169c3c30c02bc6 (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/bits/scrap/scrap.css')
-rw-r--r-- | served/bits/scrap/scrap.css | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/served/bits/scrap/scrap.css b/served/bits/scrap/scrap.css new file mode 100644 index 0000000..c863c7b --- /dev/null +++ b/served/bits/scrap/scrap.css @@ -0,0 +1,73 @@ +/* wide */ +@media (min-width: 44rem) { + .left { + float: left; + width: 50%; + margin: 0 16px 16px 0; + } + + .right { + float: right; + width: 50%; + margin: 0 0 16px 16px; + } + + .smright { + float: right; + width: 25%; + margin: 0 0 16px 16px; + } +} + +/* narrow */ +@media (max-width: 44rem) { + + .left, + .right { + display: block; + margin: 8px auto 16px auto; + width: min(50vh, 100%); + } + + .smright { + float: right; + width: 96px; + margin: 0 0 16px 16px; + } +} + +article { + overflow-y: auto; +} + +article>header { + display: flex; + flex-direction: row; + gap: 16px; + padding-bottom: 8px; + align-items: center; +} + +header>h2 { + margin: 0; +} + +header>time, +header>p { + color: var(--text-dim); + height: min-content; +} + +header>p { + font-style: italic; + margin: 0; +} + +article>p { + margin-top: 0; + margin-bottom: 16px; +} + +article>p:last-of-type { + margin-bottom: inherit; +} \ No newline at end of file |