Template:Main Page - styles/styles.css
Template page
More actions
/* ============================================ */
/* MAIN PAGE HEADER STYLES ONLY */
/* (home cards are styled in Template:Home/Cards - styles/styles.css) */
/* ============================================ */
/* Header wrapper */
.main-header-logo {
text-align: center;
padding: 3rem 1rem 2rem 1rem;
margin-bottom: 2rem;
background-color: #ffffff;
}
/* Logo block */
.logo-container {
text-align: center;
margin-bottom: 1.5rem;
}
.logo-container img {
max-width: 150px;
height: auto;
display: block;
margin: 0 auto;
}
/* Text block */
.header-text {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.site-title {
font-family: "Georgia", "Times New Roman", serif;
font-size: 5rem;
font-weight: 400;
letter-spacing: -0.02em;
color: #2d5016;
margin: 1rem 0 1.5rem 0;
line-height: 1.1;
position: relative;
}
.site-title::after {
content: "";
display: block;
width: 100%;
height: 2px;
background-color: #2d5016;
margin: 1rem auto 0;
}
.main-tagline {
font-size: 1.25rem;
color: #2d5016;
font-weight: 600;
margin-bottom: 0.75rem;
margin-top: 1.5rem;
text-transform: uppercase;
letter-spacing: 1px;
max-width: 100%;
}
.sub-tagline {
font-size: 1rem;
color: #6c757d;
line-height: 1.5;
margin-bottom: 1rem;
}
.call-to-action {
font-size: 0.9rem;
color: #495057;
font-style: italic;
margin-bottom: 0;
}
/* ============================================ */
/* RESPONSIVE TWEAKS */
/* ============================================ */
@media (max-width: 768px) {
.main-header-logo {
padding: 2rem 1rem 1.5rem 1rem;
margin-bottom: 1.5rem;
}
.site-title {
font-size: 3rem;
}
.main-tagline {
font-size: 1.05rem;
}
}
@media (max-width: 480px) {
.site-title {
font-size: 2.4rem;
}
.main-tagline {
font-size: 0.95rem;
}
.sub-tagline {
font-size: 0.9rem;
}
}