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:
parent
dad8d5e408
commit
1be26f8549
2 changed files with 7 additions and 1 deletions
|
|
@ -216,7 +216,10 @@ a.fn-item {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ======= Single pages =========== */
|
/* ======= Single pages =========== */
|
||||||
.post-template {
|
.page-template {
|
||||||
|
|
||||||
|
background-color: var(--single-page-bg-color);
|
||||||
|
color: var(--single-page-text-color);
|
||||||
|
|
||||||
// Tweak the .post wrapper style
|
// Tweak the .post wrapper style
|
||||||
.post {
|
.post {
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@
|
||||||
/* Light&Dark section `code` a bit darker than 'Light section - background color' */
|
/* Light&Dark section `code` a bit darker than 'Light section - background color' */
|
||||||
--section-uni-code-bg-color: #e0ded7;
|
--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 === */
|
||||||
--footer-color-background: #22343a;
|
--footer-color-background: #22343a;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue