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

github.com/VVelox/hugo-dusky-neon-potato.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-05 12:16:39 +0300
committerZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-05 12:16:39 +0300
commit35d87f8b8c44368a439bc852d2d06d29927c77a8 (patch)
tree9996084ad21ff88891aa51f4d4c4d549a0cbee96
parent481dc3619b2f428896ed194abc3e41e2e0f64c99 (diff)
add the ability to set the header decorations
-rw-r--r--layouts/partials/theme-colors.css30
1 files changed, 24 insertions, 6 deletions
diff --git a/layouts/partials/theme-colors.css b/layouts/partials/theme-colors.css
index 56c4aea..9d46605 100644
--- a/layouts/partials/theme-colors.css
+++ b/layouts/partials/theme-colors.css
@@ -10,12 +10,30 @@ th {
}
/* generic headers */
-h1{ color: {{ .Param "colors.h1" | default "#FF00FF" }}; }
-h2{ color: {{ .Param "colors.h2" | default "#DA70D6" }}; }
-h3{ color: {{ .Param "colors.h3" | default "#EE82EE" }}; }
-h4{ color: {{ .Param "colors.h4" | default "#8B008B" }}; }
-h5{ color: {{ .Param "colors.h5" | default "#9932CC" }}; }
-h6{ color: {{ .Param "colors.h6" | default "#800080" }}; }
+h1{
+ color: {{ .Param "colors.h1" | default "#FF00FF" }};
+ text-decoration: {{ .Param "colors.h1-decoration" | default "none" }};
+}
+h2{
+ color: {{ .Param "colors.h2" | default "#DA70D6" }};
+ text-decoration: {{ .Param "colors.h2-decoration" | default "none" }};
+}
+h3{
+ color: {{ .Param "colors.h3" | default "#EE82EE" }};
+ text-decoration: {{ .Param "colors.h3-decoration" | default "none" }};
+}
+h4{
+ color: {{ .Param "colors.h4" | default "#8B008B" }};
+ text-decoration: {{ .Param "colors.h4-decoration" | default "none" }};
+}
+h5{
+ color: {{ .Param "colors.h5" | default "#9932CC" }};
+ text-decoration: {{ .Param "colors.h5-decoration" | default "none" }};
+}
+h6{
+ color: {{ .Param "colors.h6" | default "#800080" }};
+ text-decoration: {{ .Param "colors.h6-decoration" | default "none" }};
+}
/* Changes */
#main{