MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(139 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
h2, h3 {
/* Last updated: 2024 - CLEANED VERSION */
    overflow: visible !important;
    padding-top: 10px;
    clear: both;
}
 
/* =========================================== */
/* Ragnawiki Base Styles */
/* =========================================== */
 
.ragnawiki-hero {
    background: linear-gradient(135deg, #FF6A00 0%, #F4B400 30%, #D93800 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;
    transition: all 0.3s ease;
}
 
.ragnawiki-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}
 
.ragnawiki-card-header {
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
}
 
.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-warning-box {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}
 
/* =========================================== */
/* Navigation Grid Styles */
/* =========================================== */
 
.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;
    transition: all 0.3s ease;
}
 
.ragnawiki-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}
 
.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;
}
 
/* =========================================== */
/* Core Color Classes */
/* =========================================== */
 
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); color: white; }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); color: white; }
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; }
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); color: white; }
.ragna-gold { background: linear-gradient(135deg, #ffd700, #f1c40f); color: #333; }
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); color: white; }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); color: white; }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); color: #333; }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); color: white; }
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); color: white; }
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); color: white; }
.ragna-cyan { background: linear-gradient(135deg, #00bcd4, #0097a7); color: white; }
.ragna-silver { background: linear-gradient(135deg, #bdc3c7, #95a5a6); color: #333; }
 
/* =========================================== */
/* Table Styles */
/* =========================================== */


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


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


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


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


.wikitable tr:nth-child(odd) {
/* =========================================== */
     background-color: #ffffff;
/* Scroll Progress Bar */
/* =========================================== */
 
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #FF6A00, #D93800);
     z-index: 10001;
    width: 0%;
    transition: width 0.1s ease-out;
}
}


.wikitable tr:hover {
/* =========================================== */
    background-color: #e3f2fd;
/* Back to Top Button */
    transition: background-color 0.2s ease;
/* =========================================== */
}


/* === Enhanced Navigation === */
.back-to-top-fixed {
#toc {
     position: fixed;
     background: #f8f9fa;
     bottom: 30px;
    border: 1px solid #a2a9b1;
     right: 30px;
     border-radius: 6px;
     z-index: 9999;
     padding: 15px;
     margin: 1em 0;
}
}


.tocnumber {
.back-to-top-fixed a {
     color: #2c5e9e;
    background: linear-gradient(135deg, #FF6A00, #D93800);
     color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
     font-weight: bold;
     font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}
}


/* === Better Links === */
.back-to-top-fixed a:hover {
a {
    background: linear-gradient(135deg, #FF7A20, #F4B400);
     color: #0645ad;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
     color: white;
     text-decoration: none;
     text-decoration: none;
    transition: color 0.2s ease;
}
}


a:hover {
/* =========================================== */
     color: #0b0080;
/* Floating Navigation Menu */
     text-decoration: underline;
/* =========================================== */
 
.floating-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0 0 10px 0;
     min-width: 180px;
     z-index: 9998;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}
}


a:visited {
.floating-menu-header {
     color: #0b0080;
    background: linear-gradient(135deg, #AF011C, #D93800);
     color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
}


a.new {
.floating-menu-header .arrow {
     color: #c20;
     transition: transform 0.3s ease;
}
}


/* === Content Improvements === */
.floating-menu.collapsed .floating-menu-header .arrow {
#content {
     transform: rotate(-90deg);
    line-height: 1.6;
     color: #202122;
}
}


#content h1,
.floating-menu-items {
#content h2,
     padding: 8px 0;
#content h3,
     transition: all 0.3s ease;
#content h4,
#content h5,
#content h6 {
    color: #2c5e9e;
    border-bottom: 1px solid #a2a9b1;
     padding-bottom: 0.3em;
     margin-top: 1.5em;
}
}


#content h1 {
.floating-menu.collapsed .floating-menu-items {
     border-bottom: 2px solid #2c5e9e;
     max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}
}


/* === Code Blocks === */
.floating-menu-items a {
pre, code {
    display: flex;
     background: #f8f9fa;
    align-items: center;
     border: 1px solid #eaecf0;
    padding: 10px 15px;
     border-radius: 4px;
     color: #333;
     padding: 2px 4px;
     text-decoration: none;
     font-family: monospace;
     font-size: 13px;
     transition: all 0.2s ease;
     border-left: 3px solid transparent;
}
}


pre {
.floating-menu-items a:hover,
     padding: 12px;
.floating-menu-items a.reading-now {
     overflow-x: auto;
     background: rgba(255, 106, 0, 0.08);
    border-left-color: #FF6A00;
    color: #FF6A00;
     text-decoration: none;
}
}


/* === Infoboxes and Special Elements === */
.floating-menu-items a:before {
.infobox {
     content: "•";
     background: #f8f9fa;
     color: #FF6A00;
     border: 1px solid #a2a9b1;
     font-weight: bold;
     border-radius: 6px;
     margin-right: 8px;
     padding: 15px;
     font-size: 16px;
     margin: 1em 0;
}
}


.navbox {
.floating-menu-toggle {
     background: #f8f9fa;
    position: fixed;
     border: 1px solid #a2a9b1;
    right: 20px;
     border-radius: 4px;
    top: 50%;
     padding: 5px;
    transform: translateY(-50%);
     background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
     border: 1px solid white;
     font-weight: bold;
     font-size: 20px;
}
}


/* === Custom Header Colors === */
/* =========================================== */
.mw-headline {
/* Ribbon Styles */
     color: #2c5e9e;
/* =========================================== */
 
.ragna-ribbon-container {
     display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 0 10px;
}
}


/* === Button Improvements === */
.ragna-ribbon {
.mw-ui-button {
     background: #2c3e50;
     background: #2c5e9e;
     color: #FFD700;
     color: white;
    padding: 10px 25px;
     border: none;
    font-weight: bold;
     border-radius: 4px;
     font-size: 13px;
     padding: 8px 16px;
    text-transform: uppercase;
     cursor: pointer;
    letter-spacing: 1px;
     transition: background-color 0.2s ease;
    text-align: center;
    min-width: 160px;
    clip-path: polygon(92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%, 8% 0);
     border-top: 2px solid #FFD700;
     border-bottom: 2px solid #FFD700;
     box-shadow: 0 4px 10px rgba(0,0,0,0.2);
     transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}
}


.mw-ui-button:hover {
.ragna-ribbon:hover {
     background: #1e3a5f;
    transform: scale(1.05);
     background: #34495e;
    color: #fff;
}
}


/* === Form Elements === */
/* =========================================== */
.mw-input,
/* COLLAPSIBLE DESIGN - BEAUTIFUL */
textarea {
/* =========================================== */
     border: 1px solid #a2a9b1;
 
     border-radius: 4px;
/* Base collapsible container */
     padding: 8px;
.mw-collapsible {
     font-size: 14px;
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
     background: white;
     border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
     overflow: hidden;
     transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
}


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


/* === Logo Replacement === */
/* Header styling - Beautiful clickable headers */
#p-logo a {
.mw-collapsible .ragnawiki-card-header {
    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;
     display: block !important;
     min-width: 135px !important;
     width: 100% !important;
     min-height: 135px !important;
    margin: 0 !important;
     transition: all 0.3s ease !important;
    padding: 18px 25px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    font-size: 16px !important;
     font-weight: bold !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
     transition: all 0.3s ease;
}
}


#p-logo a:hover {
/* Add a subtle pattern overlay to headers */
     opacity: 0.8 !important;
.mw-collapsible .ragnawiki-card-header::before {
     transform: scale(1.05) !important;
     content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
}


#p-logo a img {
/* Arrow indicator - bigger and nicer */
     opacity: 0 !important;
.mw-collapsible .ragnawiki-card-header::after {
     width: 135px !important;
     float: right;
     height: 135px !important;
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.1);
     width: 24px;
     height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: none;
    margin-top: -2px;
}
}


