MediaWiki:Common.css: Difference between revisions

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 1: Line 1:
/* HymnRO Wiki - Clean Theme with Banner */
/* ===================================================
  HymnRO Wiki - Cathedral Theme (Vector 2022)
  =================================================== */


/* === COLOR VARIABLES === */
/* === COLOR VARIABLES === */
Line 5: Line 7:
     --gold: #E8C49B;
     --gold: #E8C49B;
     --gold-dark: #C9A46D;
     --gold-dark: #C9A46D;
     --dark-blue: #1a1f36;
     --gold-light: #F5DFC5;
     --light-bg: #f8f9fa;
     --dark-bg: rgba(20, 28, 46, 0.9);
}
}


/* === BANNER HEADER === */
/* === BACKGROUND === */
.hymnro-banner {
body {
     background: linear-gradient(135deg, #1a1f36 0%, #2d3a5c 50%, #1a1f36 100%);
    background: url('/wiki/images/b/b5/Banner.jpg') no-repeat center top fixed !important;
     border-radius: 16px;
    background-size: cover !important;
     padding: 30px 40px;
}
     margin-bottom: 25px;
 
     display: flex;
body:not(.page-Main_Page) {
     align-items: center;
     background: linear-gradient(to bottom, rgba(20, 30, 50, 0.95), rgba(10, 15, 30, 0.98)),
     gap: 30px;
                url('/wiki/images/1/1f/Background.jpg') no-repeat center center fixed !important;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
     background-size: cover !important;
    position: relative;
}
     overflow: hidden;
 
/* === MAIN CONTENT === */
.mw-body {
    background: rgba(20, 28, 46, 0.75) !important;
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
     border: 1px solid rgba(232, 196, 155, 0.2);
     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;
}
}


.hymnro-banner::before {
#bodyContent {
     content: '';
     color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/wiki/images/b/b5/Banner.jpg') center center;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}
}


.hymnro-banner-logo {
/* === HIDE TOC ON MAIN PAGE === */
     position: relative;
body.page-Main_Page .vector-toc,
    z-index: 1;
body.page-Main_Page #toc,
body.page-Main_Page .toc {
     display: none !important;
}
}


.hymnro-banner-logo img {
/* === LINKS === */
     max-width: 200px;
.mw-body a:not(.new) {
    filter: drop-shadow(0 0 20px rgba(232, 196, 155, 0.5));
     color: var(--gold);
}
}


.hymnro-banner-content {
.mw-body a:not(.new):hover {
     position: relative;
     color: var(--gold-light);
    z-index: 1;
    flex: 1;
}
}


.hymnro-banner-title {
.mw-body a.new {
     color: white;
     color: #e07a7a;
    font-size: 2em;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
}


.hymnro-banner-subtitle {
/* === HEADINGS === */
.mw-body h2, .mw-body h3, .mw-body h4 {
     color: var(--gold);
     color: var(--gold);
     font-size: 1.1em;
}
 
/* === 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;
     font-style: italic;
    margin: 0;
}
}


.hymnro-banner-buttons {
.hymnro-quick-links {
    position: relative;
    z-index: 1;
     display: flex;
     display: flex;
     gap: 10px;
    justify-content: center;
     gap: 12px;
    flex-wrap: wrap;
    margin: 15px auto 25px;
}
}


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


.hymnro-banner-btn:hover {
.hymnro-btn:hover {
     transform: translateY(-2px);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(232, 196, 155, 0.4);
     box-shadow: 0 5px 18px rgba(232, 196, 155, 0.5);
}
 
.hymnro-quick-links a {
    text-decoration: none !important;
}
}


/* === PAGE TITLE === */
.hymnro-section-title {
#firstHeading {
     color: var(--gold);
     color: var(--dark-blue);
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 18px;
}
}


body.page-Main_Page #firstHeading {
.hymnro-section-title::after {
     display: none;
    content: '';
     display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 6px auto 0;
}
}


/* === QUICK NAV CARDS === */
.hymnro-nav-grid {
.hymnro-nav-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     grid-template-columns: repeat(3, 1fr);
     gap: 15px;
     gap: 12px;
     margin: 25px 0;
     margin-bottom: 25px;
}
}


