MediaWiki:Common.css: Difference between revisions

From The Chicago Hip-Hop History Project
No edit summary
No edit summary
Line 31: Line 31:
     gap: 30px;
     gap: 30px;
     margin-bottom: 35px;
     margin-bottom: 35px;
    gap: 10px;
    column-gap: 10px;
}
}



Revision as of 23:01, 2 September 2026

/* CSS placed here will be applied to all skins */

```css
/* CHHHP Homepage */

.chhhp-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    text-align: center;
}

.chhhp-wordmark {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: bold;
    color: #111;
    margin-bottom: 8px;
}

.chhhp-tagline {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.chhhp-hub {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    gap: 10px;
    column-gap: 10px;
}

.chhhp-logo {
    text-align: center;
}

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

.chhhp-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chhhp-nav a {
    color: #3366cc !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.chhhp-nav a:hover {
    text-decoration: underline;
    color: #447ff5 !important;
}

.chhhp-intro {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    line-height: 1.7;
}

.chhhp-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.chhhp-card {
    background: #f8f9fa;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
}

.chhhp-card h2 {
    margin-top: 0;
    border-bottom: 1px solid #d8dde3;
    padding-bottom: 10px;
    font-size: 1.3em;
}

.chhhp-card a {
    color: #3366cc;
    font-weight: bold;
    text-decoration: none;
}

.chhhp-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {

    .chhhp-hub {
        grid-template-columns: 1fr;
    }

    .chhhp-nav {
        max-width: 400px;
        margin: 0 auto;
    }

    .chhhp-featured {
        grid-template-columns: 1fr;
    }

    .chhhp-wordmark {
        font-size: 32px;
    }
}
```