Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main Page - styles/styles.css

Template page
Revision as of 17:07, 22 August 2025 by Eloise Zomia (talk | contribs)
/* Clean logo-focused header */
.main-header-logo {
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    margin-bottom: 2rem;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo-container img {
    max-width: 100%;
    height: auto;
}

.tagline-container {
    max-width: 800px;
    margin: 0 auto;
}

.main-tagline {
    font-size: 1.5rem;
    color: #2d5016;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.sub-tagline {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
    font-weight: 400;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .main-header-logo {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .main-tagline {
        font-size: 1.25rem;
    }
    
    .sub-tagline {
        font-size: 0.9rem;
    }
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 0.625rem;
    margin-top: 2.4rem;
}

.home-card {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
    font-size: 0.875rem;
    min-height: 120px;
}

.home-card--col2 {
    grid-column: span 2;
}

.home-card--button {
    overflow: hidden;
    padding: 0;
    background: #242a31;
}

.home-card__background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;
}

.home-card__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.home-card:hover .home-card__background img {
    transform: scale(1.1);
}

.home-card__foreground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    font-weight: 500;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
}