From 5392a4a4b661355bd0abb8a99974152e4b1eb81d Mon Sep 17 00:00:00 2001 From: ADNY <66500121+ErKeLost@users.noreply.github.com> Date: Tue, 5 Nov 2024 09:36:45 +0800 Subject: [PATCH] chore: update link (#154) --- docusaurus.config.js | 2 +- src/css/custom.scss | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 3e6bd6373..5bacd3b1d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -177,7 +177,7 @@ const config = { announcementBar: { id: "announcementBar-2", // Increment on change - content: `🎉 Farm will continue to release nightly versions. Please check out for details Farm Nightly`, + content: `🎉 Farm will continue to release nightly versions. Please check out for details Farm Nightly`, }, customFields: { customFooter: "src/theme/Footer/index.tsx", diff --git a/src/css/custom.scss b/src/css/custom.scss index 1c814444b..38f129f3d 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -169,6 +169,17 @@ div[class^="announcementBar_"] { var(--ifm-primary-hue-saturation) 95% ); + .nightly-text { + padding: 2px 6px; + border-radius: 6px; + background: #c44cac; + // -webkit-background-clip: text; + // background-clip: text; + // -webkit-text-fill-color: transparent; + font-weight: bold; + transition: all 0.3s ease; + } + background: linear-gradient( 45deg, #711a5f,