MediaWiki:Common.css

From The Chicago Hip-Hop History Project
Revision as of 13:27, 18 June 2026 by Rdifaz2 (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}

.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-search {
    margin: 30px 0;
}

.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;
    }
}
```