<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/b/b5/Banner.jpg') no-repeat center top fixed;
    background-size: cover;
}

body.page-Main_Page #content {
    background: rgba(20, 28, 46, 0.5) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 196, 155, 0.15);
}

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

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

body.page-Main_Page #bodyContent {
    background: transparent !important;
}

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

/* Hide TOC on main page */
body.page-Main_Page #toc,
body.page-Main_Page .toc,
body.page-Main_Page .mw-parser-output > .toc {
    display: none !important;
}

/* === 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/1/1f/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 === */

: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: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: 20px;
}

.hymnro-hero img {
    max-width: 350px;
    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;
}

/* Main Layout Container */
.hymnro-main-layout {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left Sidebar */
.hymnro-sidebar-left {
    width: 200px;
    flex-shrink: 0;
}

/* Center Content */
.hymnro-center {
    flex: 1;
    min-width: 0;
}

/* Right Sidebar */
.hymnro-sidebar-right {
    width: 200px;
    flex-shrink: 0;
}

/* Sidebar Box */
.hymnro-sidebar-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: 20px;
    margin-bottom: 20px;
}

.hymnro-sidebar-box h3 {
    color: var(--gold);
    font-size: 1.1em;
    margin: 0 0 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(232, 196, 155, 0.2);
    padding-bottom: 10px;
}

.hymnro-sidebar-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hymnro-sidebar-box li {
    margin-bottom: 10px;
}

.hymnro-sidebar-box a {
    display: block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1a2e !important;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(232, 196, 155, 0.3);
}

.hymnro-sidebar-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 196, 155, 0.5);
    filter: brightness(1.1);
}

/* Section Title */
.hymnro-section-title {
    color: var(--gold);
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

/* Navigation Grid */
.hymnro-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

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

.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.2em;
    color: var(--gold) !important;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* 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: 20px;
    margin-bottom: 20px;
}

.hymnro-info-box h3 {
    color: var(--gold);
    margin: 0 0 15px 0;
    font-size: 1.1em;
    text-align: center;
}

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

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

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

/* === HEADER STYLING === */
.mw-header,
#mw-head {
    background: rgba(15, 20, 35, 0.95) !important;
    border-bottom: 1px solid rgba(232, 196, 155, 0.2);
}

.vector-menu-tabs a,
.vector-menu-tabs span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.vector-menu-tabs a:hover {
    color: var(--gold) !important;
}

.mw-logo-wordmark {
    color: var(--gold) !important;
}

.vector-search-box-input {
    background: rgba(20, 28, 46, 0.8) !important;
    border: 1px solid rgba(232, 196, 155, 0.3) !important;
    color: white !important;
}

/* === 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: 900px) {
    .hymnro-main-layout {
        flex-direction: column;
    }
    
    .hymnro-sidebar-left,
    .hymnro-sidebar-right {
        width: 100%;
    }
    
    .hymnro-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .hymnro-nav-grid {
        grid-template-columns: 1fr;
    }
}