.hymnro-card {
.hymnro-card {
     background: white;
     background: rgba(20, 28, 46, 0.85);
     border: 1px solid #e0e0e0;
     border: 1px solid rgba(232, 196, 155, 0.25);
     border-radius: 12px;
     border-radius: 10px;
     padding: 20px;
     padding: 18px 12px;
     text-align: center;
     text-align: center;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     cursor: pointer;
     cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
}


.hymnro-card:hover {
.hymnro-card:hover {
     transform: translateY(-4px);
     transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
     border-color: var(--gold);
     border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
}


.hymnro-card-title {
.hymnro-card-title {
    color: var(--dark-blue);
     font-size: 1.1em;
     font-size: 1.1em;
    color: var(--gold) !important;
     font-weight: 600;
     font-weight: 600;
     margin-bottom: 5px;
     margin-bottom: 5px;
Line 131: Line 168:


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


/* === INFO BOXES === */
.hymnro-info-section {
.hymnro-info-section {
     display: flex;
     display: flex;
     gap: 20px;
     gap: 15px;
     margin: 25px 0;
     margin: 20px 0;
}
 
.hymnro-info-section .hymnro-info-box {
    flex: 1;
}
}


.hymnro-info-box {
.hymnro-info-box {
    flex: 1;
     background: rgba(20, 28, 46, 0.85);
     background: white;
     border: 1px solid rgba(232, 196, 155, 0.25);
     border: 1px solid #e0e0e0;
     border-radius: 10px;
     border-radius: 12px;
     padding: 18px;
     padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
}


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


Line 162: Line 202:
     display: flex;
     display: flex;
     justify-content: space-between;
     justify-content: space-between;
     padding: 8px 0;
     padding: 5px 0;
     border-bottom: 1px solid #f0f0f0;
     border-bottom: 1px solid rgba(232, 196, 155, 0.1);
     font-size: 0.9em;
     font-size: 0.85em;
}
}


Line 172: Line 212:


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


.hymnro-info-value {
.hymnro-info-value {
     color: var(--dark-blue);
     color: var(--gold);
     font-weight: 600;
     font-weight: 600;
}
.hymnro-footer {
    text-align: center;
    padding: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
}
/* === TABLES === */
.wikitable {
    background: rgba(20, 28, 46, 0.85) !important;
    border: 1px solid rgba(232, 196, 155, 0.2) !important;
    color: rgba(255, 255, 255, 0.9);
}
.wikitable th {
    background: rgba(232, 196, 155, 0.15) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(232, 196, 155, 0.2) !important;
}
.wikitable td {
    border: 1px solid rgba(232, 196, 155, 0.1) !important;
}
}


/* === RESPONSIVE === */
/* === RESPONSIVE === */
@media screen and (max-width: 700px) {
@media screen and (max-width: 700px) {
    .hymnro-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
   
     .hymnro-nav-grid {
     .hymnro-nav-grid {
         grid-template-columns: repeat(2, 1fr);
         grid-template-columns: repeat(2, 1fr);
Line 194: Line 252:
     .hymnro-info-section {
     .hymnro-info-section {
         flex-direction: column;
         flex-direction: column;
    }
}
@media screen and (max-width: 450px) {
    .hymnro-nav-grid {
        grid-template-columns: 1fr;
     }
     }
}
}

Revision as of 06:08, 23 December 2025

/* ===================================================
   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 {
    background: url('/wiki/images/b/b5/Banner.jpg') no-repeat center top fixed !important;
    background-size: cover !important;
}

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 !important;
    background-size: cover !important;
}

/* === MAIN CONTENT === */
.mw-body {
    background: rgba(20, 28, 46, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 196, 155, 0.2);
    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 {
    color: var(--gold);
    font-weight: 600;
}

.hymnro-footer {
    text-align: center;
    padding: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
}

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

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

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

/* === RESPONSIVE === */
@media screen and (max-width: 700px) {
    .hymnro-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hymnro-info-section {
        flex-direction: column;
    }
}

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