diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 8717ed2..8d802a3 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -21,7 +21,12 @@ initiative

- Need help with your project? Get in contact. + Need help with your project? + Get in contact. +

@@ -66,4 +71,8 @@ margin-bottom: 4rem; margin-top: 2rem; } + + :global(.dark) .divider { + background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35)); + } diff --git a/src/components/MFExample.astro b/src/components/MFExample.astro index 51626e3..3520c38 100644 --- a/src/components/MFExample.astro +++ b/src/components/MFExample.astro @@ -83,6 +83,10 @@ const { overflow: hidden; position: relative; } + :global(.dark) .mfexample { + border: 1px solid #4b3648; + } + .elements { border-radius: 10px; display: grid; @@ -100,6 +104,15 @@ const { place-content: center; } + :global(.dark) .element { + background-color: #0f182a; + border: 1px solid #4b3648; + } + + :global(.dark) .element img { + filter: invert(1); + } + .element.vertical { min-height: 100px; } @@ -115,10 +128,13 @@ const { drop-shadow(0px 4px 40px rgba(255, 90, 85, 0.3)); transform: translateZ(0); } - .c-border { - border: 1px solid #eeebe2; - border-radius: 0.5rem; - background: white; + + :global(.dark) .c_shadow { + filter: drop-shadow(-3px -3px 3px rgba(255, 255, 255, 0.1)) + drop-shadow(2px 3px 2px #322030) drop-shadow(3px 6px 4px #322030) + drop-shadow(4px 9px 6px #322030) + drop-shadow(0px 4px 40px rgba(255, 90, 85, 0.3)); + transform: translateZ(0); } .repository { diff --git a/src/components/content/Contribute.astro b/src/components/content/Contribute.astro index de5627c..821b344 100644 --- a/src/components/content/Contribute.astro +++ b/src/components/content/Contribute.astro @@ -1,11 +1,11 @@ --- --- -
-
+
+
-
+

How to Contribute

@@ -34,3 +34,38 @@
+ + diff --git a/src/styles/global.css b/src/styles/global.css index be6ae3c..25ad1f1 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -245,5 +245,9 @@ left: calc(-50vw + 50%); } + .dark .c-background { + background-color: rgba(0, 0, 0, 0.35); + } + /* ------ CUSTOM STYLES - END ------ */ }