MediaWiki:Common.css: Difference between revisions
From Ragnafied Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Ragnawiki Styles */ | ||
.ragnawiki- | .ragnawiki-hero { | ||
background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%); | |||
margin: 0 | 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-size: | |||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: | margin-bottom: 10px; | ||
text-shadow: 2px 2px 4px rgba(0,0,0,0.3); | |||
} | } | ||
.hero-subtitle { | |||
font-size: | .ragnawiki-hero-subtitle { | ||
opacity: 0. | font-size: 16px; | ||
opacity: 0.95; | |||
margin-bottom: 15px; | |||
} | } | ||
.ragnawiki-grid { | |||
. | display: flex; | ||
display: | |||
gap: 20px; | gap: 20px; | ||
margin- | margin: 25px 0; | ||
flex-wrap: wrap; | |||
} | } | ||
. | .ragnawiki-card { | ||
background: | background: white; | ||
border: | border-radius: 10px; | ||
box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |||
overflow: hidden; | overflow: hidden; | ||
flex: 1; | |||
min-width: 300px; | |||
} | } | ||
.card-header { | .ragnawiki-card-header { | ||
color: white; | color: white; | ||
padding: 12px 15px; | |||
font-weight: bold; | font-weight: bold; | ||
font-size: 14px; | |||
font-size: | |||
} | } | ||
. | |||
.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; | |||
} | } | ||
.list | |||
.ragnawiki-list tr td { | |||
padding: 8px 5px; | |||
border-bottom: 1px solid #f0f0f0; | |||
padding: 5px | vertical-align: middle; | ||
border-bottom: 1px | |||
} | } | ||
.list | |||
.ragnawiki-list tr:last-child td { | |||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
.ragna-value { | |||
. | |||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.ragnawiki-notes { | |||
margin-top: 15px; | |||
. | |||
} | } | ||
.ragnawiki-tip-box { | |||
. | background: #fff3f3; | ||
border-left: 4px solid #b22222; | |||
padding: 12px; | |||
border- | border-radius: 6px; | ||
padding- | font-size: 13px; | ||
} | } | ||
.nav-grid | .ragnawiki-nav-grid { | ||
display: | display: flex; | ||
gap: 15px; | |||
margin: 25px 0; | |||
flex-wrap: wrap; | |||
} | } | ||
.nav- | .ragnawiki-nav-card { | ||
background: white; | |||
border-radius: 8px; | border-radius: 10px; | ||
box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |||
overflow: hidden; | overflow: hidden; | ||
flex: 1; | |||
min-width: 250px; | |||
} | } | ||
. | .ragnawiki-nav-header { | ||
color: white; | color: white; | ||
padding: 12px 15px; | 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 { | |||
.nav- | padding: 10px 8px; | ||
border-bottom: 1px solid #e1e8ed; | |||
vertical-align: middle; | |||
padding: 8px | |||
border- | |||
} | } | ||
.ragnawiki-nav-table tr:nth-child(odd) td { | |||
.nav- | background: rgba(240, 248, 255, 0.7); | ||
background | |||
} | } | ||
.ragnawiki-nav-table tr:nth-child(even) td { | |||
background: rgba(255, 255, 255, 0.9); | |||
. | |||
} | } | ||
.nav- | .ragnawiki-nav-table tr:last-child td { | ||
border-bottom: none; | |||
} | } | ||
.nav- | |||
/* Responsive design */ | |||
@media (max-width: 768px) { | |||
.ragnawiki-grid, | |||
.ragnawiki-nav-grid { | |||
flex-direction: column; | |||
} | |||
.ragnawiki-card, | |||
.ragnawiki-nav-card { | |||
min-width: auto; | |||
} | |||
} | } | ||
Revision as of 21:08, 30 September 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: 15px; } .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: 10px 8px; 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; } }