diff --git a/src/css/custom.css b/src/css/custom.css index d16d631..b08cfca 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -44,13 +44,13 @@ html[data-theme="dark"] { .hero--primary { --ifm-hero-text-color: var(--color-black); - /* --ifm-hero-background-color: rgba(0, 0, 0, 0.05); */ background: #eee url(/img/hero-bg.svg) center top no-repeat; background-attachment: fixed; } html[data-theme="dark"] .hero--primary { - background: rgb(1, 22, 39); + background: rgb(1, 22, 39) url(/img/hero-bg-dark.svg) center top no-repeat; + background-attachment: fixed; --ifm-hero-text-color: var(--ifm-color-secondary); } diff --git a/static/img/hero-bg-dark.svg b/static/img/hero-bg-dark.svg new file mode 100644 index 0000000..b0a3a1c --- /dev/null +++ b/static/img/hero-bg-dark.svg @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +