MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
/* Last updated: 2024 - CLEANED VERSION */
/* Last updated: 2024 - OPTIMIZED VERSION */


/* === Improved Tables === */
/* === Improved Tables === */
Line 190: Line 190:
}
}


/* === Modern Card System (UNIFIED) === */
/* === MODERN CARD SYSTEM (UNIFIED) === */
 
/* Container System */
.wiki-header-container,
.wiki-header-container,
.quick-nav-container,
.quick-nav-container,
Line 196: Line 198:
.guide-container,
.guide-container,
.accounts-container,
.accounts-container,
.autoloot-container {
.autoloot-container,
.stats-container,
.vip-container,
.systems-container {
     max-width: 1200px;
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
Line 202: Line 207:
}
}


/* Card Base Styles */
.info-card,
.info-card,
.nav-card {
.nav-card,
.stat-card,
.substat-card,
.trait-card,
.status-card,
.vip-comparison-card,
.system-card,
.plan-card,
.feature-card,
.benefits-section {
     background: white;
     background: white;
     border-radius: 12px;
     border-radius: 12px;
Line 213: Line 228:
}
}


.nav-card {
/* Card Hover Effects (Unified) */
    height: 100%;
}
 
.info-card:hover,
.info-card:hover,
.nav-card:hover {
.nav-card:hover,
.stat-card:hover,
.substat-card:hover,
.trait-card:hover,
.status-card:hover,
.vip-comparison-card:hover,
.system-card:hover,
.feature-card:hover {
     transform: translateY(-5px);
     transform: translateY(-5px);
     box-shadow: 0 8px 30px rgba(0,0,0,0.12);
     box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
}


.substat-card:hover,
.trait-card:hover,
.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}
/* Card Header System */
.card-header,
.card-header,
.nav-header {
.nav-header,
.stat-header,
.substat-header,
.trait-header,
.status-header,
.comparison-header,
.system-header,
.plan-header,
.benefits-header {
     padding: 18px 25px;
     padding: 18px 25px;
     color: white;
     color: white;
Line 233: Line 268:
}
}


/* Smaller Headers */
.substat-header,
.trait-header,
.status-header,
.plan-header {
    padding: 14px 18px;
    font-size: 16px;
}
/* Card Content System */
.card-content,
.card-content,
.nav-content {
.nav-content,
.stat-content,
.substat-content,
.trait-content,
.status-content,
.comparison-content,
.system-content,
.plan-content,
.benefits-content {
     padding: 25px;
     padding: 25px;
     line-height: 1.6;
     line-height: 1.6;
Line 243: Line 296:
}
}


/* === Table Systems === */
.substat-content,
.modern-table,
.trait-content,
.nav-table {
.status-content {
     border-radius: 8px !important;
     padding: 18px;
    overflow: hidden !important;
    border: none !important;
    background: transparent !important;
}
}


.modern-table tr:hover td {
/* === GRID SYSTEMS (UNIFIED) === */
    background: rgba(240, 247, 255, 0.7) !important;
}


.nav-table tr:hover td {
.stats-grid,
    background: rgba(240, 247, 255, 0.8) !important;
.substats-grid,
     transform: translateX(2px);
.trait-stats-grid,
     transition: all 0.2s ease;
.status-breakdown-grid,
.feature-grid,
.benefits-grid,
.systems-comparison,
.comparison-grid {
    display: grid;
     gap: 20px;
     margin: 25px 0;
}
}


/* Hide URL text in nav tables */
.stats-grid {
.nav-table td:first-child {
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     font-size: 0;
}
}


/* === List Systems === */
.substats-grid {
.modern-list {
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     list-style: none;
    padding: 0;
    margin: 0;
}
}


.list-item {
.trait-stats-grid {
     display: flex;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}
}


.list-item:hover {
.status-breakdown-grid {
     background: rgba(240, 247, 255, 0.9);
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    transform: translateX(5px);
}
}


