1
1
/* Ensure full height of the body and remove margin/padding */
2
- html , body {
2
+ html ,
3
+ body {
3
4
height : 100% ;
4
5
margin : 0 ;
5
6
padding : 0 ;
13
14
}
14
15
15
16
header {
16
- background-color : # 333 ;
17
+ background-color : # 333 ;
17
18
padding : 10px 20px ;
18
19
}
19
20
@@ -26,7 +27,8 @@ header {
26
27
.logo-container {
27
28
display : flex;
28
29
align-items : center;
29
- margin-right : 20px ; /* Adds space between logo and links */
30
+ margin-right : 20px ;
31
+ /* Adds space between logo and links */
30
32
}
31
33
32
34
.brand-name {
@@ -38,34 +40,66 @@ header {
38
40
.nav-links {
39
41
list-style : none;
40
42
display : flex;
41
- flex-grow : 1 ; /* Makes the nav links take up available space */
42
- justify-content : flex-end; /* Align links to the left */
43
- gap : 50px ; /* Adds space between each link */
43
+ flex-grow : 1 ;
44
+ /* Makes the nav links take up available space */
45
+ justify-content : flex-end;
46
+ /* Align links to the left */
47
+ gap : 50px ;
48
+ /* Adds space between each link */
44
49
margin-left : 20px ;
45
- right : 10px ; /* Adjust this value for the gap between logo and links */
50
+ right : 10px ;
51
+ /* Adjust this value for the gap between logo and links */
46
52
}
47
53
48
54
.nav-links a {
49
55
text-decoration : none;
50
56
color : # f1f1f1 ;
51
57
font-weight : bold;
52
- white-space : nowrap; /* Prevents wrapping of links */
58
+ white-space : nowrap;
59
+ /* Prevents wrapping of links */
53
60
}
54
61
55
- .nav-links a : hover {
62
+ .nav-links a : hover {
56
63
text-decoration : underline;
57
64
}
58
65
59
66
main {
60
67
padding : 20px ;
61
- flex : 1 ; /* Makes main content take up the remaining space */
68
+ flex : 1 ;
69
+ /* Makes main content take up the remaining space */
62
70
}
63
71
72
+
64
73
.welcome-section {
65
74
text-align : center;
66
75
margin-bottom : 30px ;
67
76
}
68
77
78
+ .welcome-title {
79
+ font-size : 37px ;
80
+ }
81
+
82
+ .welcome-description {
83
+ font-size : 22px ;
84
+ width : 60% ;
85
+ margin : auto;
86
+ }
87
+
88
+ .welcome-description a {
89
+ text-decoration : none;
90
+ color : black;
91
+ font-weight : 600 ;
92
+ }
93
+
94
+ .welcome-description a : hover {
95
+ text-decoration : underline;
96
+ cursor : pointer;
97
+ }
98
+ .highlight {
99
+ color : rgb (3 , 3 , 122 );
100
+ text-shadow : rgb (183 , 189 , 248 ) 1px 0 10px ;
101
+ }
102
+
69
103
h2 {
70
104
font-size : 2em ;
71
105
margin-bottom : 20px ;
@@ -81,7 +115,8 @@ button#toggle-stats {
81
115
margin : 0 auto 20px auto;
82
116
padding : 10px 20px ;
83
117
font-size : 1.1em ;
84
- background-color : # 1a1a5e ; /* Dark blue button */
118
+ background-color : # 1a1a5e ;
119
+ /* Dark blue button */
85
120
color : # f1f1f1 ;
86
121
border : none;
87
122
cursor : pointer;
@@ -95,7 +130,6 @@ button#toggle-stats:hover {
95
130
# statistics-cards {
96
131
display : none;
97
132
text-align : center;
98
- color : black;
99
133
}
100
134
101
135
.stats-grid {
@@ -106,19 +140,65 @@ button#toggle-stats:hover {
106
140
}
107
141
108
142
.stat-card {
109
- background-color : white;
143
+ background-color : # 050066 ;
144
+ /* background: linear-gradient(130deg, #473eed, #04004c); */
110
145
padding : 20px ;
111
146
border-radius : 8px ;
112
147
width : 150px ;
113
148
text-align : center;
114
149
margin-bottom : 20px ;
150
+ color : # fff ;
151
+ text-shadow : 1px 1px 2px rgb (0 , 10 , 150 ), 0 0 1em rgb (34 , 174 , 255 ), 0 0 0.5em rgb (0 , 221 , 255 );
152
+ transition : transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
115
153
}
116
154
155
+ .stat-card : hover {
156
+ /* background-color: #1a1d29; */
157
+ background : linear-gradient (135deg , # 090293, # 040054 );
158
+ /* background: linear-gradient(135deg, #473eed, #04004c); */
159
+ transform : scale (1.05 );
160
+ text-shadow : 1px 1px 2px rgb (233 , 0 , 202 ), 0 0 1em rgb (34 , 174 , 255 ), 0 0 0.5em rgb (0 , 221 , 255 );
161
+ cursor : pointer;
162
+ }
163
+
164
+
117
165
.stat-card h3 {
118
166
font-size : 1.2em ;
119
167
margin-bottom : 10px ;
120
168
}
121
169
170
+ .stat-card p {
171
+ font-size : 18px ;
172
+ color : rgb (243 , 206 , 1 );
173
+ text-shadow : none;
174
+ font-weight : 500 ;
175
+ }
176
+
177
+ .stat-icon {
178
+ font-size : 2.7em ;
179
+ margin-bottom : 10px ;
180
+ color : rgb (255 , 255 , 255 );
181
+ text-shadow : none;
182
+ transition : all 0.3s ease-in-out;
183
+ }
184
+
185
+
186
+ .stat-card : hover h3 {
187
+ color : # ffffff ;
188
+ }
189
+ .stat-card : hover p {
190
+ color : yellow;
191
+ font-weight : 500 ;
192
+
193
+ }
194
+
195
+ .stat-card : hover .stat-icon
196
+ {
197
+ color : white;
198
+ text-shadow : 1px 1px 2px rgb (233 , 0 , 202 ), 0 0 1em rgb (34 , 174 , 255 ), 0 0 0.5em rgb (0 , 221 , 255 );
199
+ color : rgb (255 , 213 , 98 );
200
+
201
+ }
122
202
# languages {
123
203
text-align : center;
124
204
margin-bottom : 30px ;
@@ -129,25 +209,30 @@ button#toggle-stats:hover {
129
209
padding : 0 ;
130
210
display : inline-block;
131
211
text-align : center;
132
- column-count : 4 ; /* Adjust this value to increase or decrease the number of columns */
133
- column-gap : 40px ; /* Space between columns */
212
+ column-count : 4 ;
213
+ /* Adjust this value to increase or decrease the number of columns */
214
+ column-gap : 40px ;
215
+ /* Space between columns */
134
216
}
135
217
136
218
# language-list li {
137
219
margin : 10px 0 ;
138
- text-align : left; /* Align text to the left within each column */
220
+ text-align : left;
221
+ /* Align text to the left within each column */
139
222
}
140
223
141
224
142
225
/* Footer stays at the bottom */
143
226
.footer {
144
- background-color : # 121245 ; /* Dark blue for footer */
227
+ background-color : # 121245 ;
228
+ /* Dark blue for footer */
145
229
color : # f1f1f1 ;
146
230
padding : 20px ;
147
231
text-align : center;
148
232
margin-top : auto;
149
233
}
150
- # footer-link {
234
+
235
+ # footer-link {
151
236
color : white
152
237
}
153
238
@@ -156,15 +241,17 @@ button#toggle-languages {
156
241
margin : 20px auto;
157
242
padding : 10px 20px ;
158
243
font-size : 1.1em ;
159
- background-color : # 1a1a5e ; /* Dark blue button */
244
+ background-color : # 1a1a5e ;
245
+ /* Dark blue button */
160
246
color : # f1f1f1 ;
161
247
border : none;
162
248
cursor : pointer;
163
249
transition : background-color 0.3s ease;
164
250
}
165
251
166
252
button # toggle-languages : hover {
167
- background-color : # 2a2a7e ; /* Lighter blue on hover */
253
+ background-color : # 2a2a7e ;
254
+ /* Lighter blue on hover */
168
255
}
169
256
170
257
# repo-list {
@@ -189,7 +276,7 @@ button#toggle-languages:hover {
189
276
border : 1px solid # ddd ;
190
277
border-radius : 8px ;
191
278
box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
192
- flex : 1 1 calc (33.333% - 20px );
279
+ flex : 1 1 calc (33.333% - 20px );
193
280
max-width : calc (33.333% - 20px );
194
281
padding : 20px ;
195
282
box-sizing : border-box;
@@ -234,8 +321,8 @@ button#toggle-languages:hover {
234
321
font-size : 0.875rem ;
235
322
}
236
323
237
- .card .btn-view-repo : hover {
238
- background-color : # 2a2a7e ;
324
+ .card .btn-view-repo : hover {
325
+ background-color : # 2a2a7e ;
239
326
}
240
327
241
328
@@ -248,7 +335,7 @@ button#toggle-languages:hover {
248
335
249
336
@media (max-width : 480px ) {
250
337
.card {
251
- flex : 1 1 100% ;
338
+ flex : 1 1 100% ;
252
339
max-width : 100% ;
253
340
}
254
341
}
0 commit comments