MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
Created page with "→‎===== MEDIAWIKI COMMON.CSS ENHANCEMENTS =====: →‎Last updated: 2024: →‎=== 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:..."
 
No edit summary
 
(71 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
/* Ragnawiki Styles */
/* Last updated: 2024 */
.ragnawiki-hero {
    background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}


/* === Improved Tables === */
.ragnawiki-hero-title {
.wikitable {
    font-size: 28px;
     border-collapse: collapse;
    font-weight: bold;
     border-spacing: 0;
    margin-bottom: 10px;
     width: 100%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
     margin: 1em 0;
}
 
.ragnawiki-hero-subtitle {
     font-size: 16px;
    opacity: 0.95;
     margin-bottom: 15px;
}
 
.ragnawiki-grid {
    display: flex;
     gap: 20px;
     margin: 25px 0;
    flex-wrap: wrap;
}
 
.ragnawiki-card {
     background: white;
     background: white;
     border: 1px solid #a2a9b1;
     border-radius: 10px;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     overflow: hidden;
     overflow: hidden;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     flex: 1;
    min-width: 300px;
}
}


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


.wikitable td {
.ragna-blue { background: linear-gradient(135deg, #4682B4, #5a96d1); }
     padding: 10px 8px;
.ragna-gold { background: linear-gradient(135deg, #DAA520, #e6b800); }
     border: 1px solid #ddd;
.ragna-light-blue { background: linear-gradient(135deg, #87CEFA, #6ab0f5); }
     vertical-align: top;
.ragna-green { background: linear-gradient(135deg, #32CD32, #28a428); }
 
.ragnawiki-card-content {
     padding: 15px;
}
 
.ragnawiki-list {
     width: 100%;
     border: none;
}
}


.wikitable tr:nth-child(even) {
.ragnawiki-list tr td {
     background-color: #f8f9fa;
    padding: 8px 5px;
    border-bottom: 1px solid #f0f0f0;
     vertical-align: middle;
}
}


.wikitable tr:nth-child(odd) {
.ragnawiki-list tr:last-child td {
     background-color: #ffffff;
     border-bottom: none;
}
}


.wikitable tr:hover {
.ragna-value {
     background-color: #e3f2fd;
     font-weight: 600;
    transition: background-color 0.2s ease;
}
}


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


.tocnumber {
.ragnawiki-tip-box {
     color: #2c5e9e;
     background: #fff3f3;
     font-weight: bold;
    border-left: 4px solid #b22222;
    padding: 12px;
    border-radius: 6px;
     font-size: 13px;
}
}


/* === Better Links === */
.ragnawiki-nav-grid {
a {
     display: flex;
     color: #0645ad;
     gap: 15px;
     text-decoration: none;
     margin: 25px 0;
     transition: color 0.2s ease;
    flex-wrap: wrap;
}
}


a:hover {
.ragnawiki-nav-card {
     color: #0b0080;
    background: white;
     text-decoration: underline;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
     flex: 1;
     min-width: 250px;
}
}


a:visited {
.ragnawiki-nav-header {
     color: #0b0080;
     color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}
}


a.new {
.ragnawiki-nav-content {
     color: #c20;
     padding: 0;
}
}


/* === Content Improvements === */
.ragnawiki-nav-table {
#content {
    width: 100%;
     line-height: 1.6;
     border: none;
     color: #202122;
     border-collapse: collapse;
}
}


#content h1,
.ragnawiki-nav-table tr td {
#content h2,
     padding: 15px 6px;
#content h3,
     border-bottom: 1px solid #e1e8ed;
#content h4,
     vertical-align: middle;
#content h5,
#content h6 {
     color: #2c5e9e;
     border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.3em;
     margin-top: 1.5em;
}
}


#content h1 {
.ragnawiki-nav-table tr:nth-child(odd) td {
     border-bottom: 2px solid #2c5e9e;
     background: rgba(240, 248, 255, 0.7);
}
}


/* === Code Blocks === */
.ragnawiki-nav-table tr:nth-child(even) td {
pre, code {
     background: rgba(255, 255, 255, 0.9);
     background: #f8f9fa;
    border: 1px solid #eaecf0;
    border-radius: 4px;
    padding: 2px 4px;
    font-family: monospace;
}
}


pre {
.ragnawiki-nav-table tr:last-child td {
     padding: 12px;
     border-bottom: none;
    overflow-x: auto;
}
}


/* === Responsive Design === */
/* Responsive design */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .wikitable {
     .ragnawiki-grid,
        font-size: 14px;
    .ragnawiki-nav-grid {
        display: block;
         flex-direction: column;
        overflow-x: auto;
         white-space: nowrap;
     }
     }
      
      
    #content {
     .ragnawiki-card,
        padding: 10px;
     .ragnawiki-nav-card {
    }
         min-width: auto;
   
     .wikitable th,
     .wikitable td {
         padding: 8px 6px;
     }
     }
}
}


/* === Infoboxes and Special Elements === */
/* Additional color classes for Stats page */
.infobox {
.ragna-orange { background: linear-gradient(135deg, #ff9800, #f57c00); }
    background: #f8f9fa;
.ragna-red { background: linear-gradient(135deg, #f44336, #d32f2f); }
    border: 1px solid #a2a9b1;
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); }
    border-radius: 6px;
.ragna-purple { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
    padding: 15px;
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); }
    margin: 1em 0;
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); }
}
 
/* Additional color classes for VIP page */
.ragna-gold { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #8b6914; }


.navbox {
/* Additional color classes for Episode page */
    background: #f8f9fa;
.ragna-dark { background: linear-gradient(135deg, #34495e, #2c3e50); }
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 5px;
}


/* === Custom Header Colors === */
/* Table improvements */
.mw-headline {
.wikitable {
     color: #2c5e9e;
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
}


/* === Button Improvements === */
.wikitable th {
.mw-ui-button {
     background: linear-gradient(135deg, #667eea, #764ba2);
     background: #2c5e9e;
     color: white;
     color: white;
    border: none;
     padding: 12px 8px;
    border-radius: 4px;
     font-weight: bold;
     padding: 8px 16px;
     font-size: 14px;
     cursor: pointer;
     transition: background-color 0.2s ease;
}
}


.mw-ui-button:hover {
.wikitable td {
     background: #1e3a5f;
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
     font-size: 13px;
}
}


/* === Form Elements === */
.wikitable tr:nth-child(even) {
.mw-input,
     background: rgba(240, 248, 255, 0.7);
textarea {
     border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
}
}


.mw-input:focus,
.wikitable tr:nth-child(odd) {
textarea:focus {
     background: rgba(255, 255, 255, 0.9);
     border-color: #2c5e9e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 94, 158, 0.2);
}
}


/* === Print Styles === */
/* Additional troubleshooting-specific styles */
@media print {
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
    .wikitable {
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); }
        box-shadow: none;
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
        border: 1px solid #000;
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
    }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
   
 
    a {
/* Additional color classes for Illusion quests */
        color: #000;
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); }
        text-decoration: underline;
    }
}

Latest revision as of 20:08, 2 October 2025

/* Ragnawiki Styles */
.ragnawiki-hero {
    background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.ragnawiki-hero-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ragnawiki-hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 15px;
}

.ragnawiki-grid {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.ragnawiki-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
    min-width: 300px;
}

.ragnawiki-card-header {
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
}

.ragna-blue { background: linear-gradient(135deg, #4682B4, #5a96d1); }
.ragna-gold { background: linear-gradient(135deg, #DAA520, #e6b800); }
.ragna-light-blue { background: linear-gradient(135deg, #87CEFA, #6ab0f5); }
.ragna-green { background: linear-gradient(135deg, #32CD32, #28a428); }

.ragnawiki-card-content {
    padding: 15px;
}

.ragnawiki-list {
    width: 100%;
    border: none;
}

.ragnawiki-list tr td {
    padding: 8px 5px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.ragnawiki-list tr:last-child td {
    border-bottom: none;
}

.ragna-value {
    font-weight: 600;
}

.ragnawiki-notes {
    margin-top: 5px;
}

.ragnawiki-tip-box {
    background: #fff3f3;
    border-left: 4px solid #b22222;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}

.ragnawiki-nav-grid {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.ragnawiki-nav-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
    min-width: 250px;
}

.ragnawiki-nav-header {
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.ragnawiki-nav-content {
    padding: 0;
}

.ragnawiki-nav-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

.ragnawiki-nav-table tr td {
    padding: 15px 6px;
    border-bottom: 1px solid #e1e8ed;
    vertical-align: middle;
}

.ragnawiki-nav-table tr:nth-child(odd) td {
    background: rgba(240, 248, 255, 0.7);
}

.ragnawiki-nav-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.9);
}

.ragnawiki-nav-table tr:last-child td {
    border-bottom: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .ragnawiki-grid,
    .ragnawiki-nav-grid {
        flex-direction: column;
    }
    
    .ragnawiki-card,
    .ragnawiki-nav-card {
        min-width: auto;
    }
}

/* Additional color classes for Stats page */
.ragna-orange { background: linear-gradient(135deg, #ff9800, #f57c00); }
.ragna-red { background: linear-gradient(135deg, #f44336, #d32f2f); }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); }
.ragna-purple { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); }

/* Additional color classes for VIP page */
.ragna-gold { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #8b6914; }

/* Additional color classes for Episode page */
.ragna-dark { background: linear-gradient(135deg, #34495e, #2c3e50); }

/* Table improvements */
.wikitable {
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wikitable th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 8px;
    font-weight: bold;
    font-size: 14px;
}

.wikitable td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.wikitable tr:nth-child(even) {
    background: rgba(240, 248, 255, 0.7);
}

.wikitable tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.9);
}

/* Additional troubleshooting-specific styles */
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); }
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

/* Additional color classes for Illusion quests */
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); }