/* === Modern Card System (UNIFIED) === */
/* Rotate arrow when expanded */
.wiki-header-container,
.mw-collapsible.expanded .ragnawiki-card-header::after {
.quick-nav-container,
     transform: rotate(180deg);
.about-container,
     background: rgba(255,255,255,0.2);
.guide-container,
.accounts-container,
.autoloot-container {
     max-width: 1200px;
     margin: 0 auto;
    padding: 20px;
}
}


.info-card,
/* Content area - with nice padding and subtle inner shadow */
.nav-card {
.mw-collapsible-content {
     background: white;
     padding: 25px !important;
     border-radius: 12px;
     background: #fafafa !important;
     box-shadow: 0 4px 20px rgba(0,0,0,0.08);
     border-top: 1px solid rgba(0,0,0,0.05);
     overflow: hidden;
     box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
    margin-bottom: 25px;
}
}


.nav-card {
/* Style for cards inside collapsible */
     height: 100%;
.mw-collapsible-content .ragnawiki-card {
     border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 0;
}
}


.info-card:hover,
.mw-collapsible-content .ragnawiki-card:hover {
.nav-card:hover {
     transform: translateY(-3px);
     transform: translateY(-5px);
     box-shadow: 0 5px 20px rgba(0,0,0,0.1);
     box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
}


.card-header,
.mw-collapsible-content .ragnawiki-card-header {
.nav-header {
     padding: 12px 15px !important;
     padding: 18px 25px;
     font-size: 14px !important;
    color: white;
     border-bottom: none !important;
    font-weight: 600;
     font-size: 20px;
     text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
}


.card-content,
.mw-collapsible-content .ragnawiki-card-header::before,
.nav-content {
.mw-collapsible-content .ragnawiki-card-header::after {
     padding: 25px;
     display: none !important;
    line-height: 1.6;
}
}


.nav-content {
/* Make grids look nice inside */
     padding: 0;
.mw-collapsible-content .ragnawiki-grid {
     margin: 0 0 20px 0;
}
}


/* === Table Systems === */
.mw-collapsible-content .ragnawiki-grid:last-child {
.modern-table,
     margin-bottom: 0;
.nav-table {
     border-radius: 8px !important;
    overflow: hidden !important;
    border: none !important;
    background: transparent !important;
}
}


.modern-table tr:hover td {
/* Hide ALL default MediaWiki toggle elements */
    background: rgba(240, 247, 255, 0.7) !important;
.mw-collapsible-toggle,
.mw-collapsible-toggle-default,
.mw-collapsible .mw-collapsible-toggle,
.mw-collapsible-text,
.mw-collapsible-toggle a,
.mw-collapsible-toggle span {
    display: none !important;
}
}


.nav-table tr:hover td {
/* Header hover effect */
     background: rgba(240, 247, 255, 0.8) !important;
.mw-collapsible .ragnawiki-card-header:hover {
     transform: translateX(2px);
     filter: brightness(1.15);
    transition: all 0.2s ease;
     padding-left: 30px !important;
}
}


/* Hide URL text in nav tables */
/* Special styling for different color headers */
.nav-table td:first-child {
.mw-collapsible .ragnawiki-card-header.ragna-blue {
     font-size: 0;
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
     border-bottom-color: #1f4e7a !important;
}
}


/* === List Systems === */
.mw-collapsible .ragnawiki-card-header.ragna-green {
.modern-list {
     background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
     list-style: none;
     border-bottom-color: #1a6e3c !important;
     padding: 0;
    margin: 0;
}
}


.list-item {
.mw-collapsible .ragnawiki-card-header.ragna-red {
    display: flex;
     background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    align-items: flex-start;
     border-bottom-color: #84261e !important;
    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 {
.mw-collapsible .ragnawiki-card-header.ragna-purple {
     background: rgba(240, 247, 255, 0.9);
     background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
     transform: translateX(5px);
     border-bottom-color: #5e2e77 !important;
}
}


.list-icon {
.mw-collapsible .ragnawiki-card-header.ragna-orange {
     background: linear-gradient(135deg, #2c5e9e, #1e3a5f);
     background: linear-gradient(135deg, #e67e22, #d35400) !important;
    color: white;
     border-bottom-color: #a04100 !important;
    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 {
.mw-collapsible .ragnawiki-card-header.ragna-gold {
     flex: 1;
     background: linear-gradient(135deg, #ffd700, #f1c40f) !important;
    color: #333 !important;
    border-bottom-color: #b4940b !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}
}


/* === Special Elements === */
.mw-collapsible .ragnawiki-card-header.ragna-gold::after {
.notes-box {
     color: #333 !important;
     transition: transform 0.2s ease;
    background: rgba(0,0,0,0.1);
}
}


.notes-box:hover {
.mw-collapsible .ragnawiki-card-header.ragna-teal {
     transform: scale(1.02);
     background: linear-gradient(135deg, #16a085, #1abc9c) !important;
    border-bottom-color: #0e6b58 !important;
}
}


.tip-box {
.mw-collapsible .ragnawiki-card-header.ragna-pink {
     border-left: 4px solid;
    background: linear-gradient(135deg, #f48fb1, #f06292) !important;
     border-bottom-color: #c13b6b !important;
}
}


/* === Code & Examples === */
.mw-collapsible .ragnawiki-card-header.ragna-dark {
code {
     background: linear-gradient(135deg, #2c3e50, #34495e) !important;
     background: #2c5e9e;
     border-bottom-color: #1e2a36 !important;
    color: white;
    padding: 4px 8px;
     border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}
}


.command-examples code,
.mw-collapsible .ragnawiki-card-header.ragna-cyan {
.command-grid code,
     background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
.examples-grid code {
     border-bottom-color: #006d7a !important;
     font-family: 'Courier New', monospace;
     font-size: 14px;
}
}


.example-box {
.mw-collapsible .ragnawiki-card-header.ragna-brown {
     font-family: 'Courier New', monospace;
     background: linear-gradient(135deg, #795548, #5d4037) !important;
     font-size: 13px;
     border-bottom-color: #3e2c26 !important;
    line-height: 1.4;
}
}


/* === Hover Effects === */
.mw-collapsible .ragnawiki-card-header.ragna-silver {
.quick-overview > div {
     background: linear-gradient(135deg, #bdc3c7, #95a5a6) !important;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333 !important;
    border-bottom-color: #6e7a7c !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}
}


.quick-overview > div:hover {
.mw-collapsible .ragnawiki-card-header.ragna-silver::after {
     transform: translateY(-3px);
     color: #333 !important;
     box-shadow: 0 5px 15px rgba(0,0,0,0.2);
     background: rgba(0,0,0,0.1);
}
}


.command-examples > div,
/* =========================================== */
.examples-grid > div {
/* Responsive Design */
    transition: transform 0.2s ease;
/* =========================================== */
}


.command-examples > div:hover,
@media (max-width: 1200px) {
.examples-grid > div:hover {
    .floating-menu {
    transform: scale(1.02);
        left: 10px;
        min-width: 160px;
    }
}
}


/* === RESPONSIVE DESIGN (UNIFIED) === */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .wikitable {
     .floating-menu {
         font-size: 14px;
         left: -220px;
         display: block;
        top: 10px;
         overflow-x: auto;
         transform: none;
         white-space: nowrap;
         width: 200px;
        max-height: 80vh;
         overflow-y: auto;
     }
     }
   
 
     #content {
     .floating-menu.mobile-visible {
         padding: 10px;
         left: 10px;
     }
     }
   
 
    .wikitable th,
     .floating-menu-toggle {
     .wikitable td {
         display: flex;
         padding: 8px 6px;
     }
     }
   
 
    /* Grid layouts */
     .back-to-top-fixed {
     .drops-grid,
         bottom: 20px;
    .quick-overview,
        right: 20px;
    .item-types-grid {
         grid-template-columns: 1fr !important;
     }
     }
   
 
    .command-grid,
     .back-to-top-fixed a {
    .examples-grid,
         width: 50px;
     .accounts-container .info-card .card-content > div {
        height: 50px;
         grid-template-columns: 1fr !important;
         font-size: 14px;
         gap: 15px !important;
     }
     }
      
      
     /* Lists */
     .mw-collapsible .ragnawiki-card-header {
    .list-item {
         padding: 15px 20px !important;
         flex-direction: column;
         font-size: 15px !important;
         text-align: center;
     }
     }
      
      
     .list-icon {
     .mw-collapsible-content {
         margin-right: 0;
         padding: 15px !important;
        margin-bottom: 10px;
     }
     }
}
}


/* === Print Styles === */
@media (max-width: 600px) {
@media print {
     .ragna-ribbon {
     .wikitable {
         min-width: 130px;
         box-shadow: none;
        font-size: 11px;
         border: 1px solid #000;
        padding: 8px 15px;
    }
   
    .mw-collapsible .ragnawiki-card-header {
        padding: 12px 15px !important;
         font-size: 14px !important;
     }
     }
      
      
     a {
     .mw-collapsible .ragnawiki-card-header::after {
         color: #000;
         width: 20px;
         text-decoration: underline;
        height: 20px;
         font-size: 12px;
     }
     }
}
}

Latest revision as of 19:38, 21 February 2026

h2, h3 {
    overflow: visible !important;
    padding-top: 10px;
    clear: both;
}

/* =========================================== */
/* Ragnawiki Base Styles */
/* =========================================== */

.ragnawiki-hero {
    background: linear-gradient(135deg, #FF6A00 0%, #F4B400 30%, #D93800 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;
    transition: all 0.3s ease;
}

.ragnawiki-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}

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

.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-warning-box {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* =========================================== */
/* Navigation Grid Styles */
/* =========================================== */

.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;
    transition: all 0.3s ease;
}

.ragnawiki-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}

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

/* =========================================== */
/* Core Color Classes */
/* =========================================== */

.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); color: white; }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); color: white; }
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; }
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); color: white; }
.ragna-gold { background: linear-gradient(135deg, #ffd700, #f1c40f); color: #333; }
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); color: white; }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); color: white; }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); color: #333; }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); color: white; }
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); color: white; }
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); color: white; }
.ragna-cyan { background: linear-gradient(135deg, #00bcd4, #0097a7); color: white; }
.ragna-silver { background: linear-gradient(135deg, #bdc3c7, #95a5a6); color: #333; }

/* =========================================== */
/* Table Styles */
/* =========================================== */

.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;
    text-align: center;
}

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

/* =========================================== */
/* Scroll Progress Bar */
/* =========================================== */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #FF6A00, #D93800);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* =========================================== */
/* Back to Top Button */
/* =========================================== */

.back-to-top-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.back-to-top-fixed a {
    background: linear-gradient(135deg, #FF6A00, #D93800);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top-fixed a:hover {
    background: linear-gradient(135deg, #FF7A20, #F4B400);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    color: white;
    text-decoration: none;
}

/* =========================================== */
/* Floating Navigation Menu */
/* =========================================== */

.floating-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0 0 10px 0;
    min-width: 180px;
    z-index: 9998;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-menu-header {
    background: linear-gradient(135deg, #AF011C, #D93800);
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.floating-menu-header .arrow {
    transition: transform 0.3s ease;
}

.floating-menu.collapsed .floating-menu-header .arrow {
    transform: rotate(-90deg);
}

.floating-menu-items {
    padding: 8px 0;
    transition: all 0.3s ease;
}

.floating-menu.collapsed .floating-menu-items {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}

.floating-menu-items a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.floating-menu-items a:hover,
.floating-menu-items a.reading-now {
    background: rgba(255, 106, 0, 0.08);
    border-left-color: #FF6A00;
    color: #FF6A00;
    text-decoration: none;
}

.floating-menu-items a:before {
    content: "•";
    color: #FF6A00;
    font-weight: bold;
    margin-right: 8px;
    font-size: 16px;
}

.floating-menu-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid white;
    font-weight: bold;
    font-size: 20px;
}

/* =========================================== */
/* Ribbon Styles */
/* =========================================== */

.ragna-ribbon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 0 10px;
}

.ragna-ribbon {
    background: #2c3e50;
    color: #FFD700;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    min-width: 160px;
    clip-path: polygon(92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%, 8% 0);
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}

.ragna-ribbon:hover {
    transform: scale(1.05);
    background: #34495e;
    color: #fff;
}

/* =========================================== */
/* COLLAPSIBLE DESIGN - BEAUTIFUL */
/* =========================================== */

/* Base collapsible container */
.mw-collapsible {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.mw-collapsible:hover {
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.15);
}

/* Header styling - Beautiful clickable headers */
.mw-collapsible .ragnawiki-card-header {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 25px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

/* Add a subtle pattern overlay to headers */
.mw-collapsible .ragnawiki-card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Arrow indicator - bigger and nicer */
.mw-collapsible .ragnawiki-card-header::after {
    float: right;
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: none;
    margin-top: -2px;
}

/* Rotate arrow when expanded */
.mw-collapsible.expanded .ragnawiki-card-header::after {
    transform: rotate(180deg);
    background: rgba(255,255,255,0.2);
}

/* Content area - with nice padding and subtle inner shadow */
.mw-collapsible-content {
    padding: 25px !important;
    background: #fafafa !important;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

/* Style for cards inside collapsible */
.mw-collapsible-content .ragnawiki-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.mw-collapsible-content .ragnawiki-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mw-collapsible-content .ragnawiki-card-header {
    padding: 12px 15px !important;
    font-size: 14px !important;
    border-bottom: none !important;
}

.mw-collapsible-content .ragnawiki-card-header::before,
.mw-collapsible-content .ragnawiki-card-header::after {
    display: none !important;
}

/* Make grids look nice inside */
.mw-collapsible-content .ragnawiki-grid {
    margin: 0 0 20px 0;
}

.mw-collapsible-content .ragnawiki-grid:last-child {
    margin-bottom: 0;
}

/* Hide ALL default MediaWiki toggle elements */
.mw-collapsible-toggle,
.mw-collapsible-toggle-default,
.mw-collapsible .mw-collapsible-toggle,
.mw-collapsible-text,
.mw-collapsible-toggle a,
.mw-collapsible-toggle span {
    display: none !important;
}

/* Header hover effect */
.mw-collapsible .ragnawiki-card-header:hover {
    filter: brightness(1.15);
    padding-left: 30px !important;
}

/* Special styling for different color headers */
.mw-collapsible .ragnawiki-card-header.ragna-blue {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    border-bottom-color: #1f4e7a !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-green {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    border-bottom-color: #1a6e3c !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-red {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    border-bottom-color: #84261e !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
    border-bottom-color: #5e2e77 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-orange {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    border-bottom-color: #a04100 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-gold {
    background: linear-gradient(135deg, #ffd700, #f1c40f) !important;
    color: #333 !important;
    border-bottom-color: #b4940b !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-gold::after {
    color: #333 !important;
    background: rgba(0,0,0,0.1);
}

.mw-collapsible .ragnawiki-card-header.ragna-teal {
    background: linear-gradient(135deg, #16a085, #1abc9c) !important;
    border-bottom-color: #0e6b58 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-pink {
    background: linear-gradient(135deg, #f48fb1, #f06292) !important;
    border-bottom-color: #c13b6b !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-dark {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    border-bottom-color: #1e2a36 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-cyan {
    background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
    border-bottom-color: #006d7a !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-brown {
    background: linear-gradient(135deg, #795548, #5d4037) !important;
    border-bottom-color: #3e2c26 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-silver {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6) !important;
    color: #333 !important;
    border-bottom-color: #6e7a7c !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-silver::after {
    color: #333 !important;
    background: rgba(0,0,0,0.1);
}

/* =========================================== */
/* Responsive Design */
/* =========================================== */

@media (max-width: 1200px) {
    .floating-menu {
        left: 10px;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .floating-menu {
        left: -220px;
        top: 10px;
        transform: none;
        width: 200px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .floating-menu.mobile-visible {
        left: 10px;
    }

    .floating-menu-toggle {
        display: flex;
    }

    .back-to-top-fixed {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top-fixed a {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .mw-collapsible .ragnawiki-card-header {
        padding: 15px 20px !important;
        font-size: 15px !important;
    }
    
    .mw-collapsible-content {
        padding: 15px !important;
    }
}

@media (max-width: 600px) {
    .ragna-ribbon {
        min-width: 130px;
        font-size: 11px;
        padding: 8px 15px;
    }
    
    .mw-collapsible .ragnawiki-card-header {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .mw-collapsible .ragnawiki-card-header::after {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}