MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* --- GLOBAL CONTAINER & COLORS --- */
/* Ragnawiki Styles */
.ragnawiki-modern {
.ragnawiki-hero {
    max-width: 1200px;
     background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.5;
}
 
/* Color Utilities */
.text-primary { color: #3498db !important; font-weight: 700; } /* Blue */
.text-success { color: #2ecc71 !important; font-weight: 700; } /* Green */
.text-danger { color: #e74c3c !important; font-weight: 700; } /* Red */
.text-warning { color: #f39c12 !important; font-weight: 700; } /* Orange */
.text-purple { color: #9b59b6 !important; font-weight: 700; } /* Purple */
.text-muted { color: #7f8c8d !important; font-weight: 700; } /* Gray/Muted */
 
/* --- HERO SECTION --- */
.wiki-hero {
     background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); /* Dark Blue Gradient */
     color: white;
     color: white;
    padding: 25px;
    border-radius: 12px;
     text-align: center;
     text-align: center;
    padding: 30px 20px;
     margin: 15px 0;
     margin-bottom: 30px;
     box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 12px;
    position: relative;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}
}
.wiki-hero-title {
 
     font-size: 2.8em;
.ragnawiki-hero-title {
     font-weight: 900;
     font-size: 28px;
     text-transform: uppercase;
     font-weight: bold;
     letter-spacing: 3px;
     margin-bottom: 10px;
    margin-bottom: 5px;
     text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
}
.wiki-hero-subtitle {
 
     font-size: 1.3em;
.ragnawiki-hero-subtitle {
    font-style: italic;
     font-size: 16px;
     opacity: 0.85;
     opacity: 0.95;
     margin-bottom: 20px;
     margin-bottom: 15px;
}
.hero-image img {
    border-radius: 50%;
    border: 6px solid #2ecc71; /* Green Accent Border */
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
    transition: transform 0.3s ease;
}
.hero-image img:hover {
    transform: scale(1.05);
}
}


 
.ragnawiki-grid {
/* --- INFO & NAVIGATION GRIDS --- */
.info-grid, .nav-grid {
     display: flex;
     display: flex;
     gap: 20px;
     gap: 20px;
     margin-bottom: 30px;
     margin: 25px 0;
     align-items: stretch; /* Ensure cards in a row are the same height */
     flex-wrap: wrap;
}
}


/* Info Cards */
.ragnawiki-card {
.info-card {
     background: white;
     flex: 1; /* Both cards take up equal space */
     border-radius: 10px;
    border: 1px solid #e0e0e0;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     overflow: hidden;
     overflow: hidden;
     background-color: white;
     flex: 1;
    display: flex;
     min-width: 300px;
     flex-direction: column;
}
}
.card-header {
 
    font-size: 1.3em;
.ragnawiki-card-header {
    font-weight: 700;
     color: white;
     color: white;
     padding: 12px 15px;
     padding: 12px 15px;
     text-align: left;
     font-weight: bold;
    font-size: 14px;
}
}
.server-card .card-header { background-color: #3498db; }
.rates-card .card-header { background-color: #e67e22; }


.card-content {
.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;
     padding: 15px;
    flex-grow: 1; /* Allows content to push footer/notes down */
}
}


/* Compact List Style */
.ragnawiki-list {
.compact-list {
     width: 100%;
     display: grid;
     border: none;
     /* Two columns for dense display on large screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 5px 15px;
    margin-bottom: 15px;
}
}
.list-row {
 
    display: flex;
.ragnawiki-list tr td {
    justify-content: space-between;
     padding: 8px 5px;
    align-items: center;
     border-bottom: 1px solid #f0f0f0;
     padding: 5px 0;
    vertical-align: middle;
     border-bottom: 1px dashed #ecf0f1;
}
}
.list-row:last-child {
 
.ragnawiki-list tr:last-child td {
     border-bottom: none;
     border-bottom: none;
}
}
.list-icon {
 
     font-size: 1.1em;
.ragna-value {
    margin-right: 8px;
     font-weight: 600;
}
}
.list-label {
 
    flex-grow: 1;
.ragnawiki-notes {
    white-space: nowrap;
     margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-value {
    text-align: right;
     margin-left: 10px;
}
}


/* Notes Box Style */
.ragnawiki-tip-box {
.notes-box {
    background: #fff3f3;
     border: 2px solid #f39c12;
     border-left: 4px solid #b22222;
    padding: 12px;
     border-radius: 6px;
     border-radius: 6px;
    background-color: #fffaf0;
     font-size: 13px;
    margin-top: 15px;
    overflow: hidden;
}
.notes-title {
    font-weight: 700;
    background-color: #f39c12;
    color: white;
    padding: 8px 10px;
     font-size: 1em;
}
.notes-content {
    padding: 10px;
    font-size: 0.95em;
}
.notes-content ul {
    list-style: disc;
    margin: 0;
    padding-left: 20px;
}
}


 
.ragnawiki-nav-grid {
/* --- QUICK NAVIGATION --- */
     display: flex;
.section-title {
     gap: 15px;
     font-size: 1.8em;
     margin: 25px 0;
    font-weight: 700;
     flex-wrap: wrap;
     color: #2c3e50;
    padding: 10px 0;
     margin: 20px 0 15px 0;
     border-bottom: 3px solid #3498db;
}
}


.nav-card {
.ragnawiki-nav-card {
     flex: 1; /* Three equal columns */
     background: white;
    border: 1px solid #e0e0e0;
     border-radius: 10px;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     overflow: hidden;
     overflow: hidden;
     background-color: white;
     flex: 1;
    min-width: 250px;
}
}
.nav-header {
 
    font-size: 1.2em;
.ragnawiki-nav-header {
    font-weight: 700;
     color: white;
     color: white;
     padding: 10px 12px;
     padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
     text-align: center;
     text-align: center;
}
}
.beginners-nav .nav-header { background-color: #2ecc71; } /* Green */
.features-nav .nav-header { background-color: #e74c3c; } /* Red */
.guides-nav .nav-header { background-color: #9b59b6; } /* Purple */


.nav-content {
.ragnawiki-nav-content {
     padding: 10px 15px;
     padding: 0;
}
}


.nav-item {
.ragnawiki-nav-table {
     display: flex;
     width: 100%;
     align-items: center;
     border: none;
    padding: 8px 0;
     border-collapse: collapse;
     border-bottom: 1px dashed #f0f0f0;
}
}
.nav-item:last-child {
 
     border-bottom: none;
.ragnawiki-nav-table tr td {
    padding: 15px 6px;
     border-bottom: 1px solid #e1e8ed;
    vertical-align: middle;
}
}
.nav-icon {
 
    width: 30px;
.ragnawiki-nav-table tr:nth-child(odd) td {
    height: 24px;
     background: rgba(240, 248, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
     margin-right: 10px;
}
}
.nav-icon img {
 
     border-radius: 3px;
.ragnawiki-nav-table tr:nth-child(even) td {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
     background: rgba(255, 255, 255, 0.9);
}
}
.nav-text {
 
    flex-grow: 1;
.ragnawiki-nav-table tr:last-child td {
    font-weight: 500;
     border-bottom: none;
}
.nav-text a {
    text-decoration: none;
    color: #34495e;
    transition: color 0.2s;
}
.nav-text a:hover {
    color: #3498db;
    text-decoration: underline;
}
.nav-addon { /* For the TDB tag */
    font-size: 0.8em;
    color: #e74c3c;
    font-weight: 700;
    margin-left: 8px;
    padding: 2px 5px;
    border: 1px solid #e74c3c;
     border-radius: 3px;
}
}


/* --- RESPONSIVE DESIGN (FOR PHONES/SMALL TABLETS) --- */
/* Responsive design */
@media screen and (max-width: 768px) {
@media (max-width: 768px) {
     .ragnawiki-modern {
     .ragnawiki-grid,
         margin: 10px;
    .ragnawiki-nav-grid {
         flex-direction: column;
     }
     }
     .info-grid, .nav-grid {
      
        flex-direction: column; /* Stack cards vertically */
     .ragnawiki-card,
        gap: 15px;
     .ragnawiki-nav-card {
    }
         min-width: auto;
     .info-card, .nav-card {
        flex: none; /* Disable flex growth */
        width: 100%;
    }
     .wiki-hero-title {
         font-size: 2em;
    }
    .compact-list {
        /* Single column for narrow screens */
        grid-template-columns: 1fr;
     }
     }
}
}


/* --- ICON STYLING FOR EXTERNAL IMAGES (Add to Common.css) --- */
/* 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); }


/* Base style for all icon spans that will hold an external image */
/* Table improvements */
.nav-icon {
.wikitable {
     /* Keep the dimensions consistent for all icons */
     border-collapse: collapse;
     width: 24px;
     width: 100%;
     height: 24px;
     margin: 15px 0;
     background-size: contain; /* Ensure the image fits within the 24x24 box */
     background: white;
     background-repeat: no-repeat;
     border-radius: 8px;
     background-position: center center;
     overflow: hidden;
   
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    /* Ensure internal file images are also styled correctly */
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
}


/* Specific background-image definitions for each external icon */
.wikitable th {
.icon-external-ragna {
    background: linear-gradient(135deg, #667eea, #764ba2);
     background-image: url('https://ragnafied.net/themes/simple/img/logo.png');
    color: white;
    padding: 12px 8px;
    font-weight: bold;
     font-size: 14px;
}
}
.icon-external-greed {
 
     background-image: url('https://irowiki.org/w/images/0/04/Greed.png');
.wikitable td {
     padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
}
.icon-external-longing {
 
     background-image: url('https://irowiki.org/w/images/e/e5/Longing_for_Freedom.png');
.wikitable tr:nth-child(even) {
     background: rgba(240, 248, 255, 0.7);
}
}
.icon-external-vip {
 
    background-image: url('https://irowiki.org/w/images/0/0b/I_MystAmp.png');
.wikitable tr:nth-child(odd) {
}
     background: rgba(255, 255, 255, 0.9);
.icon-external-smith {
    background-image: url('https://irowiki.org/w/images/2/20/Smith_Axe.png');
}
.icon-external-4thjob {
    background-image: url('https://static.divine-pride.net/images/skill/5201.png');
}
.icon-external-exceed {
     background-image: url('https://irowiki.org/w/images/a/ae/I_Exceed_Break.png');
}
.icon-external-guard {
    background-image: url('https://irowiki.org/w/images/f/f3/I_Guard.png');
}
.icon-external-trouble {
    background-image: url('https://muhro.eu/flux/data/items/icons/100381.png');
}
.icon-external-illusion {
    background-image: url('https://static.divine-pride.net/images/items/item/25723.png');
}
.icon-external-sage {
    background-image: url('https://irowiki.org/images/db/item/1000103.png');
}
.icon-external-prayer {
    background-image: url('https://irowiki.org/images/db/item/1000405.png');
}
.icon-external-issgard {
    background-image: url('https://irowiki.org/images/db/item/1000608.png');
}
.icon-external-immortal {
    background-image: url('https://muhro.eu/flux/data/items/icons/1001217.png');
}
}


/* Adjustments for images that are still wikitext (File:) */
/* Additional troubleshooting-specific styles */
.nav-icon File { /* Targeting the image element itself */    width: 24px;   height: 24px;   /* Other styling if needed */}
.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); }

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); }