diff --git a/CHANGELOG.md b/CHANGELOG.md index 1302502..ac2af8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Add `classic-article-list` mod for returning the classic article list style. - Support `fediverse:creator` meta tag. ### Changed diff --git a/content/mods/index.md b/content/mods/index.md index a459126..0dad954 100644 --- a/content/mods/index.md +++ b/content/mods/index.md @@ -46,7 +46,7 @@ Most of the time contrast should be okay, but what if it's not? Simply adjust th Prefer the less fancy look of the article list used in Duckquill some time ago (to some extent)? It can be done with the `classic-article-list` mod: -![classic article list](https://files.catbox.moe/bktey7.png) +![classic article list](https://files.catbox.moe/yf5feo.png) ```scss @use "../themes/duckquill/sass/mods/classic-article-list"; diff --git a/sass/mods/_classic-article-list.scss b/sass/mods/_classic-article-list.scss index 5916ce9..d07d812 100644 --- a/sass/mods/_classic-article-list.scss +++ b/sass/mods/_classic-article-list.scss @@ -6,10 +6,16 @@ transition: none; box-shadow: none; border-radius: 0; + border-block-end: max(1px, 0.0625rem) solid var(--fg-muted-2); background: none; padding: 0; + padding-block-end: 1rem; overflow: visible; + &:last-of-type { + border-block-end: none; + } + &:active { transform: none; }