From 03d68419f6d5aedef7aea3acb94b356ce7a43dec Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Sat, 19 Dec 2015 18:43:26 +0800 Subject: [PATCH] fix(styles): missing custom footnote decorations color --- .../themes/curtana/includes/css-variables.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/_app/_includes/themes/curtana/includes/css-variables.html b/_app/_includes/themes/curtana/includes/css-variables.html index e58a25725..cd06caa79 100644 --- a/_app/_includes/themes/curtana/includes/css-variables.html +++ b/_app/_includes/themes/curtana/includes/css-variables.html @@ -89,6 +89,14 @@ color: {{ page.scheme-code }}; } {% endif %} + + {% if page.scheme-text %} + hr::before, + .footnotes::before { + background: {{ page.scheme-text }}; + box-shadow: 20px 0 0 0 {{ page.scheme-text }}, -20px 0 0 0 {{ page.scheme-text }}; + } + {% endif %} {% if page.scheme-text and page.scheme-link %} .note, @@ -112,13 +120,4 @@ color: {{ page.scheme-hover }}; } {% endif %} - - {% if page.scheme-text %} - hr::before, - .footnotes::before { - background: {{ page.scheme-text }}; - box-shadow: 20px 0 0 0 {{ page.scheme-text }}, -20px 0 0 0 {{ page.scheme-text }}; - } - {% endif %} -