-
-
diff --git a/src/css/custom.css b/src/css/custom.css
index a78eb47..c4a9593 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -1,24 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600,700&display=swap');
-.bg-gradient {
- background-image: radial-gradient(50% 50% at 50% 40%, rgb(139 0 255 / 13%) 0%, rgb(255 255 255 / 0%) 100%);
-}
-
-.footer__link-item svg,
-.navbar__link svg {
- display: none;
-}
-
-::-moz-selection {
- color: #47347e;
- background: #c8bfe3;
-}
-
-::selection {
- color: #47347e;
- background: #c8bfe3;
-}
-
html {
scroll-behavior: smooth;
font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif,
@@ -29,13 +10,25 @@ html {
font-weight: 400;
}
-html[data-theme='dark'] {
- --ifm-toc-border-color: #ffffff0d;
- --ifm-footer-background-color: #ffffff0d;
- --ifm-navbar-background-color: #ffffff0d;
- --ifm-global-shadow-md: 0 5px 4px rgba(255, 255, 255, 0.448);
+body::before {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: -20;
+ width: 100%;
+ height: 100%;
+ background-repeat: no-repeat;
+ background-position: top center;
+ background-size: 100% 1500px;
+ content: '';
+}
+
+html[data-theme='dark'] body::before {
+ background-image: linear-gradient(171.89deg, #2e4145 2.92%, #4b605a 54.05%, #23414b 85.21%);
+}
- background-color: #181618;
+html[data-theme='light'] body::before {
+ background-image: linear-gradient(171.89deg, #c4ddd2 2.92%, #f2e5c4 55.54%, #d0ccb1 87.6%);
}
html[data-theme='dark'] .alert--success {
@@ -51,16 +44,8 @@ html[data-theme='dark'] .alert--warning {
--ifm-alert-background-color: #9490596b;
}
-html[data-theme='light'] {
- --ifm-toc-border-color: #00060f0d;
- --ifm-footer-background-color: #00060f0d;
- --ifm-navbar-background-color: #00060f0d;
-
- background-color: #f1f2fd;
-}
-
.markdown a {
- color: #3578e5;
+ color: var(--coral);
}
p {
@@ -120,6 +105,77 @@ a:hover {
margin-left: auto;
}
+html[data-theme='light'] .navbar {
+ background: rgba(26, 29, 28, .05);
+}
+
+html[data-theme='dark'] .navbar {
+ background: rgba(26, 29, 28, .2);
+}
+
+html[data-theme='light'] .menu {
+ background: rgba(26, 29, 28, .05);
+}
+
+html[data-theme='dark'] .menu {
+ background: rgba(26, 29, 28, .2);
+}
+
+html[data-theme='light'] .footer {
+ background: rgba(26, 29, 28, .05);
+}
+
+html[data-theme='dark'] .footer {
+ background: rgba(26, 29, 28, .3);
+}
+
+html[data-theme='light'] .crystal-button-block {
+ box-shadow: 0 7px 12px 0 rgba(39, 40, 42, .15);
+ background: rgba(255, 255, 255, .4);
+ border: solid 1px rgba(255, 255, 255, .2);
+}
+
+html[data-theme='light'] .crystal-button-block:hover {
+ transform: scale(1.05);
+ text-decoration: none;
+ background: rgba(255, 255, 255, .8);
+ border: solid 1px rgba(255, 255, 255, 1);
+}
+
+html[data-theme='dark'] .crystal-button-block {
+ box-shadow: 0 7px 12px 0 rgba(39, 40, 42, .35);
+ background: rgba(39, 40, 42, .5);
+ border: solid 1px rgba(39, 40, 42, .5);
+}
+
+html[data-theme='dark'] .crystal-button-block:hover {
+ transform: scale(1.05);
+ text-decoration: none;
+ background: rgba(39, 40, 42, .8);
+ border: solid 1px rgba(39, 40, 42, .8);
+}
+
+html[data-theme='light'] .crystal-bg {
+ box-shadow: 0 7px 12px 0 rgba(39, 40, 42, .15);
+ background: rgba(255, 255, 255, .4);
+ border: solid 1px rgba(255, 255, 255, .2);
+}
+
+html[data-theme='dark'] .crystal-bg {
+ box-shadow: 0 7px 12px 0 rgba(39, 40, 42, .35);
+ background: rgba(39, 40, 42, .5);
+ border: solid 1px rgba(39, 40, 42, .5);
+}
+
+.footer__link-item svg,
+.navbar__link svg {
+ display: none;
+}
+
+.alert a {
+ text-decoration-color: var(--color-coral) !important;
+}
+
@media (max-width: 960px) {
.navbar__toggle {
margin-left: 16px;
@@ -137,6 +193,14 @@ a:hover {
background-color: #00060f;
}
+ html[data-theme='light'] .navbar-sidebar{
+ background-color: #f1f2fd;
+ }
+
+ html[data-theme='dark'] .navbar-sidebar {
+ background-color: #00060f;
+ }
+
.navbar-sidebar__items ul.menu__list {
padding-left: 24px;
}
diff --git a/src/css/tailwind/layers/base.css b/src/css/tailwind/layers/base.css
index 521cc34..84b518d 100644
--- a/src/css/tailwind/layers/base.css
+++ b/src/css/tailwind/layers/base.css
@@ -11,15 +11,41 @@
:root[data-theme='light'] {
--moon: #00060f;
--moon-rgb: 0, 6, 15;
- --lilac: #846ab2;
- --lilac-rgb: 132, 106, 178;
+ --coral-rgb: 1, 137, 112;
+ --coral: rgb(1, 137, 112);
+
+ --ifm-navbar-link-hover-color: rgb(1, 137, 112) !important;
+ --ifm-breadcrumb-color-active: rgb(1, 137, 112) !important;
+ --ifm-tabs-color-active-border: rgb(1, 137, 112) !important;
+ --ifm-menu-color-active: rgb(1, 137, 112) !important;
+ --ifm-tabs-color-active: rgb(1, 137, 112) !important;
+ --ifm-color-primary: rgb(1, 137, 112) !important;
+
+ --ifm-color-emphasis-200: transparent !important;
+
+ --ifm-card-background-color: rgba(26, 29, 28, .05) !important;
+ --ifm-menu-color-background-hover: rgba(26, 29, 28, .05) !important;
+ --ifm-menu-color-background-active: rgba(26, 29, 28, .05) !important;
}
:root[data-theme='dark'] {
--moon: #ffffff;
--moon-rgb: 255, 255, 255;
- --lilac: #b68dff;
- --lilac-rgb: 182, 141, 255;
+ --coral-rgb: 64, 233, 222;
+ --coral: rgb(64, 233, 222);
+
+ --ifm-navbar-link-hover-color: rgb(64, 233, 222) !important;
+ --ifm-breadcrumb-color-active: rgb(64, 233, 222) !important;
+ --ifm-tabs-color-active-border: rgb(64, 233, 222) !important;
+ --ifm-menu-color-active: rgb(64, 233, 222) !important;
+ --ifm-tabs-color-active: rgb(64, 233, 222) !important;
+ --ifm-color-primary: rgb(64, 233, 222) !important;
+
+ --ifm-color-emphasis-200: transparent !important;
+
+ --ifm-card-background-color: rgba(26, 29, 28, .2) !important;
+ --ifm-menu-color-background-hover:rgba(26, 29, 28, .2) !important;
+ --ifm-menu-color-background-active: rgba(26, 29, 28, .2) !important;
}
::-moz-selection {
@@ -43,7 +69,6 @@
body {
position: relative;
- background-color: var(--mirror);
-webkit-overflow-scrolling: touch;
}
diff --git a/src/css/tailwind/layers/utilities.css b/src/css/tailwind/layers/utilities.css
index 33fe4f9..794ad6b 100644
--- a/src/css/tailwind/layers/utilities.css
+++ b/src/css/tailwind/layers/utilities.css
@@ -48,11 +48,11 @@
}
/* Colors */
- .bg-fancy-ocean {
- background: linear-gradient(90deg, #394cf6 0%, #74aafc 100%);
+ .bg-white {
+ background: white;
}
- .bg-fancy-ocean:hover {
- background: linear-gradient(90deg, rgb(16.8757826087, 39.0694347826, 237.6442173913) 0%, rgb(65.5684507042, 139.1605633803, 250.9115492958) 90%);
+ .bg-white:hover {
+ opacity: .8;
}
}
diff --git a/src/css/tailwind/theme.css b/src/css/tailwind/theme.css
index 03cfb38..32dde74 100644
--- a/src/css/tailwind/theme.css
+++ b/src/css/tailwind/theme.css
@@ -2,21 +2,8 @@
--*: initial;
/* Colors */
- /* --color-sun: var(--sun);
- --color-coal: var(--coal);
- --color-snow: var(--snow); */
--color-moon: var(--moon);
- --color-lilac: var(--lilac);
- /* --color-stone: var(--stone);
- --color-smoke: var(--smoke);
- --color-ocean: var(--ocean);
- --color-autumn: var(--autumn);
- --color-forest: var(--forest);
- --color-jungle: var(--jungle);
- --color-sunset: var(--sunset);
- --color-mirror: var(--mirror);
- --color-volcano: var(--volcano);
- --color-titanium: var(--titanium); */
+ --color-coral: var(--coral);
/* Border radius */
--radius-4: 4px;