Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gyorb/hugo-dusk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyorgy Orban <o.gyorgy@gmail.com>2017-11-18 18:23:47 +0300
committerGitHub <noreply@github.com>2017-11-18 18:23:47 +0300
commit09fc42616b7247877765e76d6acc4393e0a11b4d (patch)
treefa47a8240aabdb4bc83f724d18a8415daf8db397
parent0f403803674f93f08a71fc3049d7eee16c5d1800 (diff)
parent75be850a0756053b4f1107ee55caf6cd1a690769 (diff)
Merge pull request #13 from gyorb/fix_style
rename and fix colors parameter
-rw-r--r--README.md2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/theme-colors.css6
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index e052e71..4420db7 100644
--- a/README.md
+++ b/README.md
@@ -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" }};
}