From ea1315f9fdebb39bd0c76f7ad7552ad2d360ab5d Mon Sep 17 00:00:00 2001 From: Konstantinos Norgias Date: Thu, 15 Apr 2021 09:32:29 +0200 Subject: [PATCH] style: no override of variable theming --- docs/_assets/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/_assets/style.css b/docs/_assets/style.css index ec022ce5d..1fb2d02a5 100644 --- a/docs/_assets/style.css +++ b/docs/_assets/style.css @@ -1,7 +1,9 @@ body[layout='layout-home'] .markdown-body .call-to-action:nth-of-type(2) { - --primary-color: #222; - --primary-color-lighter: #555; - --primary-color-darker: #000; + background: linear-gradient(to right, #555, #222); +} + +body[layout='layout-home'] .markdown-body .call-to-action:nth-of-type(2):hover { + background: #000; } body[layout='layout-home'] .markdown-body .call-to-action-listitem:nth-of-type(1) {