Added committee emails (fixing)

This commit is contained in:
Kent Joseph T. Palima
2026-05-02 22:41:22 +08:00
parent 96c51af360
commit 43458f322f
+25 -9
View File
@@ -6,17 +6,28 @@
place-items: center; place-items: center;
align-content: center; align-content: center;
/* FIX 1: Push the content down below the navbar, and pull it up from the footer */
padding-top: 8rem;
padding-bottom: 6rem;
h1 { h1 {
font-size: 6rem; /* FIX 2: Shrink the massive desktop font size */
font-size: 4rem;
text-align: center;
/* FIX 3: Shrink it even more on mobile phones */
@media (max-width: 768px) {
font-size: 2.5rem;
}
} }
strong { strong {
font-size: 3rem; font-size: 3rem;
} }
/* 1. Add a comma to target both the old component and your new section! */
.contact-details, .committee-contacts { .contact-details, .committee-contacts {
margin-top: 1rem; margin-top: 1rem;
width: 100%; /* Add this to ensure the container spans the full width */ width: 100%;
h2 { h2 {
font-size: 2.5rem; font-size: 2.5rem;
@@ -24,20 +35,20 @@
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
text-align: center; text-align: center;
color: $dark; color: $dark;
/* Make the subheader a bit smaller on mobile too */
@media (max-width: 768px) {
font-size: 2rem;
}
} }
ul { ul {
row-gap: 1rem; row-gap: 1rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
/* 1. Align the list items to the left so the icons line up perfectly */
align-items: flex-start; align-items: flex-start;
/* 2. Shrink the invisible box around the list, then center that box! */
width: fit-content; width: fit-content;
margin: 0 auto; margin: 0 auto;
list-style: none; list-style: none;
padding: 0; padding: 0;
@@ -50,11 +61,16 @@
color: $dark; color: $dark;
font-size: 1.5rem; font-size: 1.5rem;
/* Prevent long emails from breaking off the edge of small phone screens */
@media (max-width: 768px) {
font-size: 1.15rem;
}
svg { svg {
color: $dark; color: $dark;
/* Optional: Give the icon a strict width so they don't resize differently */
width: 24px; width: 24px;
height: auto; height: auto;
flex-shrink: 0; /* Prevents the icon from squishing if text wraps */
} }
&:hover { &:hover {
border-bottom: 2px solid $dark; border-bottom: 2px solid $dark;