MediaWiki:Common.css: Difference between revisions

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* HymnRO Wiki - Clean Theme with Banner */
a.external {
 
     background: none !important;
/* === COLOR VARIABLES === */
     padding-right: 0 !important;
:root {
    --gold: #E8C49B;
    --gold-dark: #C9A46D;
    --dark-blue: #1a1f36;
    --light-bg: #f8f9fa;
}
 
/* === BANNER HEADER === */
.hymnro-banner {
     background: linear-gradient(135deg, #1a1f36 0%, #2d3a5c 50%, #1a1f36 100%);
    border-radius: 16px;
     padding: 30px 40px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
 
.hymnro-banner::before {
    content: '';
    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 {
    position: relative;
    z-index: 1;
}
 
.hymnro-banner-logo img {
    max-width: 200px;
    filter: drop-shadow(0 0 20px rgba(232, 196, 155, 0.5));
}
 
.hymnro-banner-content {
    position: relative;
    z-index: 1;
    flex: 1;
}
 
.hymnro-banner-title {
    color: white;
    font-size: 2em;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
 
.hymnro-banner-subtitle {
    color: var(--gold);
    font-size: 1.1em;
    font-style: italic;
    margin: 0;
}
 
.hymnro-banner-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
}
 
.hymnro-banner-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-blue) !important;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
 
.hymnro-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 196, 155, 0.4);
}
 
/* === PAGE TITLE === */
#firstHeading {
    color: var(--dark-blue);
}
 
body.page-Main_Page #firstHeading {
    display: none;
}
 
/* === QUICK NAV CARDS === */
.hymnro-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}
 
.hymnro-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
 
.hymnro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}
 
.hymnro-card-title {
    color: var(--dark-blue);
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}
 
.hymnro-card-desc {
    color: #666;
    font-size: 0.85em;
}
 
/* === INFO BOXES === */
.hymnro-info-section {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}
 
.hymnro-info-box {
    flex: 1;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
 
.hymnro-info-box h3 {
    color: var(--dark-blue);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    font-size: 1.1em;
}
 
.hymnro-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
}
 
.hymnro-info-item:last-child {
    border-bottom: none;
}
 
.hymnro-info-label {
    color: #666;
}
 
.hymnro-info-value {
    color: var(--dark-blue);
    font-weight: 600;
}
 
/* === RESPONSIVE === */
@media screen and (max-width: 700px) {
    .hymnro-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
   
    .hymnro-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
   
    .hymnro-info-section {
        flex-direction: column;
    }
}
}

Latest revision as of 07:57, 23 December 2025

a.external {
    background: none !important;
    padding-right: 0 !important;
}