.list-icon {
.feature-grid {
     background: linear-gradient(135deg, #2c5e9e, #1e3a5f);
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}
}


.list-content {
.benefits-grid {
     flex: 1;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}


/* === Special Elements === */
.systems-comparison,
.notes-box {
.comparison-grid {
     transition: transform 0.2s ease;
     grid-template-columns: 1fr 1fr;
    gap: 30px;
}
}


.notes-box:hover {
/* === LIST SYSTEMS (UNIFIED) === */
    transform: scale(1.02);
}


.tip-box {
.modern-list,
     border-left: 4px solid;
.stat-list,
.substat-list,
.trait-list,
.feature-list {
     list-style: none;
    padding: 0;
    margin: 0;
}
}


/* === Code & Examples === */
.list-item,
code {
.feature-item,
     background: #2c5e9e;
.benefit-item,
     color: white;
.drop-item,
     padding: 4px 8px;
.map-drop-item {
     border-radius: 4px;
     display: flex;
    font-family: 'Courier New', monospace;
     align-items: flex-start;
     font-size: 14px;
     padding: 15px;
     border-radius: 8px;
     transition: all 0.3s ease;
}
}


.command-examples code,  
.list-item {
.command-grid code,  
    background: rgba(255, 255, 255, 0.7);
.examples-grid code {
     border: 1px solid #e1e8ed;
     font-family: 'Courier New', monospace;
     margin-bottom: 15px;
     font-size: 14px;
}
}


.example-box {
.list-item:hover {
     font-family: 'Courier New', monospace;
     background: rgba(240, 247, 255, 0.9);
    font-size: 13px;
     transform: translateX(5px);
     line-height: 1.4;
}
}


/* === Hover Effects === */
.feature-item {
.quick-overview > div {
     background: rgba(255,255,255,0.7);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
}


.quick-overview > div:hover {
.benefit-item {
     transform: translateY(-3px);
     background: rgba(39, 174, 96, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-left: 4px solid #27ae60;
    align-items: center;
}
}


.command-examples > div,  
.drop-item {
.examples-grid > div {
    background: rgba(30, 144, 255, 0.05);
     transition: transform 0.2s ease;
    border: 1px solid rgba(30, 144, 255, 0.1);
    align-items: center;
     margin-bottom: 12px;
}
}


.command-examples > div:hover,  
.drop-item:hover {
.examples-grid > div:hover {
    background: rgba(30, 144, 255, 0.1);
     transform: scale(1.02);
     transform: translateX(3px);
}
}


/* === RESPONSIVE DESIGN (UNIFIED) === */
.map-drop-item {
@media (max-width: 768px) {
     background: rgba(255, 215, 0, 0.05);
    .wikitable {
     border: 1px solid rgba(255, 215, 0, 0.1);
        font-size: 14px;
     margin-bottom: 15px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
      
    #content {
        padding: 10px;
    }
   
    .wikitable th,
    .wikitable td {
        padding: 8px 6px;
    }
   
    /* Grid layouts */
    .drops-grid,
    .quick-overview,
    .item-types-grid {
        grid-template-columns: 1fr !important;
     }
   
    .command-grid,
    .examples-grid,
    .accounts-container .info-card .card-content > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
   
    /* Lists */
    .list-item {
        flex-direction: column;
        text-align: center;
     }
   
    .list-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
}


/* === Print Styles === */
.map-drop-item:hover {
@media print {
    background: rgba(255, 215, 0, 0.1);
    .wikitable {
     transform: translateX(3px);
        box-shadow: none;
        border: 1px solid #000;
     }
   
    a {
        color: #000;
        text-decoration: underline;
    }
}
}


/* Stats Page Specific Styling */
/* List Items */
.stats-container {
.stat-list li,
    max-width: 1200px;
.substat-list li,
    margin: 0 auto;
.trait-list li {
    padding: 20px;
}
 
/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
 
.stat-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}
 
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
 
.stat-header {
    padding: 16px 20px;
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
 
.stat-content {
    padding: 20px;
}
 
.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.stat-list li {
     padding: 8px 0;
     padding: 8px 0;
     border-bottom: 1px solid #f0f0f0;
     border-bottom: 1px solid #f0f0f0;
Line 476: Line 427:
}
}


.stat-list li:last-child {
.stat-list li:last-child,
.substat-list li:last-child,
.trait-list li:last-child {
     border-bottom: none;
     border-bottom: none;
}
}


.stat-list li:before {
.stat-list li:before,
.substat-list li:before,
.trait-list li:before {
     content: "•";
     content: "•";
     color: #2c5e9e;
     color: #2c5e9e;
Line 493: Line 448:
}
}


/* Substats Grid */
/* List Icons */
.substats-grid {
.list-icon {
     display: grid;
    background: linear-gradient(135deg, #2c5e9e, #1e3a5f);
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    color: white;
     gap: 20px;
    width: 30px;
     margin: 25px 0;
    height: 30px;
    border-radius: 50%;
     display: flex;
     align-items: center;
    justify-content: center;
    font-weight: bold;
     margin-right: 15px;
     flex-shrink: 0;
}
}


.substat-card {
.feature-icon {
     background: white;
     font-size: 20px;
     border-radius: 12px;
     margin-right: 12px;
     box-shadow: 0 4px 20px rgba(0,0,0,0.08);
     flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}
}


.substat-card:hover {
.benefit-icon {
     transform: translateY(-3px);
     font-size: 24px;
     box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    margin-right: 15px;
     flex-shrink: 0;
}
}


.substat-header {
.feature-icon-large {
    padding: 14px 18px;
     font-size: 40px;
    color: white;
     margin-bottom: 15px;
    font-weight: 600;
     font-size: 16px;
    text-align: center;
     text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
}


.substat-content {
.drop-icon,
     padding: 18px;
.map-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
     font-size: 18px;
}
}


.substat-list {
.drop-icon img,
     list-style: none;
.map-icon img {
     padding: 0;
     max-width: 100%;
    margin: 0;
     max-height: 100%;
     font-size: 14px;
     border-radius: 4px;
}
}


.substat-list li {
.map-icon {
     padding: 6px 0;
     margin-right: 15px;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 18px;
}
}


.substat-list li:last-child {
/* Content Areas */
     border-bottom: none;
.list-content,
.feature-text,
.benefit-text,
.drop-text,
.map-text {
    flex: 1;
    font-size: 14px;
     line-height: 1.4;
}
}


.substat-list li:before {
.map-text {
    content: "•";
     font-size: 13px;
    color: #2c5e9e;
     font-weight: bold;
    position: absolute;
    left: 0;
}
}


/* Trait Stats Grid */
.map-name {
.trait-stats-grid {
     font-weight: 600;
     display: grid;
     color: #B8860B;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     font-size: 14px;
     gap: 20px;
     margin-bottom: 4px;
     margin: 25px 0;
}
}


.trait-card {
.map-drop {
     background: white;
     color: #666;
    border-radius: 12px;
     line-height: 1.4;
     box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}
}


.trait-card:hover {
/* === SPECIAL ELEMENTS === */
     transform: translateY(-3px);
.notes-box {
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
     transition: transform 0.2s ease;
}
}


.trait-header {
.notes-box:hover {
     padding: 14px 18px;
     transform: scale(1.02);
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
}


.trait-content {
.tip-box {
     padding: 18px;
     border-left: 4px solid;
}
}


.trait-list {
.note-box {
    list-style: none;
     font-size: 12px;
    padding: 0;
    margin: 0;
     font-size: 14px;
}
}


.trait-list li {
/* === CODE & EXAMPLES === */
     padding: 6px 0;
code {
     border-bottom: 1px solid #f8f9fa;
    background: #2c5e9e;
     position: relative;
    color: white;
     padding-left: 18px;
     padding: 4px 8px;
     border-radius: 4px;
     font-family: 'Courier New', monospace;
     font-size: 14px;
}
}


.trait-list li:last-child {
.command-examples code,
     border-bottom: none;
.command-grid code,
.examples-grid code {
     font-family: 'Courier New', monospace;
    font-size: 14px;
}
}


.trait-list li:before {
.example-box {
     content: "•";
     font-family: 'Courier New', monospace;
    color: #2c5e9e;
     font-size: 13px;
     font-weight: bold;
     line-height: 1.4;
     position: absolute;
    left: 0;
}
}


/* Status Breakdown Grid */
/* === HOVER EFFECTS === */
.status-breakdown-grid {
.quick-overview > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
 
.status-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}
}


.status-card:hover {
.quick-overview > div:hover {
     transform: translateY(-3px);
     transform: translateY(-3px);
     box-shadow: 0 6px 25px rgba(0,0,0,0.1);
     box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
}


.status-header {
.command-examples > div,
    padding: 14px 18px;
.examples-grid > div {
    color: white;
     transition: transform 0.2s ease;
    font-weight: 600;
     font-size: 16px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
}


.status-content {
.command-examples > div:hover,
    padding: 18px;
.examples-grid > div:hover {
    font-size: 14px;
     transform: scale(1.02);
     line-height: 1.5;
}
}


.note-box {
.discord-cta,
     font-size: 12px;
.exploration-tip,
.vip-cta {
     transition: transform 0.2s ease;
}
}


/* Responsive Design */
.discord-cta:hover,  
@media (max-width: 768px) {
.exploration-tip:hover {
    .stats-grid,
     transform: scale(1.02);
    .substats-grid,
    .trait-stats-grid,
     .status-breakdown-grid {
        grid-template-columns: 1fr;
    }
   
    .stats-container {
        padding: 10px;
    }
}
}


/* VIP Features Styling */
.vip-cta:hover {
.vip-container {
     transform: translateY(-3px);
     max-width: 1000px;
     box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
     margin: 0 auto;
    padding: 20px;
}
}


/* Comparison Section */
.vip-cta a {
.vip-comparison-card {
     transition: all 0.3s ease;
     background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 25px 0;
    border: 1px solid #e1e8ed;
}
}


.comparison-header {
.vip-cta a:hover {
     padding: 20px;
     background: #8e44ad !important;
     color: white;
     color: white !important;
     font-weight: 600;
     transform: scale(1.05);
    font-size: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
 
.comparison-content {
    padding: 0;
}
 
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
 
.plan-card {
    padding: 25px;
    height: 100%;
}
}


/* === SPECIAL LAYOUTS === */
.free-plan {
.free-plan {
     background: linear-gradient(135deg, #f8f9fa, #e9ecef);
     background: linear-gradient(135deg, #f8f9fa, #e9ecef);
Line 718: Line 624:
.vip-plan {
.vip-plan {
     background: linear-gradient(135deg, #fffaf0, #fff5e6);
     background: linear-gradient(135deg, #fffaf0, #fff5e6);
}
.plan-header {
    padding: 15px;
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
}


.plan-content {
.plan-content {
     height: calc(100% - 70px);
     height: calc(100% - 70px);
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}
.feature-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}
.feature-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}
/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.feature-icon-large {
    font-size: 40px;
    margin-bottom: 15px;
}
}


Line 804: Line 643:
}
}


/* Benefits Section */
.status-content {
.benefits-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid #e1e8ed;
}
 
.benefits-header {
    padding: 20px;
    color: white;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
 
.benefits-content {
    padding: 25px;
}
 
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
 
.benefit-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}
 
.benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}
 
.benefit-text {
    flex: 1;
     font-size: 14px;
     font-size: 14px;
     line-height: 1.4;
     line-height: 1.5;
}
 
/* CTA Section */
.vip-cta {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.vip-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}
 
.vip-cta a {
    transition: all 0.3s ease;
}
 
.vip-cta a:hover {
    background: #8e44ad !important;
    color: white !important;
    transform: scale(1.05);
}
 
/* Responsive Design */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
   
    .free-plan {
        border-right: none;
        border-bottom: 2px dashed #dee2e6;
    }
   
    .feature-grid {
        grid-template-columns: 1fr;
    }
   
    .benefits-grid {
        grid-template-columns: 1fr;
    }
   
    .vip-container {
        padding: 10px;
    }
   
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
   
    .feature-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
}
 
/* Systems Page Styling */
.systems-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
 
.systems-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 25px 0;
}
 
.system-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
    height: fit-content;
}
 
.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
 
.system-header {
    padding: 20px;
    color: white;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
 
.system-content {
    padding: 25px;
}
}


Line 957: Line 655:
}
}


/* Global Drops Styling */
.rate-info {
.drops-grid {
     text-align: center;
     display: flex;
    flex-direction: column;
    gap: 12px;
     margin: 20px 0;
     margin: 20px 0;
}
}


.drop-item {
.rate-badge {
     display: flex;
     box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
    align-items: center;
    padding: 12px;
    background: rgba(30, 144, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(30, 144, 255, 0.1);
    transition: all 0.2s ease;
}
 
.drop-item:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateX(3px);
}
 
.drop-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
}


.drop-icon img {
.drops-grid,
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
 
.drop-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}
 
/* Specific Map Drops Styling */
.map-drops-grid {
.map-drops-grid {
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    gap: 15px;
     margin: 20px 0;
     margin: 20px 0;
}
}


.map-drop-item {
.drops-grid {
     display: flex;
     gap: 12px;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.2s ease;
}
}


.map-drop-item:hover {
.map-drops-grid {
     background: rgba(255, 215, 0, 0.1);
     gap: 15px;
    transform: translateX(3px);
}
}


.map-icon {
/* === RESPONSIVE DESIGN (UNIFIED) === */
    width: 32px;
    height: 32px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
 
.map-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
 
.map-text {
    flex: 1;
}
 
.map-name {
    font-weight: 600;
    color: #B8860B;
    font-size: 14px;
    margin-bottom: 4px;
}
 
.map-drop {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
 
/* Rate Info Styling */
.rate-info {
    text-align: center;
    margin: 20px 0;
}
 
.rate-badge {
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}
 
/* Discord CTA */
.discord-cta, .exploration-tip {
    transition: transform 0.2s ease;
}
 
.discord-cta:hover, .exploration-tip:hover {
    transform: scale(1.02);
}
 
/* Responsive Design */
@media (max-width: 968px) {
@media (max-width: 968px) {
     .systems-comparison {
     .systems-comparison {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
         gap: 20px;
         gap: 20px;
    }
}
@media (max-width: 768px) {
    .wikitable {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
   
    #content {
        padding: 10px;
     }
     }
      
      
    .wikitable th,
    .wikitable td {
        padding: 8px 6px;
    }
   
    /* Grid layouts */
    .stats-grid,
    .substats-grid,
    .trait-stats-grid,
    .status-breakdown-grid,
    .feature-grid,
    .benefits-grid,
    .drops-grid,
    .quick-overview,
    .item-types-grid,
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
   
    .command-grid,
    .examples-grid,
    .accounts-container .info-card .card-content > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
   
    /* Container padding */
    .wiki-header-container,
    .quick-nav-container,
    .about-container,
    .guide-container,
    .accounts-container,
    .autoloot-container,
    .stats-container,
    .vip-container,
     .systems-container {
     .systems-container {
         padding: 10px;
         padding: 10px;
     }
     }
      
      
     .drop-item, .map-drop-item {
    /* Flex layouts */
    .list-item,
    .feature-item,
    .benefit-item,
     .drop-item,
    .map-drop-item {
         flex-direction: column;
         flex-direction: column;
         text-align: center;
         text-align: center;
        gap: 8px;
     }
     }
      
      
     .drop-icon, .map-icon {
    .list-icon,
    .feature-icon,
    .benefit-icon,
     .drop-icon,
    .map-icon {
         margin-right: 0;
         margin-right: 0;
         margin-bottom: 8px;
         margin-bottom: 10px;
    }
   
    .free-plan {
        border-right: none;
        border-bottom: 2px dashed #dee2e6;
     }
     }
}
   
 
@media (max-width: 480px) {
     .system-content {
     .system-content {
         padding: 15px;
         padding: 15px;
Line 1,111: Line 770:
         font-size: 18px;
         font-size: 18px;
     }
     }
}
@media (max-width: 480px) {
    .card-header,
    .nav-header,
    .stat-header,
    .substat-header,
    .trait-header,
    .status-header,
    .comparison-header,
    .system-header,
    .plan-header,
    .benefits-header {
        padding: 12px 15px;
        font-size: 16px;
    }
}
/* === Print Styles === */
@media print {
    .wikitable {
        box-shadow: none;
        border: 1px solid #000;
    }
   
    a {
        color: #000;
        text-decoration: underline;
    }
}
/* === Floating === */
.floating-sidebar {
  position: fixed;
  top: 100px; /* adjust as needed */
  left: 20px; /* or right: 20px */
  width: 250px;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.95em;
}
}

Revision as of 18:09, 29 September 2025

/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
/* Last updated: 2024 - OPTIMIZED VERSION */

/* === Improved Tables === */
.wikitable {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 1em 0;
    background: white;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wikitable th {
    background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 12px 8px;
    border-bottom: 2px solid #1e3a5f;
    font-size: 14px;
}

.wikitable td {
    padding: 10px 8px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.wikitable tr:nth-child(even) {
    background-color: #f8f9fa;
}

.wikitable tr:nth-child(odd) {
    background-color: #ffffff;
}

.wikitable tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.2s ease;
}

/* === Enhanced Navigation === */
#toc {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 6px;
    padding: 15px;
    margin: 1em 0;
}

.tocnumber {
    color: #2c5e9e;
    font-weight: bold;
}

/* === Better Links === */
a {
    color: #0645ad;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0b0080;
    text-decoration: underline;
}

a:visited {
    color: #0b0080;
}

a.new {
    color: #c20;
}

/* === Content Improvements === */
#content {
    line-height: 1.6;
    color: #202122;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #2c5e9e;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
}

#content h1 {
    border-bottom: 2px solid #2c5e9e;
}

/* === Code Blocks === */
pre, code {
    background: #f8f9fa;
    border: 1px solid #eaecf0;
    border-radius: 4px;
    padding: 2px 4px;
    font-family: monospace;
}

pre {
    padding: 12px;
    overflow-x: auto;
}

/* === Infoboxes and Special Elements === */
.infobox {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 6px;
    padding: 15px;
    margin: 1em 0;
}

.navbox {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 5px;
}

/* === Custom Header Colors === */
.mw-headline {
    color: #2c5e9e;
}

/* === Button Improvements === */
.mw-ui-button {
    background: #2c5e9e;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mw-ui-button:hover {
    background: #1e3a5f;
}

/* === Form Elements === */
.mw-input, 
textarea {
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
}

.mw-input:focus, 
textarea:focus {
    border-color: #2c5e9e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 94, 158, 0.2);
}

/* === Logo Replacement === */
#p-logo a {
    background-image: url('https://wiki.ragnafied.net/images/e/ee/Ragnawikilogo.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    display: block !important;
    min-width: 135px !important;
    min-height: 135px !important;
    transition: all 0.3s ease !important;
}

#p-logo a:hover {
    opacity: 0.8 !important;
    transform: scale(1.05) !important;
}

#p-logo a img {
    opacity: 0 !important;
    width: 135px !important;
    height: 135px !important;
}

/* === MODERN CARD SYSTEM (UNIFIED) === */

/* Container System */
.wiki-header-container,
.quick-nav-container,
.about-container,
.guide-container,
.accounts-container,
.autoloot-container,
.stats-container,
.vip-container,
.systems-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Card Base Styles */
.info-card,
.nav-card,
.stat-card,
.substat-card,
.trait-card,
.status-card,
.vip-comparison-card,
.system-card,
.plan-card,
.feature-card,
.benefits-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
    margin-bottom: 25px;
}

/* Card Hover Effects (Unified) */
.info-card:hover,
.nav-card:hover,
.stat-card:hover,
.substat-card:hover,
.trait-card:hover,
.status-card:hover,
.vip-comparison-card:hover,
.system-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.substat-card:hover,
.trait-card:hover,
.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

/* Card Header System */
.card-header,
.nav-header,
.stat-header,
.substat-header,
.trait-header,
.status-header,
.comparison-header,
.system-header,
.plan-header,
.benefits-header {
    padding: 18px 25px;
    color: white;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Smaller Headers */
.substat-header,
.trait-header,
.status-header,
.plan-header {
    padding: 14px 18px;
    font-size: 16px;
}

/* Card Content System */
.card-content,
.nav-content,
.stat-content,
.substat-content,
.trait-content,
.status-content,
.comparison-content,
.system-content,
.plan-content,
.benefits-content {
    padding: 25px;
    line-height: 1.6;
}

.nav-content {
    padding: 0;
}

.substat-content,
.trait-content,
.status-content {
    padding: 18px;
}

/* === GRID SYSTEMS (UNIFIED) === */

.stats-grid,
.substats-grid,
.trait-stats-grid,
.status-breakdown-grid,
.feature-grid,
.benefits-grid,
.systems-comparison,
.comparison-grid {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.substats-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.trait-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.status-breakdown-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.systems-comparison,
.comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* === LIST SYSTEMS (UNIFIED) === */

.modern-list,
.stat-list,
.substat-list,
.trait-list,
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item,
.feature-item,
.benefit-item,
.drop-item,
.map-drop-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.list-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e1e8ed;
    margin-bottom: 15px;
}

.list-item:hover {
    background: rgba(240, 247, 255, 0.9);
    transform: translateX(5px);
}

.feature-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.benefit-item {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
    align-items: center;
}

.drop-item {
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.1);
    align-items: center;
    margin-bottom: 12px;
}

.drop-item:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateX(3px);
}

.map-drop-item {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: 15px;
}

.map-drop-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(3px);
}

/* List Items */
.stat-list li,
.substat-list li,
.trait-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.stat-list li:last-child,
.substat-list li:last-child,
.trait-list li:last-child {
    border-bottom: none;
}

.stat-list li:before,
.substat-list li:before,
.trait-list li:before {
    content: "•";
    color: #2c5e9e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.stat-list li.negative:before {
    content: "⛔";
    color: #e74c3c;
}

/* List Icons */
.list-icon {
    background: linear-gradient(135deg, #2c5e9e, #1e3a5f);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon-large {
    font-size: 40px;
    margin-bottom: 15px;
}

.drop-icon,
.map-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.drop-icon img,
.map-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

.map-icon {
    margin-right: 15px;
}

/* Content Areas */
.list-content,
.feature-text,
.benefit-text,
.drop-text,
.map-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.map-text {
    font-size: 13px;
}

.map-name {
    font-weight: 600;
    color: #B8860B;
    font-size: 14px;
    margin-bottom: 4px;
}

.map-drop {
    color: #666;
    line-height: 1.4;
}

/* === SPECIAL ELEMENTS === */
.notes-box {
    transition: transform 0.2s ease;
}

.notes-box:hover {
    transform: scale(1.02);
}

.tip-box {
    border-left: 4px solid;
}

.note-box {
    font-size: 12px;
}

/* === CODE & EXAMPLES === */
code {
    background: #2c5e9e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.command-examples code, 
.command-grid code, 
.examples-grid code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.example-box {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}

/* === HOVER EFFECTS === */
.quick-overview > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-overview > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.command-examples > div, 
.examples-grid > div {
    transition: transform 0.2s ease;
}

.command-examples > div:hover, 
.examples-grid > div:hover {
    transform: scale(1.02);
}

.discord-cta, 
.exploration-tip,
.vip-cta {
    transition: transform 0.2s ease;
}

.discord-cta:hover, 
.exploration-tip:hover {
    transform: scale(1.02);
}

.vip-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

.vip-cta a {
    transition: all 0.3s ease;
}

.vip-cta a:hover {
    background: #8e44ad !important;
    color: white !important;
    transform: scale(1.05);
}

/* === SPECIAL LAYOUTS === */
.free-plan {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-right: 2px dashed #dee2e6;
}

.vip-plan {
    background: linear-gradient(135deg, #fffaf0, #fff5e6);
}

.plan-content {
    height: calc(100% - 70px);
}

.feature-title {
    font-weight: 600;
    font-size: 18px;
    color: #2c5e9e;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.status-content {
    font-size: 14px;
    line-height: 1.5;
}

.system-description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555;
}

.rate-info {
    text-align: center;
    margin: 20px 0;
}

.rate-badge {
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.drops-grid,
.map-drops-grid {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.drops-grid {
    gap: 12px;
}

.map-drops-grid {
    gap: 15px;
}

/* === RESPONSIVE DESIGN (UNIFIED) === */
@media (max-width: 968px) {
    .systems-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .wikitable {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    #content {
        padding: 10px;
    }
    
    .wikitable th,
    .wikitable td {
        padding: 8px 6px;
    }
    
    /* Grid layouts */
    .stats-grid,
    .substats-grid,
    .trait-stats-grid,
    .status-breakdown-grid,
    .feature-grid,
    .benefits-grid,
    .drops-grid,
    .quick-overview,
    .item-types-grid,
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
    
    .command-grid,
    .examples-grid,
    .accounts-container .info-card .card-content > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Container padding */
    .wiki-header-container,
    .quick-nav-container,
    .about-container,
    .guide-container,
    .accounts-container,
    .autoloot-container,
    .stats-container,
    .vip-container,
    .systems-container {
        padding: 10px;
    }
    
    /* Flex layouts */
    .list-item,
    .feature-item,
    .benefit-item,
    .drop-item,
    .map-drop-item {
        flex-direction: column;
        text-align: center;
    }
    
    .list-icon,
    .feature-icon,
    .benefit-icon,
    .drop-icon,
    .map-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .free-plan {
        border-right: none;
        border-bottom: 2px dashed #dee2e6;
    }
    
    .system-content {
        padding: 15px;
    }
    
    .system-header {
        padding: 15px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .card-header,
    .nav-header,
    .stat-header,
    .substat-header,
    .trait-header,
    .status-header,
    .comparison-header,
    .system-header,
    .plan-header,
    .benefits-header {
        padding: 12px 15px;
        font-size: 16px;
    }
}

/* === Print Styles === */
@media print {
    .wikitable {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* === Floating === */
.floating-sidebar {
  position: fixed;
  top: 100px; /* adjust as needed */
  left: 20px; /* or right: 20px */
  width: 250px;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.95em;
}