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