more consistent style in dedicated pages #116

* introduce new variables for colors in single pages
* colors default to light section settings
* adapt the class selector in theme.scss to match the html
* use new variables in the page-template class
This commit is contained in:
Felix Frank 2023-10-01 16:54:28 +02:00
parent dad8d5e408
commit 1be26f8549
2 changed files with 7 additions and 1 deletions

View file

@ -216,7 +216,10 @@ a.fn-item {
}
/* ======= Single pages =========== */
.post-template {
.page-template {
background-color: var(--single-page-bg-color);
color: var(--single-page-text-color);
// Tweak the .post wrapper style
.post {

View file

@ -34,6 +34,9 @@
/* Light&Dark section `code` a bit darker than 'Light section - background color' */
--section-uni-code-bg-color: #e0ded7;
/* === Single pages=== */
--single-page-text-color: var(--section-light-text-color);
--single-page-bg-color: var(--section-light-bg-color);
/* === Footer === */
--footer-color-background: #22343a;