<span class="mw-page-title-namespace">MediaWiki</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Common.css</span>

MediaWiki:Common.css

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.
/* ===================================================
   HymnRO Wiki - Cathedral Theme
   =================================================== */

/* === MAIN PAGE ONLY STYLES === */
body.page-Main_Page {
    background: url('/wiki/images/4/4a/Banner.jpg') no-repeat center top fixed;
    background-size: cover;
}

body.page-Main_Page #content {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.page-Main_Page .mw-body {
    background: transparent;
}

body.page-Main_Page #firstHeading {
    display: none;
}

/* === REGULAR PAGES STYLES === */
body:not(.page-Main_Page) {
    background: linear-gradient(to bottom, rgba(20, 30, 50, 0.95), rgba(10, 15, 30, 0.98)),
                url('/wiki/images/d/d4/Background.jpg') no-repeat center center fixed;
    background-size: cover;
}

body:not(.page-Main_Page) #content {
    background: rgba(20, 28, 46, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 196, 155, 0.2);
    border-radius: 8px;
}

/* === GLOBAL STYLES === */

/* Gold color variables */
:root {
    --gold: #E8C49B;
    --gold-dark: #C9A46D;
    --gold-light: #F5DFC5;
    --dark-bg: rgba(20, 28, 46, 0.9);
    --darker-bg: rgba(10, 15, 30, 0.95);
}

/* Links */
#content a:not(.new) {
    color: var(--gold);
    text-decoration: none;
}

#content a:not(.new):hover {
    color: var(--gold-light);
    text-decoration: underline;
}

#content a.new {
    color: #e07a7a;
}

/* Headings on regular pages */
body:not(.page-Main_Page) #firstHeading,
body:not(.page-Main_Page) .mw-headline {
    color: var(--gold);
    border-bottom: 2px solid rgba(232, 196, 155, 0.3);
    padding-bottom: 0.3em;
}

body:not(.page-Main_Page) #bodyContent h2,
body:not(.page-Main_Page) #bodyContent h3,
body:not(.page-Main_Page) #bodyContent h4 {
    color: var(--gold);
}

/* Body text on regular pages */
body:not(.page-Main_Page) #bodyContent {
    color: rgba(255, 255, 255, 0.9);
}

/* === MAIN PAGE CUSTOM ELEMENTS === */

/* Hero Section */
.hymnro-hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.hymnro-hero img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(232, 196, 155, 0.5));
}

.hymnro-tagline {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-style: italic;
}

/* Navigation Grid */
.hymnro-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Navigation Cards */
.hymnro-card {
    background: rgba(20, 28, 46, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 196, 155, 0.25);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    display: block;
}

.hymnro-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(232, 196, 155, 0.2);
    background: rgba(30, 40, 60, 0.9);
}

.hymnro-card-title {
    font-size: 1.3em;
    color: var(--gold) !important;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hymnro-card-desc {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Section Headers */
.hymnro-section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.hymnro-section-title {
    color: var(--gold);
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hymnro-section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 10px auto 0;
}

/* Server Info Box */
.hymnro-info-box {
    background: rgba(20, 28, 46, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 196, 155, 0.25);
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.hymnro-info-box h3 {
    color: var(--gold);
    margin-bottom: 15px;
}

.hymnro-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(232, 196, 155, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.hymnro-info-item:last-child {
    border-bottom: none;
}

.hymnro-info-label {
    color: rgba(255, 255, 255, 0.7);
}

.hymnro-info-value {
    color: var(--gold);
    font-weight: 600;
}

/* Quick Links Row */
.hymnro-quick-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px auto;
    padding: 0 20px;
}

.hymnro-quick-link {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1a2e !important;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 196, 155, 0.3);
}

.hymnro-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 196, 155, 0.5);
    filter: brightness(1.1);
}

/* Footer area */
.hymnro-footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

/* === SIDEBAR STYLING === */
#mw-panel {
    background: rgba(15, 20, 35, 0.9);
}

#mw-panel .portal h3 {
    color: var(--gold);
}

#mw-panel .portal .body li a {
    color: rgba(255, 255, 255, 0.8);
}

#mw-panel .portal .body li a:hover {
    color: var(--gold);
}

/* === TABLES === */
.wikitable {
    background: rgba(20, 28, 46, 0.8);
    border: 1px solid rgba(232, 196, 155, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.wikitable th {
    background: rgba(232, 196, 155, 0.15);
    color: var(--gold);
    border: 1px solid rgba(232, 196, 155, 0.2);
}

.wikitable td {
    border: 1px solid rgba(232, 196, 155, 0.1);
}

.wikitable tr:hover {
    background: rgba(232, 196, 155, 0.05);
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
    .hymnro-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .hymnro-card {
        padding: 20px 15px;
    }
    
    .hymnro-hero img {
        max-width: 280px;
    }
    
    .hymnro-quick-links {
        flex-direction: column;
        align-items: center;
    }
}