Template:PortalCurrentEvents/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary Tag: Reverted |
Eloise Zomia (talk | contribs) Undo revision 1557 by Eloise Zomia (talk) Tag: Undo |
||
| Line 1: | Line 1: | ||
/* ============================================ */ | /* ============================================ */ | ||
/* CURRENT EVENTS PORTAL LAYOUT | /* CURRENT EVENTS PORTAL LAYOUT */ | ||
/* ============================================ */ | /* ============================================ */ | ||
. | .portal-current-wrapper { | ||
max-width: 1100px; | max-width: 1100px; | ||
margin: 0 auto 1.5rem; | margin: 0 auto 1.5rem; | ||
padding: 0 0.75rem; | padding: 0 0.75rem; | ||
} | } | ||
/* Header */ | /* Header */ | ||
. | .portal-current-header { | ||
background: #f7faf6; | background: #f7faf6; | ||
border-radius: 10px; | border-radius: 10px; | ||
border: 1px solid #c5d2c0; | border: 1px solid #c5d2c0; | ||
padding: 0.9rem 1rem; | padding: 0.9rem 1rem; | ||
margin-bottom: | margin-bottom: 1rem; | ||
} | } | ||
. | .portal-current-eyebrow { | ||
font-size: 0.75rem; | font-size: 0.75rem; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
| Line 29: | Line 28: | ||
} | } | ||
. | .portal-current-title { | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
margin: 0 0 0.25rem; | margin: 0 0 0.25rem; | ||
| Line 35: | Line 34: | ||
} | } | ||
. | .portal-current-sub { | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
margin: 0 0 0.4rem; | margin: 0 0 0.4rem; | ||
| Line 41: | Line 40: | ||
} | } | ||
. | .portal-current-nav { | ||
font-size: 0.8rem; | font-size: 0.8rem; | ||
color: #4b5f3c; | color: #4b5f3c; | ||
} | } | ||
. | .portal-current-nav a { | ||
color: #324625; | color: #324625; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
. | .portal-current-nav a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* | /* Cards grid */ | ||
. | .portal-current-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: 0.9rem; | gap: 0.9rem; | ||
margin-bottom: 1. | margin-bottom: 1.25rem; | ||
} | } | ||
.portal-current-card { | |||
. | |||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid #d2ddce; | |||
border-radius: 8px; | border-radius: 8px; | ||
padding: 0.8rem 0.9rem 0.85rem; | |||
padding: 0.8rem 0.9rem 0. | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); | ||
} | } | ||
. | .portal-current-card h2 { | ||
font-size: 1rem; | font-size: 1rem; | ||
margin: 0 0 0. | margin: 0 0 0.2rem; | ||
color: #26351a; | color: #26351a; | ||
} | } | ||
. | .portal-current-card-sub { | ||
font-size: 0.8rem; | font-size: 0.8rem; | ||
margin: 0 0 0.5rem; | margin: 0 0 0.5rem; | ||
| Line 116: | Line 83: | ||
} | } | ||
. | .portal-current-list { | ||
margin: 0; | margin: 0; | ||
padding-left: 1.1rem; | padding-left: 1.1rem; | ||
| Line 123: | Line 90: | ||
} | } | ||
. | .portal-current-list li { | ||
margin-bottom: 0.25rem; | margin-bottom: 0.25rem; | ||
} | } | ||
.portal-current-list li span { | |||
display: block; | |||
. | font-size: 0.8rem; | ||
display: | color: #64725e; | ||
} | } | ||
/* Update note */ | |||
. | .portal-current-note { | ||
font-size: 0. | font-size: 0.8rem; | ||
background: #f7faf6; | background: #f7faf6; | ||
border: 1px dashed #c5d2c0; | |||
border-radius: 8px; | border-radius: 8px; | ||
padding: 0.7rem 0.9rem; | |||
padding: 0.7rem 0.9rem | color: #4c5d44; | ||
color: # | |||
} | } | ||
| Line 184: | Line 114: | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
. | .portal-current-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
} | } | ||
Revision as of 14:57, 20 November 2025
/* ============================================ */
/* CURRENT EVENTS PORTAL LAYOUT */
/* ============================================ */
.portal-current-wrapper {
max-width: 1100px;
margin: 0 auto 1.5rem;
padding: 0 0.75rem;
}
/* Header */
.portal-current-header {
background: #f7faf6;
border-radius: 10px;
border: 1px solid #c5d2c0;
padding: 0.9rem 1rem;
margin-bottom: 1rem;
}
.portal-current-eyebrow {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #60724f;
font-weight: 600;
margin: 0 0 0.15rem;
}
.portal-current-title {
font-size: 1.5rem;
margin: 0 0 0.25rem;
color: #233017;
}
.portal-current-sub {
font-size: 0.9rem;
margin: 0 0 0.4rem;
color: #55614b;
}
.portal-current-nav {
font-size: 0.8rem;
color: #4b5f3c;
}
.portal-current-nav a {
color: #324625;
text-decoration: none;
}
.portal-current-nav a:hover {
text-decoration: underline;
}
/* Cards grid */
.portal-current-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.9rem;
margin-bottom: 1.25rem;
}
.portal-current-card {
background: #ffffff;
border: 1px solid #d2ddce;
border-radius: 8px;
padding: 0.8rem 0.9rem 0.85rem;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.portal-current-card h2 {
font-size: 1rem;
margin: 0 0 0.2rem;
color: #26351a;
}
.portal-current-card-sub {
font-size: 0.8rem;
margin: 0 0 0.5rem;
color: #606f5a;
}
.portal-current-list {
margin: 0;
padding-left: 1.1rem;
font-size: 0.85rem;
color: #243220;
}
.portal-current-list li {
margin-bottom: 0.25rem;
}
.portal-current-list li span {
display: block;
font-size: 0.8rem;
color: #64725e;
}
/* Update note */
.portal-current-note {
font-size: 0.8rem;
background: #f7faf6;
border: 1px dashed #c5d2c0;
border-radius: 8px;
padding: 0.7rem 0.9rem;
color: #4c5d44;
}
/* Responsive */
@media (max-width: 900px) {
.portal-current-grid {
grid-template-columns: 1fr;
}
}