Add separator between articles in the classic mod
This commit is contained in:
@ -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
|
||||||
|
@ -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:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
@use "../themes/duckquill/sass/mods/classic-article-list";
|
@use "../themes/duckquill/sass/mods/classic-article-list";
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user