aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages/home-shared/GlobalStyles.tsx
diff options
context:
space:
mode:
authorHsiangNianian <admin@jyunko.cn>2023-04-22 19:52:26 +0800
committerHsiangNianian <admin@jyunko.cn>2023-04-22 19:52:26 +0800
commit4838df315931bb883f704ec3e1abe2685f296cdf (patch)
tree57a8550c4cd5338f1126364bb518c6cde8d96e7d /docs/components/pages/home-shared/GlobalStyles.tsx
parentdb74ade0234a40c2120ad5f2a41bee50ce13de02 (diff)
downloadHydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.tar.gz
HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.zip
😀
Diffstat (limited to 'docs/components/pages/home-shared/GlobalStyles.tsx')
-rw-r--r--docs/components/pages/home-shared/GlobalStyles.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/components/pages/home-shared/GlobalStyles.tsx b/docs/components/pages/home-shared/GlobalStyles.tsx
new file mode 100644
index 0000000..5f695f3
--- /dev/null
+++ b/docs/components/pages/home-shared/GlobalStyles.tsx
@@ -0,0 +1,20 @@
+import Head from "next/head";
+
+export function LandingPageGlobalStyles() {
+ return (
+ <Head>
+ <style>
+ {`
+ .dark footer,
+ .dark body {
+ background-color: black !important;
+ }
+
+ .dark .nextra-nav-container .nextra-nav-container-blur {
+ background-color: rgba(0,0,0,.5) !important;
+ }
+ `}
+ </style>
+ </Head>
+ );
+}