From e867a1235631a4425c09c3bf255f8d0987ea86ff Mon Sep 17 00:00:00 2001 From: daudix Date: Wed, 30 Oct 2024 20:56:30 +0300 Subject: [PATCH] Margin and variables stuff --- CHANGELOG.md | 6 ++++++ content/mods/index.md | 20 +++++++++++--------- sass/_comments.scss | 2 +- sass/_crt.scss | 6 +----- sass/_footer.scss | 5 ++--- sass/_general.scss | 10 ++++------ sass/_nav.scss | 3 +-- sass/_variables.scss | 15 +++++++++++---- templates/base.html | 4 ++-- templates/partials/nav.html | 2 +- 10 files changed, 40 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3af1517..8267d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ``. - 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 `