MediaWiki:Common.css: Difference between revisions
From Ragnafied Wiki
No edit summary |
No edit summary |
||
| Line 148: | Line 148: | ||
.nav-item:hover .nav-text { | .nav-item:hover .nav-text { | ||
color: #1e3a5f; | color: #1e3a5f; | ||
} | } | ||
| Line 235: | Line 234: | ||
background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%); | background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%); | ||
color: white; | color: white; | ||
padding: | padding: 20px; | ||
border-radius: 10px; | border-radius: 10px; | ||
text-align: center; | text-align: center; | ||
margin-bottom: | margin-bottom: 20px; | ||
box-shadow: 0 4px 12px rgba(0,0,0,0.1); | box-shadow: 0 4px 12px rgba(0,0,0,0.1); | ||
} | } | ||
.NewWikiPreset-hero-title { | .NewWikiPreset-hero-title { | ||
font-size: | font-size: 24px; | ||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: | margin-bottom: 8px; | ||
text-shadow: 1px 1px 3px rgba(0,0,0,0.2); | text-shadow: 1px 1px 3px rgba(0,0,0,0.2); | ||
} | } | ||
.NewWikiPreset-hero-subtitle { | .NewWikiPreset-hero-subtitle { | ||
font-size: | font-size: 14px; | ||
opacity: 0.9; | opacity: 0.9; | ||
margin-bottom: | margin-bottom: 10px; | ||
} | } | ||
| Line 259: | Line 258: | ||
display: grid; | display: grid; | ||
grid-template-columns: 1fr 1fr; | grid-template-columns: 1fr 1fr; | ||
gap: | gap: 15px; | ||
margin-bottom: | margin-bottom: 20px; | ||
} | } | ||
| Line 266: | Line 265: | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, 1fr); | grid-template-columns: repeat(3, 1fr); | ||
gap: | gap: 12px; | ||
margin-bottom: | margin-bottom: 15px; | ||
} | } | ||
| Line 273: | Line 272: | ||
.NewWikiPreset-card, .NewWikiPreset-nav-card { | .NewWikiPreset-card, .NewWikiPreset-nav-card { | ||
background: white; | background: white; | ||
border-radius: | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 2px | box-shadow: 0 2px 6px rgba(0,0,0,0.08); | ||
transition: transform 0.2s ease, box-shadow 0.2s ease; | transition: transform 0.2s ease, box-shadow 0.2s ease; | ||
} | } | ||
.NewWikiPreset-card:hover, .NewWikiPreset-nav-card:hover { | .NewWikiPreset-card:hover, .NewWikiPreset-nav-card:hover { | ||
transform: translateY(- | transform: translateY(-1px); | ||
box-shadow: 0 | box-shadow: 0 3px 8px rgba(0,0,0,0.12); | ||
} | } | ||
| Line 287: | Line 286: | ||
.NewWikiPreset-card-header, .NewWikiPreset-nav-header { | .NewWikiPreset-card-header, .NewWikiPreset-nav-header { | ||
color: white; | color: white; | ||
padding: 12px | padding: 10px 12px; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: | font-size: 14px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Line 315: | Line 314: | ||
/* Card Content */ | /* Card Content */ | ||
.NewWikiPreset-card-content { | .NewWikiPreset-card-content { | ||
padding: | padding: 12px; | ||
} | } | ||
| Line 322: | Line 321: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
padding: | padding: 6px 0; | ||
border-bottom: 1px solid #f0f0f0; | border-bottom: 1px solid #f0f0f0; | ||
} | } | ||
| Line 331: | Line 330: | ||
.NewWikiPreset-list-icon { | .NewWikiPreset-list-icon { | ||
width: | width: 24px; | ||
text-align: center; | text-align: center; | ||
font-size: | font-size: 14px; | ||
} | } | ||
| Line 340: | Line 339: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
padding: 10px | padding: 8px 10px; | ||
border-bottom: 1px solid #f0f0f0; | border-bottom: 1px solid #f0f0f0; | ||
transition: background-color 0.2s ease; | transition: background-color 0.2s ease; | ||
| Line 354: | Line 353: | ||
.NewWikiPreset-nav-icon { | .NewWikiPreset-nav-icon { | ||
width: | width: 24px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.NewWikiPreset-nav-icon img { | .NewWikiPreset-nav-icon img { | ||
width: | width: 20px; | ||
height: | height: 20px; | ||
object-fit: contain; | object-fit: contain; | ||
} | } | ||
| Line 368: | Line 367: | ||
font-weight: 600; | font-weight: 600; | ||
color: #2c5e9e; | color: #2c5e9e; | ||
font-size: 13px; | |||
} | } | ||
.NewWikiPreset-nav-item:hover .NewWikiPreset-nav-text { | .NewWikiPreset-nav-item:hover .NewWikiPreset-nav-text { | ||
color: #1e3a5f; | color: #1e3a5f; | ||
text-decoration: underline; | |||
} | } | ||
/* Notes Box */ | /* Notes Box */ | ||
.NewWikiPreset-notes-box { | .NewWikiPreset-notes-box { | ||
margin-top: | margin-top: 12px; | ||
background: rgba(255, 243, 243, 0.8); | background: rgba(255, 243, 243, 0.8); | ||
border-left: | border-left: 3px solid #b22222; | ||
padding: | padding: 10px; | ||
border-radius: | border-radius: 5px; | ||
} | } | ||
| Line 386: | Line 387: | ||
font-weight: 600; | font-weight: 600; | ||
color: #b22222; | color: #b22222; | ||
margin-bottom: | margin-bottom: 4px; | ||
font-size: | font-size: 13px; | ||
} | } | ||
.NewWikiPreset-notes-content { | .NewWikiPreset-notes-content { | ||
font-size: | font-size: 11px; | ||
line-height: 1. | line-height: 1.3; | ||
color: #666; | color: #666; | ||
} | } | ||
| Line 398: | Line 399: | ||
/* Section Titles */ | /* Section Titles */ | ||
.NewWikiPreset-section-title { | .NewWikiPreset-section-title { | ||
font-size: | font-size: 18px; | ||
font-weight: bold; | font-weight: bold; | ||
margin: | margin: 20px 0 12px; | ||
padding-bottom: | padding-bottom: 6px; | ||
border-bottom: 2px solid #2c5e9e; | border-bottom: 2px solid #2c5e9e; | ||
} | } | ||
| Line 416: | Line 417: | ||
.NewWikiPreset-info-grid { | .NewWikiPreset-info-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
gap: | gap: 12px; | ||
} | } | ||
.NewWikiPreset-nav-grid { | .NewWikiPreset-nav-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
gap: | gap: 10px; | ||
} | } | ||
.NewWikiPreset-hero { | .NewWikiPreset-hero { | ||
padding: | padding: 15px 12px; | ||
} | } | ||
.NewWikiPreset-hero-title { | .NewWikiPreset-hero-title { | ||
font-size: | font-size: 20px; | ||
} | } | ||
} | } | ||
| Line 435: | Line 436: | ||
@media (max-width: 480px) { | @media (max-width: 480px) { | ||
.NewWikiPreset-card-content { | .NewWikiPreset-card-content { | ||
padding: | padding: 10px; | ||
} | } | ||
.NewWikiPreset-nav-item { | .NewWikiPreset-nav-item { | ||
padding: 8px | padding: 6px 8px; | ||
} | } | ||
.NewWikiPreset-list-icon, .NewWikiPreset-nav-icon { | .NewWikiPreset-list-icon, .NewWikiPreset-nav-icon { | ||
width: | width: 20px; | ||
} | } | ||
} | } | ||
Revision as of 20:34, 30 September 2025
/* 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;
}
/* 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: 20px;
border-radius: 10px;
text-align: center;
margin-bottom: 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.NewWikiPreset-hero-title {
font-size: 24px;
font-weight: bold;
margin-bottom: 8px;
text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.NewWikiPreset-hero-subtitle {
font-size: 14px;
opacity: 0.9;
margin-bottom: 10px;
}
/* Grid Layouts */
.NewWikiPreset-info-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 20px;
}
.NewWikiPreset-nav-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-bottom: 15px;
}
/* Cards */
.NewWikiPreset-card, .NewWikiPreset-nav-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 6px 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(-1px);
box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}
/* Card Headers */
.NewWikiPreset-card-header, .NewWikiPreset-nav-header {
color: white;
padding: 10px 12px;
font-weight: bold;
font-size: 14px;
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: 12px;
}
/* Lists */
.NewWikiPreset-compact-list .NewWikiPreset-list-row {
display: flex;
align-items: center;
padding: 6px 0;
border-bottom: 1px solid #f0f0f0;
}
.NewWikiPreset-compact-list .NewWikiPreset-list-row:last-child {
border-bottom: none;
}
.NewWikiPreset-list-icon {
width: 24px;
text-align: center;
font-size: 14px;
}
/* Navigation Items */
.NewWikiPreset-nav-item {
display: flex;
align-items: center;
padding: 8px 10px;
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: 24px;
text-align: center;
}
.NewWikiPreset-nav-icon img {
width: 20px;
height: 20px;
object-fit: contain;
}
.NewWikiPreset-nav-text {
flex: 1;
font-weight: 600;
color: #2c5e9e;
font-size: 13px;
}
.NewWikiPreset-nav-item:hover .NewWikiPreset-nav-text {
color: #1e3a5f;
text-decoration: underline;
}
/* Notes Box */
.NewWikiPreset-notes-box {
margin-top: 12px;
background: rgba(255, 243, 243, 0.8);
border-left: 3px solid #b22222;
padding: 10px;
border-radius: 5px;
}
.NewWikiPreset-notes-title {
font-weight: 600;
color: #b22222;
margin-bottom: 4px;
font-size: 13px;
}
.NewWikiPreset-notes-content {
font-size: 11px;
line-height: 1.3;
color: #666;
}
/* Section Titles */
.NewWikiPreset-section-title {
font-size: 18px;
font-weight: bold;
margin: 20px 0 12px;
padding-bottom: 6px;
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: 12px;
}
.NewWikiPreset-nav-grid {
grid-template-columns: 1fr;
gap: 10px;
}
.NewWikiPreset-hero {
padding: 15px 12px;
}
.NewWikiPreset-hero-title {
font-size: 20px;
}
}
@media (max-width: 480px) {
.NewWikiPreset-card-content {
padding: 10px;
}
.NewWikiPreset-nav-item {
padding: 6px 8px;
}
.NewWikiPreset-list-icon, .NewWikiPreset-nav-icon {
width: 20px;
}
}
