Jump to content

MediaWiki:Common.css

From GTA RP Wiki
Revision as of 12:23, 9 January 2026 by Qocean (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/*
.mainpage-header {
    background: #ffffff;
    border: 1px solid #a2a9b1;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.mainpage-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mainpage-title {
    font-size: 2em;
    font-weight: normal;
    letter-spacing: 0.1em;
    border: none;
    margin: 0;
    padding: 0;
}

.mainpage-subtitle {
    font-style: italic;
    color: #54595d;
    margin-top: 5px;
}

.mainpage-stats {
    text-align: right;
    font-size: 0.9em;
}

.mainpage-stats div {
    margin: 3px 0;
}

.mainpage-colorstrip {
    height: 6px;
    background: linear-gradient(to right, 
        #9d6c3a 0%, #9d6c3a 12.5%,
        #a4b834 12.5%, #a4b834 25%,
        #6da644 25%, #6da644 37.5%,
        #339966 37.5%, #339966 50%,
        #4a9aad 50%, #4a9aad 62.5%,
        #336699 62.5%, #336699 75%,
        #4d4d99 75%, #4d4d99 87.5%,
        #9966cc 87.5%, #9966cc 100%);
    margin: 15px 0;
}

.mainpage-nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.mainpage-nav a {
    padding: 5px 10px;
    white-space: nowrap;
}

.mainpage-nav a:hover {
    background: #eaecf0;
    text-decoration: none;
}

@media (max-width: 768px) {
    .mainpage-header-top {
        flex-direction: column;
        text-align: center;
    }
    .mainpage-stats {
        text-align: center;
        margin-top: 15px;
    }
}
*/