Add separator between articles in the classic mod

This commit is contained in:
daudix
2024-10-16 06:18:43 +03:00
parent 3ce06a6a69
commit 76849cd98e
3 changed files with 8 additions and 1 deletions

View File

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Add `classic-article-list` mod for returning the classic article list style.
- Support `fediverse:creator` meta tag. - Support `fediverse:creator` meta tag.
### Changed ### Changed

View File

@ -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: 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 ```scss
@use "../themes/duckquill/sass/mods/classic-article-list"; @use "../themes/duckquill/sass/mods/classic-article-list";

View File

@ -6,10 +6,16 @@
transition: none; transition: none;
box-shadow: none; box-shadow: none;
border-radius: 0; border-radius: 0;
border-block-end: max(1px, 0.0625rem) solid var(--fg-muted-2);
background: none; background: none;
padding: 0; padding: 0;
padding-block-end: 1rem;
overflow: visible; overflow: visible;
&:last-of-type {
border-block-end: none;
}
&:active { &:active {
transform: none; transform: none;
} }