diff options
author | Gyorgy Orban <o.gyorgy@gmail.com> | 2017-11-18 18:23:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 18:23:47 +0300 |
commit | 09fc42616b7247877765e76d6acc4393e0a11b4d (patch) | |
tree | fa47a8240aabdb4bc83f724d18a8415daf8db397 | |
parent | 0f403803674f93f08a71fc3049d7eee16c5d1800 (diff) | |
parent | 75be850a0756053b4f1107ee55caf6cd1a690769 (diff) |
Merge pull request #13 from gyorb/fix_style
rename and fix colors parameter
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/theme-colors.css | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -71,6 +71,6 @@ SectionPagesMenu = "main" background = "#101010" # background color for the site main = "#99cc66" text = "#dbdbdb" - code-quote-back = "#1D1F21" # background color for quotes and code blocks + code-quote-bg = "#1D1F21" # background color for quotes and code blocks copyright = "#404040" # copyright text color ~~~~ diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 020b4da..50d5c46 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -42,5 +42,5 @@ SectionPagesMenu = "main" background = "#101010" # background color for the site main = "#99cc66" text = "#dbdbdb" - code-quote-back = "#1D1F21" # background color for quotes and code blocks + code-quote-bg = "#1D1F21" # background color for quotes and code blocks copyright = "#404040" # copyright text color diff --git a/layouts/partials/theme-colors.css b/layouts/partials/theme-colors.css index d1f03d0..5f65d2e 100644 --- a/layouts/partials/theme-colors.css +++ b/layouts/partials/theme-colors.css @@ -6,17 +6,17 @@ body { a { color: {{ .Param "colors.text" }}; } pre { - background: {{ .Param "colors.code-back" }}; + background: {{ .Param "colors.code-quote-bg" }}; border: 1px solid {{ .Param "colors.text" }}; border-radius: 5px; } code { - background: {{ .Param "colors.code-back" }}; + background: {{ .Param "colors.code-quote-bg" }}; } blockquote { - background: {{ .Param "colors.code-back" }}; + background: {{ .Param "colors.code-quote-bg" }}; border-left: 3px solid {{ .Param "colors.text" }}; } |