Skip to content

Commit

Permalink
Adds configuration for text-color (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexicalunit authored Aug 8, 2020
1 parent 8c0156c commit ac04e14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Unreleased version

- Adds configuration for page text color. (#694)
- Adds support for site level keywords page meta header. (#691)
- Adds support for custom meta-theme site color. (#692)
- Add support for `site-css` config parameter to provide site-level CSS files. (#695)
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ navbar-col: "#F5F5F5"
navbar-text-col: "#404040"
navbar-border-col: "#EAEAEA"
page-col: "#FFFFFF"
text-col: "#404040"
link-col: "#008AFF"
hover-col: "#0085A1"
footer-col: "#F5F5F5"
Expand Down
6 changes: 3 additions & 3 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ html {
body {
font-family: 'Lora', 'Times New Roman', serif;
font-size: 1.125rem;
color: #404040;
color: {{ site.text-col | default: "#404040" }};
position: relative;
background-color: {{ site.page-col | default: "#FFFFFF" }};
{% if site.page-img %}
Expand Down Expand Up @@ -447,7 +447,7 @@ footer .footer-custom-content {

.post-preview a {
text-decoration: none;
color: #404040;
color: {{ site.text-col | default: "#404040" }};
}

.post-preview a:focus,
Expand Down Expand Up @@ -761,7 +761,7 @@ footer .footer-custom-content {
padding: 0.625rem 0.3125rem;
background-color: #FFF;
border-radius: 0;
color: #404040;
color: {{ site.text-col | default: "#404040" }};
}
@media (min-width: 768px) {
.pagination .page-item .page-link {
Expand Down

0 comments on commit ac04e14

Please sign in to comment.