diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 121c414..9b8ab19 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -112,8 +112,8 @@ const config: Config = { copyright: `Copyright © ${new Date().getFullYear()} Mercury Studio, Inc.`, }, prism: { - theme: prismThemes.github, - darkTheme: prismThemes.dracula, + theme: prismThemes.vsLight, + darkTheme: prismThemes.vsDark, }, } satisfies Preset.ThemeConfig, }; diff --git a/src/css/custom.css b/src/css/custom.css index 93f983c..56d4f5d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -19,13 +19,13 @@ /* For readability concerns, you should choose a lighter palette in dark mode. */ [data-theme='dark'] { - --ifm-color-primary: #25c2a0; - --ifm-color-primary-dark: #21af90; - --ifm-color-primary-darker: #1fa588; - --ifm-color-primary-darkest: #1a8870; - --ifm-color-primary-light: #29d5b0; - --ifm-color-primary-lighter: #32d8b4; - --ifm-color-primary-lightest: #4fddbf; + --ifm-color-primary: #2e8555; + --ifm-color-primary-dark: #29784c; + --ifm-color-primary-darker: #277148; + --ifm-color-primary-darkest: #205d3b; + --ifm-color-primary-light: #33925d; + --ifm-color-primary-lighter: #359962; + --ifm-color-primary-lightest: #3cad6e; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } .red-star { diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 9f71a5d..02fdabd 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -4,10 +4,32 @@ */ .heroBanner { - padding: 4rem 0; + padding: 8rem; text-align: center; position: relative; overflow: hidden; + background: url('/img/background.png'); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + color: white; +} + +[data-theme='dark'] .heroBanner { + background: url('/img/background.png'); + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +.heroLogo { + max-width: 300px; + /* margin-bottom: 2rem; */ + filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); +} + +[data-theme='dark'] .heroLogo { + filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); } @media screen and (max-width: 996px) { @@ -20,4 +42,184 @@ display: flex; align-items: center; justify-content: center; + gap: 1rem; } + +.buttons :global(.button) { + background: rgba(255, 255, 255, 0.3); + border: 2px solid rgba(255, 255, 255, 0.6); + color: white; + transition: all 0.3s ease; + backdrop-filter: blur(5px); + font-weight: 500; + text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); + box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); +} + +.buttons :global(.button:hover) { + background: rgba(255, 255, 255, 0.4); + border-color: rgba(255, 255, 255, 0.8); + transform: translateY(-2px); + box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); +} + +[data-theme='dark'] .buttons :global(.button) { + background: rgba(255, 255, 255, 0.3); + border: 2px solid rgba(255, 255, 255, 0.6); + color: white; + box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); + font-weight: 500; + text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); +} + +[data-theme='dark'] .buttons :global(.button:hover) { + background: rgba(255, 255, 255, 0.4); + border-color: rgba(255, 255, 255, 0.8); + box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); + transform: translateY(-2px); +} + +.hero__subtitle { + color: rgba(255, 255, 255, 0.8); + font-size: 1.2rem; + margin-bottom: 2rem; +} + +[data-theme='dark'] .hero__subtitle { + color: rgba(255, 255, 255, 0.7); +} + +.features { + display: flex; + align-items: center; + padding: 0rem 0; + width: 100%; + background: var(--ifm-background-color); +} + +.featureIcon { + display: block; + font-size: 3rem; + transition: transform 0.2s ease-in-out; +} + +.featureIcon:hover { + transform: scale(1.1); +} + +.text--center { + color: var(--ifm-color-emphasis-800); +} + +.text--center h3 { + color: var(--ifm-color-emphasis-900); +} + +.text--center p { + color: var(--ifm-color-emphasis-700); +} + +[data-theme='dark'] .text--center { + color: var(--ifm-color-emphasis-200); +} + +[data-theme='dark'] .text--center h3 { + color: var(--ifm-color-emphasis-100); +} + +[data-theme='dark'] .text--center p { + color: var(--ifm-color-emphasis-300); +} + +.section { + padding: 4rem 0; +} + +.sectionTitle { + text-align: center; + margin-bottom: 3rem; + font-size: 2.5rem; + color: #2a2a2a; +} + +.techStack { + background: #f8f9fa; +} + +.techGrid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + padding: 0 1rem; +} + +.techItem { + background: white; + padding: 1.5rem; + border-radius: 8px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + transition: transform 0.2s ease-in-out; +} + +.techItem:hover { + transform: translateY(-5px); +} + +.techItem h4 { + margin-bottom: 0.5rem; + color: #2a2a2a; +} + +.techItem p { + margin: 0; + color: #666; +} + +.stepsGrid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + padding: 0 1rem; +} + +.stepCard { + background: white; + padding: 2rem; + border-radius: 8px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + transition: all 0.2s ease-in-out; + text-decoration: none; + color: inherit; +} + +.stepCard:hover { + transform: translateY(-5px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +.stepCard h3 { + margin-bottom: 1rem; + color: #2a2a2a; +} + +.stepCard p { + margin: 0; + color: #666; +} + +@media screen and (max-width: 768px) { + .techGrid, + .stepsGrid { + grid-template-columns: 1fr; + } + + .section { + padding: 2rem 0; + } + + .sectionTitle { + font-size: 2rem; + margin-bottom: 0.5rem; + } +} + \ No newline at end of file diff --git a/static/img/background.png b/static/img/background.png new file mode 100644 index 0000000..e770e55 Binary files /dev/null and b/static/img/background.png differ