From e49aa04efc6f984f7514527b5a2e66777abe1a8d Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Tue, 5 Apr 2022 10:48:48 -0500 Subject: [PATCH] Fix homepage button (#912) --- docs/tools.md | 2 +- theme/overrides/home.css | 8 ++++++-- theme/overrides/home.html | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/tools.md b/docs/tools.md index d2abded0..baa9dc85 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -1,5 +1,5 @@ --- -title: Privacy Tools +title: Recommended Privacy Tools icon: material/tools hide: - toc diff --git a/theme/overrides/home.css b/theme/overrides/home.css index 36b074c8..f2528ec6 100644 --- a/theme/overrides/home.css +++ b/theme/overrides/home.css @@ -54,9 +54,13 @@ color: var(--md-primary-bg-color); } .mdx-hero .md-button--primary { - color: var(--md-primary-fg-color)!important; + color: var(--md-primary-fg-color); background-color: var(--md-primary-bg-color); - border-color: var(--md-primary-bg-color); + border-color: transparent; margin-right: 0.5rem; margin-top: 0.5rem; } + +.mdx-hero .md-button--primary:is(:focus, :hover) { + color: white; +} diff --git a/theme/overrides/home.html b/theme/overrides/home.html index 0389e3b6..eb76a030 100644 --- a/theme/overrides/home.html +++ b/theme/overrides/home.html @@ -11,8 +11,8 @@

The guide to restoring your online privacy.

{{ config.site_description }}

- - Privacy Tools + + Recommended Tools Read our blog