Some tweaks on the current members page

This commit is contained in:
Kent Joseph T. Palima
2026-04-30 00:35:07 +08:00
parent 3bd9b0e053
commit b4b4e54031
+32 -17
View File
@@ -3,7 +3,9 @@
.current-members-section { .current-members-section {
padding-block: 8rem; padding-block: 8rem;
padding-inline: 2.81rem; padding-inline: 2.81rem;
max-width: 1400px; /* Removed the strict max-width: 1400px to allow it to expand more */
width: 100%;
max-width: 1800px; /* Increased the limit so it uses more of wider screens */
margin: 0 auto; margin: 0 auto;
min-height: 100vh; min-height: 100vh;
@@ -13,23 +15,26 @@
font-size: 4.4374rem; font-size: 4.4374rem;
font-weight: 900; font-weight: 900;
margin-bottom: 4rem; margin-bottom: 4rem;
display: none; /* Hiding the H1 since 'President' acts as the top header now */
} }
/* Centered President Block */ /* Centered President Block */
.executive-top { .executive-top {
text-align: center; text-align: center;
margin-bottom: 5rem; margin-bottom: 4rem; /* Slightly reduced margin */
padding-bottom: 3rem; padding-bottom: 2rem;
border-bottom: 2px solid rgba(0, 0, 0, 0.1); border-bottom: 2px solid rgba(0, 0, 0, 0.1);
h2 { h2 {
font-size: 2rem; font-size: 1.5rem; /* Reduced from 2rem to be less dominant */
color: $secondary; color: $primary; /* Changed to primary color to match the theme */
margin-bottom: 0.5rem; margin-bottom: 0.25rem;
text-transform: uppercase;
letter-spacing: 0.05rem;
} }
h3 { h3 {
font-size: 2.5rem; font-size: 2rem; /* Reduced from 2.5rem */
font-weight: 700; font-weight: 700;
color: $dark; color: $dark;
} }
@@ -39,7 +44,7 @@
.committees-grid { .committees-grid {
display: grid; display: grid;
grid-template-columns: repeat(7, 1fr); grid-template-columns: repeat(7, 1fr);
gap: 1.5rem; gap: 1.5rem; /* The gap stays the same, but the columns will be naturally wider now */
align-items: start; align-items: start;
.committee-column { .committee-column {
@@ -47,6 +52,8 @@
padding: 1.5rem 1rem; padding: 1.5rem 1rem;
border-radius: 1rem; border-radius: 1rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
/* Added min-height to keep the boxes looking uniform even if some have fewer members */
min-height: 100%;
.committee-head { .committee-head {
text-align: center; text-align: center;
@@ -55,14 +62,17 @@
border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
h4 { h4 {
font-size: 1.25rem; font-size: 0.9rem; /* Reduced title size */
color: $primary; color: $primary;
margin-bottom: 0.25rem; margin-bottom: 0.5rem;
text-transform: uppercase;
} }
strong { strong {
font-size: 1.1rem; display: block; /* Ensures the name sits cleanly on its own line */
font-size: 1.25rem; /* Increased name size to stand out more than the title */
color: $dark; color: $dark;
line-height: 1.2;
} }
} }
@@ -84,7 +94,12 @@
/* --- Responsive Adjustments --- */ /* --- Responsive Adjustments --- */
/* Laptops & Tablets: Shrink to 4 columns, then 3 */ @media screen and (max-width: 1400px) {
.current-members-section {
padding-inline: 1.5rem; /* Reduce side padding slightly on medium screens */
}
}
@media screen and (max-width: 1200px) { @media screen and (max-width: 1200px) {
.current-members-section { .current-members-section {
.committees-grid { .committees-grid {
@@ -102,14 +117,14 @@
} }
} }
/* Mobile Devices: Shrink to 2 columns, then 1 */
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.current-members-section { .current-members-section {
padding-block: 4rem; padding-block: 4rem;
padding-inline: 1.5rem; padding-inline: 1rem;
h1 { .executive-top {
font-size: 3rem; h2 { font-size: 1.25rem; }
h3 { font-size: 1.75rem; }
} }
.committees-grid { .committees-grid {
@@ -124,4 +139,4 @@
grid-template-columns: repeat(1, 1fr); grid-template-columns: repeat(1, 1fr);
} }
} }
} }