1- /**
2- * CSS files with the .module.css suffix will be treated as CSS modules
3- * and scoped locally.
4- */
5-
6- .heroBanner {
7- padding : 4rem 0 ;
1+ .heroBanner {
2+ padding : 5rem 1.5rem 6rem ;
83 position : relative;
94 overflow : hidden;
5+ display : flex;
6+ flex-direction : column;
7+ align-items : center;
8+ background : none; /* Remove gradient */
9+ min-height : 80vh ;
1010}
1111
12- @media screen and (max-width : 996px ) {
13- .heroBanner {
14- padding : 2rem ;
15- }
12+ .announcement {
13+ max-width : 900px ;
14+ width : 100% ;
15+ margin-bottom : 4rem ;
16+ border-radius : 12px ;
17+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.1 );
18+ animation : slideDown 0.6s ease-out;
19+ }
20+
21+ .enhancedLink {
22+ color : var (--ifm-color-primary-darker );
23+ font-weight : bold;
24+ text-decoration : underline;
25+ transition : color 0.2s ease;
1626}
1727
18- .buttons {
28+ .enhancedLink : hover {
29+ color : var (--ifm-color-primary-darkest );
30+ text-decoration : underline;
31+ }
32+
33+ .heroContent {
1934 display : flex;
35+ flex-direction : row;
36+ justify-content : space-between;
2037 align-items : center;
21- justify-content : center;
38+ max-width : 1200px ;
39+ width : 100% ;
40+ gap : 4rem ;
41+ margin-bottom : 3rem ;
42+ }
43+
44+ .heroText {
45+ display : flex;
46+ flex-direction : column;
47+ align-items : flex-start;
48+ max-width : 600px ;
49+ }
50+
51+ .heroTitle {
52+ color : # 9083d2 ;
53+ margin-bottom : 2rem ;
54+ font-size : 4rem ;
55+ font-weight : 800 ;
56+ line-height : 1.1 ;
57+ letter-spacing : -0.5px ;
58+ animation : fadeIn 1s ease-out;
59+ }
60+
61+ .heroDescription {
62+ font-size : 1.5rem ;
63+ line-height : 1.6 ;
64+ margin-bottom : 2rem ;
65+ color : var (--ifm-color-emphasis-800 );
66+ animation : fadeIn 1s ease-out 0.2s both;
67+ }
68+
69+ .heroButtons {
70+ display : flex;
71+ flex-direction : column;
72+ gap : 1.25rem ;
73+ animation : fadeIn 1s ease-out 0.4s both;
2274}
2375
2476.button {
25- width : 300px ;
77+ width : 320px ;
78+ font-weight : 600 ;
79+ border-radius : 8px ;
80+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.12 );
81+ transition : all 0.3s ease;
82+ text-align : center;
83+ padding : 1rem 1.5rem ;
84+ font-size : 1.1rem ;
85+ }
86+
87+ .button : hover {
88+ transform : translateY (-3px );
89+ box-shadow : 0 8px 16px rgba (0 , 0 , 0 , 0.15 );
2690}
91+
92+ .socialIcon {
93+ filter : brightness (0 ) invert (1 );
94+ }
95+
96+ .socialLinks {
97+ display : grid;
98+ grid-template-columns : repeat (6 , 1fr );
99+ gap : 1.5rem ;
100+ margin-top : 5rem ;
101+ animation : fadeIn 1s ease-out 0.6s both;
102+ max-width : 600px ;
103+ width : 100% ;
104+ }
105+
106+ .socialLink {
107+ display : flex;
108+ align-items : center;
109+ justify-content : center;
110+ width : 70px ;
111+ height : 70px ;
112+ border-radius : 12px ;
113+ transition : all 0.3s ease;
114+ background-color : # 9083d2 ;
115+ }
116+
117+ .socialLink : hover {
118+ transform : translateY (-3px );
119+ box-shadow : 0 6px 12px rgba (0 , 0 , 0 , 0.1 );
120+ }
121+
122+ /* Animations */
123+ @keyframes fadeIn {
124+ from {
125+ opacity : 0 ;
126+ transform : translateY (20px );
127+ }
128+ to {
129+ opacity : 1 ;
130+ transform : translateY (0 );
131+ }
132+ }
133+
134+ @keyframes slideDown {
135+ from {
136+ opacity : 0 ;
137+ transform : translateY (-20px );
138+ }
139+ to {
140+ opacity : 1 ;
141+ transform : translateY (0 );
142+ }
143+ }
144+
145+ /* Responsive styles */
146+ @media screen and (max-width : 996px ) {
147+ .heroBanner {
148+ padding : 4rem 1.5rem 5rem ;
149+ min-height : auto;
150+ }
151+
152+ .heroContent {
153+ flex-direction : column;
154+ text-align : center;
155+ gap : 3rem ;
156+ }
157+
158+ .heroText {
159+ align-items : center;
160+ text-align : center;
161+ max-width : 100% ;
162+ }
163+
164+ .heroTitle {
165+ font-size : 3rem ;
166+ }
167+
168+ .button {
169+ width : 100% ;
170+ }
171+
172+ .heroButtons {
173+ width : 100% ;
174+ max-width : 350px ;
175+ }
176+ }
177+
178+ @media screen and (max-width : 768px ) {
179+ .heroBanner {
180+ padding : 3rem 1rem 4rem ;
181+ }
182+
183+ .heroTitle {
184+ font-size : 2.5rem ;
185+ }
186+
187+ .heroDescription {
188+ font-size : 1.25rem ;
189+ }
190+
191+ .socialLinks {
192+ grid-template-columns : repeat (3 , 1fr ); /* 3 columns on mobile */
193+ max-width : 300px ;
194+ gap : 1rem ;
195+ }
196+
197+ .socialLink {
198+ width : 60px ;
199+ height : 60px ;
200+ margin : 0 auto; /* Center the icons in their grid cells */
201+ }
202+ }
0 commit comments