Skip to content

Commit 98814d8

Browse files
author
Alexia Michelle
committed
feat: refine dark theme colors, adjust paddings and shadows, and add subtle glow effects for improved UI depth and polish.
1 parent 2c64944 commit 98814d8

2 files changed

Lines changed: 60 additions & 35 deletions

File tree

src/css/custom.css

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030

3131
/* Premium Dark overrides */
3232
[data-theme='dark'] {
33-
--ifm-background-color: #080112;
34-
/* Deepest Purple/Black */
35-
--ifm-navbar-background-color: #09021a;
36-
--ifm-footer-background-color: #09021a;
37-
/* Matches navbar for cohesion */
33+
--ifm-background-color: #06010d;
34+
/* Even deeper dark */
35+
--ifm-navbar-background-color: #06010d;
36+
--ifm-footer-background-color: #030005;
37+
/* Deepest footer */
3838

3939
--ifm-font-color-base: #e9ecef;
4040
--ifm-heading-color: #ffffff;
@@ -47,27 +47,26 @@
4747
--ifm-color-primary-lighter: #d4d0fe;
4848
--ifm-color-primary-lightest: #f1f0ff;
4949

50-
--ifm-contents-border-color: rgba(255, 255, 255, 0.05);
51-
--ifm-toc-border-color: rgba(255, 255, 255, 0.05);
50+
--ifm-contents-border-color: rgba(255, 255, 255, 0.03);
51+
--ifm-toc-border-color: rgba(255, 255, 255, 0.03);
5252

5353
/* Modern Depth */
5454
--glow-accent: rgba(162, 155, 254, 0.15);
5555
}
5656

5757
/* Layout Polish */
5858
.navbar {
59-
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
59+
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
6060
backdrop-filter: blur(10px);
6161
-webkit-backdrop-filter: blur(10px);
62-
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
62+
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
6363
}
6464

6565
.footer {
66-
/* Softer gradient using #4F1C51 tone at center fading to dark */
67-
background: radial-gradient(circle at center, rgba(79, 28, 81, 0.25) 0%, rgba(33, 15, 55, 0.95) 70%, #09021a 100%);
68-
border-top: 1px solid rgba(255, 255, 255, 0.05);
66+
background: var(--ifm-footer-background-color);
67+
border-top: 1px solid rgba(255, 255, 255, 0.03);
6968
text-align: center;
70-
padding: 4rem 0;
69+
padding: 5rem 0;
7170
}
7271

7372
.footer__links {

src/pages/index.module.css

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,40 @@
44
*/
55

66
.heroBanner {
7-
padding: 8rem 0;
7+
padding: 10rem 0;
88
text-align: center;
99
position: relative;
1010
overflow: hidden;
11-
background: radial-gradient(circle at center, #1a0233 0%, #080112 100%);
12-
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
11+
background: radial-gradient(circle at 50% 120%, #1a0233 0%, #06010d 100%);
1312
}
1413

1514
.heroBanner :global(.hero__title) {
16-
font-size: 4rem;
15+
font-size: 5rem;
1716
font-weight: 800;
18-
letter-spacing: -0.02em;
17+
letter-spacing: -0.04em;
1918
margin-bottom: 1rem;
19+
background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
20+
-webkit-background-clip: text;
21+
background-clip: text;
22+
-webkit-text-fill-color: transparent;
2023
}
2124

2225
.heroBanner :global(.hero__subtitle) {
2326
font-size: 1.5rem;
2427
color: #a0aec0;
2528
max-width: 800px;
26-
margin: 0 auto 2rem;
29+
margin: 0 auto 3rem;
2730
font-weight: 400;
2831
}
2932

3033

3134
@media screen and (max-width: 996px) {
3235
.heroBanner {
33-
padding: 2rem;
36+
padding: 4rem 2rem;
37+
}
38+
39+
.heroBanner :global(.hero__title) {
40+
font-size: 3rem;
3441
}
3542
}
3643

@@ -43,20 +50,38 @@
4350
.screenshotSection {
4451
background: var(--ifm-background-color);
4552
padding: 4rem 0;
46-
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
53+
position: relative;
4754
}
4855

4956
.desktopScreenshot {
5057
max-width: 1000px;
5158
width: 100%;
5259
border-radius: 12px;
53-
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
60+
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(162, 155, 254, 0.1);
5461
border: 1px solid rgba(255, 255, 255, 0.1);
5562
margin-top: 2rem;
63+
position: relative;
64+
z-index: 2;
65+
}
66+
67+
/* Central glow effect behind images */
68+
.screenshotSection::before,
69+
.cockpitSection::before {
70+
content: '';
71+
position: absolute;
72+
top: 50%;
73+
left: 50%;
74+
transform: translate(-50%, -50%);
75+
width: 80%;
76+
height: 80%;
77+
background: radial-gradient(circle, rgba(162, 155, 254, 0.08) 0%, transparent 70%);
78+
pointer-events: none;
79+
z-index: 1;
5680
}
5781

5882
.cockpitSection {
59-
background: linear-gradient(180deg, var(--ifm-background-color) 0%, #0c0217 100%);
83+
background: var(--ifm-background-color);
84+
position: relative;
6085
}
6186

6287
.cockpitImageGrid {
@@ -65,44 +90,45 @@
6590
display: flex;
6691
align-items: center;
6792
justify-content: center;
93+
z-index: 2;
6894
}
6995

7096
.cockpitImageSmall {
7197
position: absolute;
72-
width: 60%;
98+
width: 65%;
7399
border-radius: 8px;
74-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
100+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
75101
top: 10%;
76102
left: 0;
77103
z-index: 1;
78-
border: 1px solid rgba(255, 255, 255, 0.05);
79-
transition: transform 0.3s ease;
104+
border: 1px solid rgba(255, 255, 255, 0.08);
105+
transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
80106
}
81107

82108
.cockpitImageLarge {
83109
position: absolute;
84-
width: 80%;
110+
width: 85%;
85111
border-radius: 8px;
86-
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
87-
bottom: 10%;
112+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
113+
bottom: 0%;
88114
right: 0;
89115
z-index: 2;
90-
border: 1px solid rgba(255, 255, 255, 0.1);
91-
transition: transform 0.3s ease;
116+
border: 1px solid rgba(255, 255, 255, 0.12);
117+
transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
92118
}
93119

94120
.cockpitImageSmall:hover,
95121
.cockpitImageLarge:hover {
96-
transform: scale(1.02);
122+
transform: translateY(-10px) scale(1.02);
97123
z-index: 3;
98124
}
99125

100126
@media screen and (max-width: 996px) {
101127
.cockpitImageGrid {
102128
height: auto;
103129
flex-direction: column;
104-
gap: 1rem;
105-
margin-top: 2rem;
130+
gap: 2rem;
131+
margin-top: 3rem;
106132
}
107133

108134
.cockpitImageSmall,

0 commit comments

Comments
 (0)