refactor: add standardized spacing variables and more style cleanup (#1287)

* refactor: add standardized spacing variables and more style cleanup

* refactor: rename `spacing-xxl` to `spacing-2xl` and introduce `spacing-3xl` for consistent spacing variables.

* refactor: Migrate related content styling to use the `subsection-list` component with updated layout adjustments.

* style: adjust padding values for article list tiles.

* refactor: Introduce shadow variables and dynamic spacing to prevent shadow cutoff in list layouts.

* refactor: relocate dark scheme Mermaid variables within the root scope.
This commit is contained in:
Jimmy
2026-03-05 12:29:48 +01:00
committed by GitHub
parent 88468ad84e
commit 0ad02c5c0f
14 changed files with 157 additions and 133 deletions
+4 -4
View File
@@ -35,7 +35,7 @@
position: relative;
--sidebar-avatar-size: 100px;
--sidebar-element-separation: 20px;
--sidebar-element-separation: var(--spacing-lg);
--emoji-size: 40px;
--emoji-font-size: 20px;
@@ -48,7 +48,7 @@
@include respond(2xl) {
--sidebar-avatar-size: 120px;
--sidebar-element-separation: 25px;
--sidebar-element-separation: var(--spacing-xl);
--emoji-size: 40px;
}
@@ -67,7 +67,7 @@
}
.site-meta {
gap: 5px;
gap: var(--spacing-xs);
}
.site-name {
@@ -144,7 +144,7 @@
.site-meta {
display: flex;
flex-direction: column;
gap: 10px;
gap: var(--spacing-sm);
justify-content: center;
}