MediaWiki:Common.css: Difference between revisions

MediaWiki:Common.css: Difference between revisions

No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* ===================================================
/* HymnRO Wiki - Background */
  HymnRO Wiki - Cathedral Theme (Vector 2022)
  =================================================== */
 
/* === COLOR VARIABLES === */
:root {
    --gold: #E8C49B;
    --gold-dark: #C9A46D;
    --gold-light: #F5DFC5;
    --dark-bg: rgba(20, 28, 46, 0.9);
}
 
/* === BACKGROUND === */
body {
body {
     background: url('/wiki/images/b/b5/Banner.jpg') no-repeat center top fixed !important;
     background: url('/wiki/images/b/b5/Banner.jpg') no-repeat center top fixed !important;
Line 17: Line 5:
}
}


body:not(.page-Main_Page) {
/* Content area - frosted glass */
    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 !important;
    background-size: cover !important;
}
 
/* === MAIN CONTENT === */
.mw-body {
.mw-body {
     background: rgba(20, 28, 46, 0.75) !important;
     background: rgba(20, 28, 46, 0.75) !important;
     backdrop-filter: blur(8px);
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 196, 155, 0.2);
     border-radius: 8px;
     border-radius: 8px;
    padding: 20px !important;
}
#firstHeading {
    color: var(--gold);
    border-bottom: 2px solid rgba(232, 196, 155, 0.3);
}
body.page-Main_Page #firstHeading {
    display: none;
}
#bodyContent {
    color: rgba(255, 255, 255, 0.9);
}
/* === HIDE TOC ON MAIN PAGE === */
body.page-Main_Page .vector-toc,
body.page-Main_Page #toc,
body.page-Main_Page .toc {
    display: none !important;
}
/* === LINKS === */
.mw-body a:not(.new) {
    color: var(--gold);
}
.mw-body a:not(.new):hover {
    color: var(--gold-light);
}
.mw-body a.new {
    color: #e07a7a;
}
/* === HEADINGS === */
.mw-body h2, .mw-body h3, .mw-body h4 {
    color: var(--gold);
}
/* === MAIN PAGE ELEMENTS === */
.hymnro-hero {
    text-align: center;
    padding: 30px 20px 20px;
}
.hymnro-hero img {
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 0 25px rgba(232, 196, 155, 0.5));
}
.hymnro-tagline {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-style: italic;
}
.hymnro-quick-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 15px auto 25px;
}
.hymnro-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1a2e !important;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(232, 196, 155, 0.3);
}
.hymnro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(232, 196, 155, 0.5);
}
.hymnro-quick-links a {
    text-decoration: none !important;
}
.hymnro-section-title {
    color: var(--gold);
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 18px;
}
.hymnro-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 6px auto 0;
}
.hymnro-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}
.hymnro-card {
    background: rgba(20, 28, 46, 0.85);
    border: 1px solid rgba(232, 196, 155, 0.25);
    border-radius: 10px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.hymnro-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.hymnro-card-title {
    font-size: 1.1em;
    color: var(--gold) !important;
    font-weight: 600;
    margin-bottom: 5px;
}
.hymnro-card-desc {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}
.hymnro-info-section {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}
.hymnro-info-section .hymnro-info-box {
    flex: 1;
}
.hymnro-info-box {
    background: rgba(20, 28, 46, 0.85);
    border: 1px solid rgba(232, 196, 155, 0.25);
    border-radius: 10px;
    padding: 18px;
}
.hymnro-info-box h3 {
    color: var(--gold);
    margin: 0 0 12px 0;
    font-size: 1em;
    text-align: center;
    border-bottom: 1px solid rgba(232, 196, 155, 0.2);
    padding-bottom: 8px;
}
.hymnro-info-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(232, 196, 155, 0.1);
    font-size: 0.85em;
}
.hymnro-info-item:last-child {
    border-bottom: none;
}
.hymnro-info-label {
    color: rgba(255, 255, 255, 0.7);
}
}


.hymnro-info-value {
/* Make all the white containers transparent */
     color: var(--gold);
.mw-page-container {
    font-weight: 600;
     background: transparent !important;
}
}


.hymnro-footer {
.vector-column-start,
    text-align: center;
.vector-column-end,
    padding: 15px;
.vector-main-menu,
    color: rgba(255, 255, 255, 0.5);
.vector-page-tools {
     font-size: 0.85em;
     background: transparent !important;
}
}


/* === TABLES === */
/* Left sidebar - Target the actual element */
.wikitable {
#mw-navigation {
     background: rgba(20, 28, 46, 0.85) !important;
     background: transparent !important;
    border: 1px solid rgba(232, 196, 155, 0.2) !important;
    color: rgba(255, 255, 255, 0.9);
}
}


.wikitable th {
nav#mw-panel {
     background: rgba(232, 196, 155, 0.15) !important;
     background: transparent !important;
    color: var(--gold) !important;
    border: 1px solid rgba(232, 196, 155, 0.2) !important;
}
}


.wikitable td {
.vector-main-menu-container,
     border: 1px solid rgba(232, 196, 155, 0.1) !important;
.vector-main-menu-group,
.vector-main-menu .vector-menu-content,
.vector-main-menu-landmark {
     background: transparent !important;
}
}


/* === RESPONSIVE === */
/* Right sidebar - Tools */
@media screen and (max-width: 700px) {
.vector-page-tools-container,
    .hymnro-nav-grid {
.vector-page-tools .vector-menu-content,
        grid-template-columns: repeat(2, 1fr);
.vector-sticky-pinned-container {
    }
    background: transparent !important;
   
    .hymnro-info-section {
        flex-direction: column;
    }
}
}


@media screen and (max-width: 450px) {
/* Pinnable containers */
    .hymnro-nav-grid {
.vector-pinnable-element,
        grid-template-columns: 1fr;
.vector-main-menu-pinned-container,
    }
.vector-page-tools-pinned-container {
    background: transparent !important;
}
}

Revision as of 06:04, 23 December 2025

/* HymnRO Wiki - Background */
body {
    background: url('/wiki/images/b/b5/Banner.jpg') no-repeat center top fixed !important;
    background-size: cover !important;
}

/* Content area - frosted glass */
.mw-body {
    background: rgba(20, 28, 46, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
}

/* Make all the white containers transparent */
.mw-page-container {
    background: transparent !important;
}

.vector-column-start,
.vector-column-end,
.vector-main-menu,
.vector-page-tools {
    background: transparent !important;
}

/* Left sidebar - Target the actual element */
#mw-navigation {
    background: transparent !important;
}

nav#mw-panel {
    background: transparent !important;
}

.vector-main-menu-container,
.vector-main-menu-group,
.vector-main-menu .vector-menu-content,
.vector-main-menu-landmark {
    background: transparent !important;
}

/* Right sidebar - Tools */
.vector-page-tools-container,
.vector-page-tools .vector-menu-content,
.vector-sticky-pinned-container {
    background: transparent !important;
}

/* Pinnable containers */
.vector-pinnable-element,
.vector-main-menu-pinned-container,
.vector-page-tools-pinned-container {
    background: transparent !important;
}