diff options
Diffstat (limited to 'sass/_archive.scss')
| -rw-r--r-- | sass/_archive.scss | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/sass/_archive.scss b/sass/_archive.scss new file mode 100644 index 0000000..32318f5 --- /dev/null +++ b/sass/_archive.scss @@ -0,0 +1,90 @@ +.compact-list, +.archive, +.software-list-full { + border-top: var(--rule); +} + +.note-list-item { + display: grid; + grid-template-columns: 8rem minmax(0, 1fr); + gap: 1.5rem; + padding-block: 1.25rem; + border-bottom: var(--rule); +} + +.note-list-item time { + color: var(--color-muted); + font-size: 0.8rem; +} + +.note-list-item h3 { + margin-bottom: 0.25rem; +} + +.note-list-item h3 a, +.software-list-item h3 a { + color: var(--color-text); +} + +.note-list-item p, +.software-list-item p { + color: var(--color-muted); + font-size: 0.95rem; +} + +.tag-list { + display: flex; + flex-wrap: wrap; + gap: 0.3rem 0.8rem; + margin-top: 0.45rem; + list-style: none; + font-size: 0.75rem; +} + +.tag-list a { + color: var(--color-muted); +} + +.archive-year { + display: grid; + grid-template-columns: 7rem minmax(0, 1fr); + gap: 2rem; + padding-block: 2rem; + border-bottom: var(--rule); +} + +.archive-year > h2 { + font-family: var(--font-mono); + font-size: 1rem; + font-weight: 500; +} + +.archive-year .note-list-item:first-child { + padding-top: 0; +} + +.archive-year .note-list-item:last-child { + padding-bottom: 0; + border-bottom: 0; +} + +.empty-state { + padding-block: 2rem; + border-block: var(--rule); + color: var(--color-muted); +} + +@media (max-width: 40rem) { + .archive-year, + .note-list-item { + grid-template-columns: 1fr; + } + + .archive-year { + gap: 1rem; + } + + .note-list-item { + gap: 0.25rem; + } +} |
