diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-05-26 00:04:57 +0300 |
---|---|---|
committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-05-26 00:04:57 +0300 |
commit | e1940891215e978f09e5d5c27b78388b3c3340b6 (patch) | |
tree | 4d65336f0f2f193cd308a24aaa7f98f68038f93b | |
parent | 2451347ebcb0716252e9f2875dc3eed29cf98691 (diff) |
Adjust custom color
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/partials/theme-color.html | 14 | ||||
-rw-r--r-- | static/css/hyde.css | 5 |
3 files changed, 20 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index be175ac..36ba26e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,6 +19,9 @@ licenseURL = "https://creativecommons.org/licenses/by-sa/4.0" builtWith = true mainSections = ["post"] +## Set custom theme color. +# themeColor = "#fc2803" + [[params.socialIcons]] icon = "fa-linkedin" title = "Linkedin" diff --git a/layouts/partials/theme-color.html b/layouts/partials/theme-color.html index 0f624af..9e69895 100644 --- a/layouts/partials/theme-color.html +++ b/layouts/partials/theme-color.html @@ -8,6 +8,20 @@ border-color: {{ . }}; } + .pagination li a { + color: {{ . }}; + border: 1px solid {{ . }}; + } + + .pagination li.active a { + background-color: {{ . }}; + } + + .pagination li a:hover { + background-color: {{ . }}; + opacity: 0.75; + } + footer a, .content a, .related-posts li a:hover { diff --git a/static/css/hyde.css b/static/css/hyde.css index 6ee3e65..4f41617 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -246,12 +246,13 @@ ul.posts { .pagination li a:hover { color: #fff; - background: rgba(67, 118, 122, 0.75); + background-color: #49757a; + opacity: 0.75; } .pagination li.active a { color: #fff; - background: #49757a; + background-color: #49757a; } .pagination li.disabled a { |