From 79f602b46b3839e44c96e594c207de31ebfa7b93 Mon Sep 17 00:00:00 2001 From: Indicado Date: Fri, 16 Aug 2024 19:28:27 +0200 Subject: [PATCH] Update homepage button color --- src/css/custom.css | 9 +++++++++ src/pages/index.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/css/custom.css b/src/css/custom.css index 67039ef6..e17872a6 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -239,3 +239,12 @@ footer .container { vertical-align: sub; } } + +:where(.button--white) { + --ifm-button-background-color: #ffffff; + --ifm-button-border-color: #ffffff; +} + +.button--white:hover { + color: #000000 !important; +} diff --git a/src/pages/index.js b/src/pages/index.js index 730a9ec1..44919091 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -84,7 +84,7 @@ function Home() {