MediaWiki:Common.css
From Ragnafied Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Ragnawiki Modern Styling */ .ragnawiki-modern { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.4; } /* Hero Section */ .wiki-hero { background: linear-gradient(135deg, #f0c237 0%, #b88d0b 100%); color: white; padding: 25px; border-radius: 10px; text-align: center; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .wiki-hero-title { font-size: 28px; font-weight: bold; margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); } .wiki-hero-subtitle { font-size: 16px; opacity: 0.9; margin-bottom: 15px; } /* Grid Layouts */ .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } .nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; } /* Cards */ .info-card, .nav-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; } .info-card:hover, .nav-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); } /* Card Headers */ .card-header, .nav-header { color: white; padding: 12px 15px; font-weight: bold; font-size: 16px; text-align: center; } .card-header.server { background: linear-gradient(135deg, #4682B4, #5a96d1); } .card-header.rates { background: linear-gradient(135deg, #DAA520, #e6b800); } .nav-header.beginners { background: linear-gradient(135deg, #87CEFA, #6ab0f5); } .nav-header.features { background: linear-gradient(135deg, #DAA520, #e6b800); } .nav-header.guides { background: linear-gradient(135deg, #32CD32, #28a428); } /* Card Content */ .card-content { padding: 15px; } /* Lists */ .compact-list .list-row { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f0f0; } .compact-list .list-row:last-child { border-bottom: none; } .list-icon { width: 30px; text-align: center; font-size: 16px; } /* Navigation Items */ .nav-item { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid #f0f0f0; transition: background-color 0.2s ease; text-decoration: none; color: inherit; } .nav-item:hover { background-color: #f8f9fa; } .nav-item:last-child { border-bottom: none; } .nav-icon { width: 30px; text-align: center; } .nav-icon img { width: 24px; height: 24px; object-fit: contain; } .nav-text { flex: 1; font-weight: 600; color: #2c5e9e; } .nav-item:hover .nav-text { color: #1e3a5f; text-decoration: underline; } /* Notes Box */ .notes-box { margin-top: 15px; background: rgba(255, 243, 243, 0.8); border-left: 4px solid #b22222; padding: 12px; border-radius: 6px; } .notes-title { font-weight: 600; color: #b22222; margin-bottom: 5px; font-size: 14px; } .notes-content { font-size: 12px; line-height: 1.4; color: #666; } /* Section Titles */ .section-title { font-size: 20px; font-weight: bold; margin: 25px 0 15px; padding-bottom: 8px; border-bottom: 2px solid #2c5e9e; } /* Color Classes for Text */ .text-primary { color: #2c5e9e; font-weight: 600; } .text-danger { color: #d35400; font-weight: 600; } .text-success { color: #27ae60; font-weight: 600; } .text-purple { color: #8e44ad; font-weight: 600; } .text-warning { color: #e67e22; font-weight: 600; } /* Responsive Design */ @media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; gap: 15px; } .nav-grid { grid-template-columns: 1fr; gap: 15px; } .wiki-hero { padding: 20px 15px; } .wiki-hero-title { font-size: 24px; } } @media (max-width: 480px) { .card-content { padding: 12px; } .nav-item { padding: 8px 10px; } .list-icon, .nav-icon { width: 25px; } } /* NewWikiPreset - Modern Compact Wiki Design */ .NewWikiPreset { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.4; color: #333; } /* Hero Section */ .NewWikiPreset-hero { background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%); color: white; padding: 25px; border-radius: 10px; text-align: center; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .NewWikiPreset-hero-title { font-size: 28px; font-weight: bold; margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); } .NewWikiPreset-hero-subtitle { font-size: 16px; opacity: 0.9; margin-bottom: 15px; } /* Grid Layouts */ .NewWikiPreset-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } .NewWikiPreset-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; } /* Cards */ .NewWikiPreset-card, .NewWikiPreset-nav-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; } .NewWikiPreset-card:hover, .NewWikiPreset-nav-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); } /* Card Headers */ .NewWikiPreset-card-header, .NewWikiPreset-nav-header { color: white; padding: 12px 7px; font-weight: bold; font-size: 16px; text-align: center; } .NewWikiPreset-card-header.server { background: linear-gradient(135deg, #4682B4, #5a96d1); } .NewWikiPreset-card-header.rates { background: linear-gradient(135deg, #DAA520, #e6b800); } .NewWikiPreset-nav-header.beginners { background: linear-gradient(135deg, #87CEFA, #6ab0f5); } .NewWikiPreset-nav-header.features { background: linear-gradient(135deg, #DAA520, #e6b800); } .NewWikiPreset-nav-header.guides { background: linear-gradient(135deg, #32CD32, #28a428); } /* Card Content */ .NewWikiPreset-card-content { padding: 15px; } /* Lists */ .NewWikiPreset-compact-list .NewWikiPreset-list-row { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f0f0; } .NewWikiPreset-compact-list .NewWikiPreset-list-row:last-child { border-bottom: none; } .NewWikiPreset-list-icon { width: 30px; text-align: center; font-size: 16px; } /* Navigation Items */ .NewWikiPreset-nav-item { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid #f0f0f0; transition: background-color 0.2s ease; } .NewWikiPreset-nav-item:hover { background-color: #f8f9fa; } .NewWikiPreset-nav-item:last-child { border-bottom: none; } .NewWikiPreset-nav-icon { width: 30px; text-align: center; } .NewWikiPreset-nav-icon img { width: 24px; height: 24px; object-fit: contain; } .NewWikiPreset-nav-text { flex: 1; font-weight: 600; color: #2c5e9e; } .NewWikiPreset-nav-item:hover .NewWikiPreset-nav-text { color: #1e3a5f; } /* Notes Box */ .NewWikiPreset-notes-box { margin-top: 15px; background: rgba(255, 243, 243, 0.8); border-left: 4px solid #b22222; padding: 12px; border-radius: 6px; } .NewWikiPreset-notes-title { font-weight: 600; color: #b22222; margin-bottom: 5px; font-size: 14px; } .NewWikiPreset-notes-content { font-size: 12px; line-height: 1.4; color: #666; } /* Section Titles */ .NewWikiPreset-section-title { font-size: 20px; font-weight: bold; margin: 25px 0 15px; padding-bottom: 8px; border-bottom: 2px solid #2c5e9e; } /* Color Classes for Text */ .NewWikiPreset-text-primary { color: #2c5e9e; font-weight: 600; } .NewWikiPreset-text-danger { color: #d35400; font-weight: 600; } .NewWikiPreset-text-success { color: #27ae60; font-weight: 600; } .NewWikiPreset-text-purple { color: #8e44ad; font-weight: 600; } .NewWikiPreset-text-warning { color: #e67e22; font-weight: 600; } /* Responsive Design */ @media (max-width: 768px) { .NewWikiPreset-info-grid { grid-template-columns: 1fr; gap: 15px; } .NewWikiPreset-nav-grid { grid-template-columns: 1fr; gap: 15px; } .NewWikiPreset-hero { padding: 20px 15px; } .NewWikiPreset-hero-title { font-size: 24px; } } @media (max-width: 480px) { .NewWikiPreset-card-content { padding: 12px; } .NewWikiPreset-nav-item { padding: 8px 10px; } .NewWikiPreset-list-icon, .NewWikiPreset-nav-icon { width: 10px; } }