Margin and variables stuff

This commit is contained in:
daudix
2024-10-30 20:56:30 +03:00
parent 726cd704d4
commit e867a12356
10 changed files with 40 additions and 33 deletions

View File

@ -9,12 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Add `bg-overlay` CSS variable to make setting page background image easier.
- Add `classic-article-list` mod for returning the classic article list style.
- Add `config.extra.debug_no_styles` config variable for debugging.
- Add `config.extra.nav.auto_hide` config variable for making the navbar auto-hide unless hovered or keyboard-focused (#106).
- Add `config.extra.show_backlinks` config variable for showing the backlinks button for linked articles in the article's quick actions.
- Add `external` class to https:// links in navbar/footer.
- Add `fediverse:creator` meta tag.
- Add `shadow-glow` and `text-shadow-glow` CSS variables so that it's easier to use these.
- Add `title` class for use on `<strong>`.
- Add back support for lazy async images in comments.
- Add missing translation strings for author separator and conjunctions.
@ -31,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **[BREAKING]** Rename `nav-bg` CSS variable to `glass-bg`.
- **[BREAKING]** Rename the visually hidden `hidden` class to `visually-hidden`. `hidden` is now used to completely hide the elements, including screen readers.
- Add default width/height to the `icon` class.
- Adjust navbar, main content, and footer margins.
- Improve the look of threads in comments.
- Keep images slightly rounded on hover.
- Make `emoji` class available outside of comments.
@ -38,9 +41,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Make the shortcodes code much cleaner.
- Remove top/bottom margin from the first/last element in `<aside>`.
- Rename `show_read_time` to `show_reading_time`.
- Rename main content ID from `main` to `main-content`.
- Replace "Go Back" button with "Go Home" on 404.
- Rewrite JavaScript scripts to not rely on being inline, but rather function as separate files, as required by Content Security Policy.
- Tighten the default Content Security Policy.
- Use `main` for main content instead of `div` with a `container` class.
- Use Zola's built-in reading time variable instead of the custom implementation (#102).
### Fixed
@ -52,6 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- **[BREAKING]** Remove `container` class in favor of styling the `main` element directly.
- Remove `inline-button` class and instead apply button styles by default.
## [5.4.0](https://codeberg.org/daudix/duckquill/compare/v5.3.2...v5.4.0)