MediaWiki:Common.css: Difference between revisions
m 2 revisions imported |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
PORTABLE INFOBOX - | PORTABLE INFOBOX - KINGDOM HEARTS STYLE | ||
============================================================ */ | ============================================================ */ | ||
/* 1. Main Container - | /* 1. Main Container - The "Menu" Box */ | ||
.portable-infobox { | .portable-infobox { | ||
border: | background-color: #000b1a; /* Very deep KH Blue */ | ||
border: 2px solid #5c5c5c; /* Silver-grey border */ | |||
width: | border-radius: 12px; | ||
width: 300px; | |||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 0; | padding: 0; | ||
box-shadow: | overflow: hidden; /* Keeps corners rounded */ | ||
box-shadow: 0 0 15px rgba(0, 102, 255, 0.2); /* Subtle blue glow */ | |||
font- | color: #ffffff; | ||
font-family: "Georgia", serif; | |||
} | } | ||
/* 2. | /* 2. Title Bar - Gradient Blue */ | ||
.pi-title { | .pi-title { | ||
background- | background: linear-gradient(to bottom, #003366 0%, #001a33 100%) !important; | ||
color: # | color: #e0f2ff !important; | ||
font-size: 18px; | |||
font-size: | |||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
padding: | padding: 12px; | ||
border-bottom: 2px solid #000; | border-bottom: 2px solid #5c5c5c; | ||
text-shadow: 1px 1px 2px #000; | |||
} | } | ||
/* 3. Image Area | /* 3. Image Area */ | ||
.pi-image { | .pi-image { | ||
background-color: #000; | |||
padding: 10px; | |||
background-color: | |||
text-align: center; | text-align: center; | ||
border-bottom: 1px solid #333; | |||
} | } | ||
| Line 43: | Line 41: | ||
max-width: 100% !important; | max-width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
border: | border-radius: 4px; | ||
} | } | ||
/* 4. Section Headers (Biography, | /* 4. Section Headers (Biography, Stats, etc.) */ | ||
.pi-header { | .pi-header { | ||
background-color: # | background-color: #1a1a1a !important; /* Dark grey/black */ | ||
color: # | color: #bf9b30 !important; /* KH Gold accent */ | ||
font-weight: bold; | font-weight: bold; | ||
text-align: | text-align: left; | ||
padding: | padding: 6px 12px !important; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: | font-size: 11px; | ||
letter-spacing: | letter-spacing: 1.5px; | ||
border-top: 1px solid #333; | border-top: 1px solid #333; | ||
border-bottom: 1px solid #333; | |||
} | } | ||
/* 5. Data Rows | /* 5. Data Rows */ | ||
.pi-data { | .pi-data { | ||
display: flex !important; | display: flex !important; | ||
border-bottom: 1px solid #1a1a1a; | |||
border-bottom: 1px solid # | |||
} | } | ||
/* The Label (Left Side | /* The Label (Left Side) */ | ||
.pi-data-label { | .pi-data-label { | ||
background-color: | background-color: rgba(255, 255, 255, 0.05) !important; | ||
color: # | color: #8bb6ff !important; /* Light blue techy text */ | ||
font-weight: bold; | font-weight: bold; | ||
padding: | padding: 8px; | ||
width: | width: 40% !important; | ||
font-size: 11px; | font-size: 11px; | ||
border-right: 1px solid #1a1a1a; | |||
} | } | ||
/* The Value (Right Side | /* The Value (Right Side) */ | ||
.pi-data-value { | .pi-data-value { | ||
padding: 8px; | |||
padding: | width: 60% !important; | ||
width: | font-size: 12px; | ||
font-size: | color: #efefef; | ||
} | } | ||
/* | /* Clean up last item */ | ||
.pi-data:last-child { | .pi-data:last-child { | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||