Skip to content

Commit 1134e88

Browse files
committed
Update styles.css
1 parent 2f01fb7 commit 1134e88

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

Website/styles.css

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
/* General Styles */
21
body {
32
font-family: Arial, sans-serif;
43
margin: 0;
54
padding: 0;
65
background-color: #f4f4f4;
7-
overflow-y: auto; /* Ensure vertical scrollbar appears if needed */
6+
overflow-y: auto;
87
}
98

109

@@ -59,7 +58,7 @@ main {
5958
/* Statistics Cards Styles */
6059
.stats-grid {
6160
display: grid;
62-
grid-template-columns: repeat(4, 1fr); /* 4 columns in desktop view */
61+
grid-template-columns: repeat(4, 1fr);
6362
gap: 1rem;
6463
margin-top: 2rem;
6564
padding: 20px;
@@ -78,30 +77,11 @@ main {
7877
color: #007bff;
7978
}
8079

81-
/* Contributors Grid Styles */
82-
.contributors-grid {
83-
display: grid;
84-
grid-template-columns: repeat(4, 1fr); /* 4 columns in desktop view */
85-
gap: 1rem;
86-
margin-top: 1rem;
87-
padding: 20px;
88-
background-color: #fff;
89-
border-radius: 10px;
90-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
91-
}
92-
93-
.contributors-grid img {
94-
border-radius: 50%;
95-
width: 80px;
96-
height: 80px;
97-
object-fit: cover;
98-
}
99-
10080
/* Responsive Adjustments */
10181
@media (max-width: 768px) {
10282
.stats-grid,
10383
.contributors-grid {
104-
grid-template-columns: 1fr; /* 1 column in mobile view */
84+
grid-template-columns: 1fr;
10585
}
10686
}
10787

0 commit comments

Comments
 (0)