From 9658fb1be23b83e6d9520f28d2f55c107250440f Mon Sep 17 00:00:00 2001 From: kuuuube Date: Sun, 20 Oct 2024 14:09:14 -0400 Subject: [PATCH 1/4] Fix gradient zone --- docs/index.md | 2 +- docs/stylesheets/homepage.css | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 237c426..85073ea 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ hide: - toc - footer --- -#

**Yomitan**

+#

**Yomitan**

##

Powerful and versatile pop-up dictionary for language learning used by 50,000+ language learners.

diff --git a/docs/stylesheets/homepage.css b/docs/stylesheets/homepage.css index f7f53bd..1148a29 100644 --- a/docs/stylesheets/homepage.css +++ b/docs/stylesheets/homepage.css @@ -3,13 +3,18 @@ margin-bottom: 10px; margin-top: 10px; font-size: 200%; +} + +#homepage-title-wrapper { background: linear-gradient(to right, #bc00ff, #00eeff); background-clip: text; + width: fit-content; + height: fit-content; color: transparent; } [data-md-color-scheme="slate"] { - #homepage-title { + #homepage-title-wrapper { background: linear-gradient(to right, #c013ff, #00eeff); background-clip: text; color: transparent; From 71822accadc740e611b55b19cb030d0d95481924 Mon Sep 17 00:00:00 2001 From: kuuuube Date: Sun, 20 Oct 2024 14:31:09 -0400 Subject: [PATCH 2/4] Put wrapper on outside --- docs/index.md | 2 +- docs/stylesheets/homepage.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 85073ea..70af06b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ hide: - toc - footer --- -#

**Yomitan**

+#

**Yomitan**

##

Powerful and versatile pop-up dictionary for language learning used by 50,000+ language learners.

diff --git a/docs/stylesheets/homepage.css b/docs/stylesheets/homepage.css index 1148a29..8e4b16c 100644 --- a/docs/stylesheets/homepage.css +++ b/docs/stylesheets/homepage.css @@ -1,11 +1,11 @@ -#homepage-title { +#homepage-title-wrapper { text-align: center; margin-bottom: 10px; margin-top: 10px; font-size: 200%; } -#homepage-title-wrapper { +#homepage-title { background: linear-gradient(to right, #bc00ff, #00eeff); background-clip: text; width: fit-content; @@ -14,7 +14,7 @@ } [data-md-color-scheme="slate"] { - #homepage-title-wrapper { + #homepage-title { background: linear-gradient(to right, #c013ff, #00eeff); background-clip: text; color: transparent; From 98c857d19b9e062fe238ce2b6b1cab49dcad6b5a Mon Sep 17 00:00:00 2001 From: kuuuube Date: Sun, 20 Oct 2024 14:32:29 -0400 Subject: [PATCH 3/4] Change homepage-title-wrapper to div --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 70af06b..865ce1b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ hide: - toc - footer --- -#

**Yomitan**

+#
**Yomitan**
##

Powerful and versatile pop-up dictionary for language learning used by 50,000+ language learners.

From bb9ecb82fc2bc9ffa6f0e3d30a08292a35d91c37 Mon Sep 17 00:00:00 2001 From: kuuuube Date: Sun, 20 Oct 2024 14:39:32 -0400 Subject: [PATCH 4/4] Set font weight for homepage-title instead of using bold markdown --- docs/index.md | 2 +- docs/stylesheets/homepage.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 865ce1b..0eee5e4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ hide: - toc - footer --- -#
**Yomitan**
+#
Yomitan
##

Powerful and versatile pop-up dictionary for language learning used by 50,000+ language learners.

diff --git a/docs/stylesheets/homepage.css b/docs/stylesheets/homepage.css index 8e4b16c..b9d46ef 100644 --- a/docs/stylesheets/homepage.css +++ b/docs/stylesheets/homepage.css @@ -3,6 +3,7 @@ margin-bottom: 10px; margin-top: 10px; font-size: 200%; + font-weight: 700; } #homepage-title {