Skip to content

Commit ae4c09e

Browse files
committed
Styling for home page
1 parent 757d377 commit ae4c09e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

web/src/pages/index.module.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,56 @@
88
text-align: center;
99
position: relative;
1010
overflow: hidden;
11+
background-image: radial-gradient(circle, #c9dfff, #4fa4ff);
12+
}
13+
14+
.heroBanner h1 {
15+
font-size: 4rem;
16+
font-weight: 700;
17+
margin-bottom: 1rem;
18+
color: #061522;
19+
}
20+
21+
.heroBanner p {
22+
font-size: 1.2rem;
23+
font-weight: 400;
24+
margin-bottom: 2rem;
25+
color: #2c3746;
26+
}
27+
28+
[data-theme="dark"] .heroBanner {
29+
background-image: radial-gradient(circle, #061522, #032c52);
30+
}
31+
32+
[data-theme="dark"] .heroBanner h1 {
33+
color: #fff;
34+
}
35+
36+
[data-theme="dark"] .heroBanner p {
37+
color: #92aed4;
1138
}
1239

1340
@media screen and (max-width: 996px) {
1441
.heroBanner {
1542
padding: 2rem;
1643
}
44+
45+
.heroBanner h1 {
46+
font-size: 2rem;
47+
}
48+
49+
.heroBanner p {
50+
font-size: 1rem;
51+
}
52+
53+
.heroBanner .buttons {
54+
flex-direction: column;
55+
}
1756
}
1857

1958
.buttons {
2059
display: flex;
2160
align-items: center;
2261
justify-content: center;
62+
gap: 1rem;
2363
}

0 commit comments

Comments
 (0)