Adds configuration for text-color (#694)

This commit is contained in:
Amy Troschinetz 2020-08-07 20:07:45 -07:00 committed by GitHub
parent 8c0156c1af
commit ac04e14954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
## Unreleased version ## Unreleased version
- Adds configuration for page text color. (#694)
- Adds support for site level keywords page meta header. (#691) - Adds support for site level keywords page meta header. (#691)
- Adds support for custom meta-theme site color. (#692) - Adds support for custom meta-theme site color. (#692)
- Add support for `site-css` config parameter to provide site-level CSS files. (#695) - Add support for `site-css` config parameter to provide site-level CSS files. (#695)

View File

@ -91,6 +91,7 @@ navbar-col: "#F5F5F5"
navbar-text-col: "#404040" navbar-text-col: "#404040"
navbar-border-col: "#EAEAEA" navbar-border-col: "#EAEAEA"
page-col: "#FFFFFF" page-col: "#FFFFFF"
text-col: "#404040"
link-col: "#008AFF" link-col: "#008AFF"
hover-col: "#0085A1" hover-col: "#0085A1"
footer-col: "#F5F5F5" footer-col: "#F5F5F5"

View File

@ -13,7 +13,7 @@ html {
body { body {
font-family: 'Lora', 'Times New Roman', serif; font-family: 'Lora', 'Times New Roman', serif;
font-size: 1.125rem; font-size: 1.125rem;
color: #404040; color: {{ site.text-col | default: "#404040" }};
position: relative; position: relative;
background-color: {{ site.page-col | default: "#FFFFFF" }}; background-color: {{ site.page-col | default: "#FFFFFF" }};
{% if site.page-img %} {% if site.page-img %}
@ -447,7 +447,7 @@ footer .footer-custom-content {
.post-preview a { .post-preview a {
text-decoration: none; text-decoration: none;
color: #404040; color: {{ site.text-col | default: "#404040" }};
} }
.post-preview a:focus, .post-preview a:focus,
@ -761,7 +761,7 @@ footer .footer-custom-content {
padding: 0.625rem 0.3125rem; padding: 0.625rem 0.3125rem;
background-color: #FFF; background-color: #FFF;
border-radius: 0; border-radius: 0;
color: #404040; color: {{ site.text-col | default: "#404040" }};
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.pagination .page-item .page-link { .pagination .page-item .page-link {