MediaWiki:Common.css: Difference between revisions

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 10: Line 10:


body.page-Main_Page #content {
body.page-Main_Page #content {
     background: rgba(20, 28, 46, 0.4) !important;
     background: rgba(20, 28, 46, 0.5) !important;
     backdrop-filter: blur(8px);
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
     border: none;
     border: 1px solid rgba(232, 196, 155, 0.15);
    border-top: 1px solid rgba(232, 196, 155, 0.15);
    box-shadow: none;
    margin: 0 !important;
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
}
}


body.page-Main_Page .mw-body {
body.page-Main_Page .mw-body {
     background: transparent !important;
     background: transparent !important;
    margin: 0 auto !important;
    max-width: 1200px;
    padding: 0 !important;
}
}


Line 33: Line 24:
}
}


/* Make Vector skin content area transparent on main page */
body.page-Main_Page #bodyContent {
body.page-Main_Page #bodyContent {
     background: transparent !important;
     background: transparent !important;
}
body.page-Main_Page .mw-page-container {
    background: transparent !important;
    max-width: 100% !important;
    padding: 0 !important;
}
/* Hide white bar and other Vector 2022 elements on main page */
body.page-Main_Page .mw-page-container-inner {
    display: flex;
    flex-direction: column;
}
body.page-Main_Page .vector-column-start {
    display: none !important;
}
body.page-Main_Page .mw-content-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}
}


Line 64: Line 32:
}
}


/* Hide sidebar on main page */
/* Hide TOC on main page */
body.page-Main_Page #mw-panel,
body.page-Main_Page .vector-main-menu,
body.page-Main_Page .vector-column-start,
body.page-Main_Page .vector-sidebar-container {
    display: none !important;
}
 
body.page-Main_Page #mw-head-base {
    display: none;
}
 
body.page-Main_Page #content {
    margin-left: 0;
}
 
body.page-Main_Page #left-navigation {
    margin-left: 0;
}
 
/* Hide table of contents on main page */
body.page-Main_Page #toc,
body.page-Main_Page #toc,
body.page-Main_Page .toc,
body.page-Main_Page .toc,
body.page-Main_Page .mw-parser-output > .toc,
body.page-Main_Page .mw-parser-output > .toc {
body.page-Main_Page .toctogglecheckbox,
body.page-Main_Page .mw-table-of-contents-container {
     display: none !important;
     display: none !important;
}
/* Hide right sidebar (Tools) on main page */
body.page-Main_Page #mw-panel-toc,
body.page-Main_Page .vector-column-end,
body.page-Main_Page .mw-portlet-coll-print_export,
body.page-Main_Page #p-tb,
body.page-Main_Page .vector-page-tools,
body.page-Main_Page .vector-page-tools-landmark {
    display: none !important;
}
/* Expand content area on main page */
body.page-Main_Page .mw-content-container {
    max-width: 100% !important;
}
body.page-Main_Page .mw-body {
    margin-right: 0 !important;
}
}


Line 129: Line 56:
/* === GLOBAL STYLES === */
/* === GLOBAL STYLES === */


/* Gold color variables */
:root {
:root {
     --gold: #E8C49B;
     --gold: #E8C49B;
Line 167: Line 93:
}
}


/* Body text on regular pages */
body:not(.page-Main_Page) #bodyContent {
body:not(.page-Main_Page) #bodyContent {
     color: rgba(255, 255, 255, 0.9);
     color: rgba(255, 255, 255, 0.9);
Line 178: Line 103:
     text-align: center;
     text-align: center;
     padding: 40px 20px;
     padding: 40px 20px;
     margin-bottom: 30px;
     margin-bottom: 20px;
}
}


.hymnro-hero img {
.hymnro-hero img {
     max-width: 400px;
     max-width: 350px;
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
Line 194: Line 119:
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
     font-style: italic;
     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;
}
}


Line 199: Line 217:
.hymnro-nav-grid {
.hymnro-nav-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
     gap: 15px;
     padding: 20px;
     margin-bottom: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
}


Line 210: Line 226:
     background: rgba(20, 28, 46, 0.8);
     background: rgba(20, 28, 46, 0.8);
     backdrop-filter: blur(12px);
     backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
     border: 1px solid rgba(232, 196, 155, 0.25);
     border: 1px solid rgba(232, 196, 155, 0.25);
     border-radius: 12px;
     border-radius: 12px;
     padding: 25px 20px;
     padding: 20px 15px;
     text-align: center;
     text-align: center;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     cursor: pointer;
     cursor: pointer;
    text-decoration: none !important;
    display: block;
}
}


Line 230: Line 243:


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


.hymnro-card-desc {
.hymnro-card-desc {
     font-size: 0.9em;
     font-size: 0.85em;
     color: rgba(255, 255, 255, 0.7);
     color: rgba(255, 255, 255, 0.7);
     line-height: 1.4;
     line-height: 1.3;
}
 
/* Section Headers */
.hymnro-section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}
}


.hymnro-section-title {
/* Info Box */
    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 {
.hymnro-info-box {
     background: rgba(20, 28, 46, 0.8);
     background: rgba(20, 28, 46, 0.8);
Line 274: Line 262:
     border: 1px solid rgba(232, 196, 155, 0.25);
     border: 1px solid rgba(232, 196, 155, 0.25);
     border-radius: 12px;
     border-radius: 12px;
     padding: 25px;
     padding: 20px;
    max-width: 600px;
     margin-bottom: 20px;
     margin: 30px auto;
    text-align: center;
}
}


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


Line 288: Line 276:
     display: flex;
     display: flex;
     justify-content: space-between;
     justify-content: space-between;
     padding: 8px 0;
     padding: 6px 0;
     border-bottom: 1px solid rgba(232, 196, 155, 0.1);
     border-bottom: 1px solid rgba(232, 196, 155, 0.1);
     color: rgba(255, 255, 255, 0.9);
     font-size: 0.9em;
}
}


Line 306: Line 294:
}
}


/* Quick Links Row */
/* Footer */
.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 {
.hymnro-footer {
     text-align: center;
     text-align: center;
     padding: 30px 20px;
     padding: 20px;
     color: rgba(255, 255, 255, 0.5);
     color: rgba(255, 255, 255, 0.5);
     font-size: 0.9em;
     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);
}
}


Line 378: Line 322:
}
}


/* Search box */
.vector-search-box-input {
.vector-search-box-input {
     background: rgba(20, 28, 46, 0.8) !important;
     background: rgba(20, 28, 46, 0.8) !important;
Line 385: Line 328:
}
}


.vector-search-box-input::placeholder {
/* === SIDEBAR STYLING === */
     color: rgba(255, 255, 255, 0.5);
#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);
}
}


Line 411: Line 367:


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

Revision as of 04:47, 23 December 2025

/* ===================================================
   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;
    }
}