MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
PORTABLE INFOBOX - KINGDOM HEARTS STYLE | PORTABLE INFOBOX - KINGDOM HEARTS LIGHT STYLE | ||
============================================================ */ | ============================================================ */ | ||
.portable-infobox { | .portable-infobox { | ||
background-color: # | background-color: #ffffff; /* White background to match your page */ | ||
border: 2px solid # | border: 2px solid #003366; /* KH Blue border */ | ||
border-radius: 12px; | border-radius: 12px; | ||
width: 300px; | width: 300px; | ||
| Line 12: | Line 11: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 0; | padding: 0; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: | box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); | ||
color: # | color: #333; /* Dark text for readability */ | ||
font-family: "Georgia", serif; | font-family: "Georgia", serif; | ||
} | } | ||
/* | /* Title Bar - Gradient Blue */ | ||
.pi-title { | .pi-title { | ||
background: linear-gradient(to bottom, # | background: linear-gradient(to bottom, #0055aa 0%, #003366 100%) !important; | ||
color: # | color: #ffffff !important; | ||
font-size: 18px; | font-size: 18px; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
padding: 12px; | padding: 12px; | ||
} | } | ||
/* | /* Image Area - Ensuring it's visible */ | ||
.pi-image { | .pi-image { | ||
background-color: # | background-color: #f9f9f9; | ||
padding: 10px; | padding: 10px; | ||
text-align: center; | text-align: center; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #ddd; | ||
display: block !important; | |||
} | } | ||
| Line 41: | Line 39: | ||
max-width: 100% !important; | max-width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
/* | /* Section Headers - Gold/Yellow accent */ | ||
.pi-header { | .pi-header { | ||
background-color: # | background-color: #f0f0f0 !important; | ||
color: # | color: #b08d1a !important; /* KH Gold */ | ||
font-weight: bold; | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
padding: | padding: 8px 12px !important; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: 11px; | font-size: 11px; | ||
border-top: 1px solid #ddd; | |||
border-top: 1px solid # | border-bottom: 1px solid #ddd; | ||
border-bottom: 1px solid # | |||
} | } | ||
/* | /* Data Rows */ | ||
.pi-data { | .pi-data { | ||
display: flex !important; | display: flex !important; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #eee; | ||
} | } | ||
.pi-data-label { | .pi-data-label { | ||
background-color: | background-color: #f7faff !important; /* Very light blue tint */ | ||
color: # | color: #004488 !important; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 8px; | padding: 8px; | ||
width: 40% !important; | width: 40% !important; | ||
font-size: 11px; | font-size: 11px; | ||
border-right: 1px solid # | border-right: 1px solid #eee; | ||
} | } | ||
.pi-data-value { | .pi-data-value { | ||
padding: 8px; | padding: 8px; | ||
width: 60% !important; | width: 60% !important; | ||
font-size: 12px; | font-size: 12px; | ||
} | } | ||
Revision as of 23:28, 10 March 2026
/* ============================================================
PORTABLE INFOBOX - KINGDOM HEARTS LIGHT STYLE
============================================================ */
.portable-infobox {
background-color: #ffffff; /* White background to match your page */
border: 2px solid #003366; /* KH Blue border */
border-radius: 12px;
width: 300px;
float: right;
margin: 0 0 1em 1em;
padding: 0;
overflow: hidden;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
color: #333; /* Dark text for readability */
font-family: "Georgia", serif;
}
/* Title Bar - Gradient Blue */
.pi-title {
background: linear-gradient(to bottom, #0055aa 0%, #003366 100%) !important;
color: #ffffff !important;
font-size: 18px;
font-weight: bold;
text-align: center;
padding: 12px;
}
/* Image Area - Ensuring it's visible */
.pi-image {
background-color: #f9f9f9;
padding: 10px;
text-align: center;
border-bottom: 1px solid #ddd;
display: block !important;
}
.pi-image img {
max-width: 100% !important;
height: auto !important;
}
/* Section Headers - Gold/Yellow accent */
.pi-header {
background-color: #f0f0f0 !important;
color: #b08d1a !important; /* KH Gold */
font-weight: bold;
text-align: left;
padding: 8px 12px !important;
text-transform: uppercase;
font-size: 11px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
/* Data Rows */
.pi-data {
display: flex !important;
border-bottom: 1px solid #eee;
}
.pi-data-label {
background-color: #f7faff !important; /* Very light blue tint */
color: #004488 !important;
font-weight: bold;
padding: 8px;
width: 40% !important;
font-size: 11px;
border-right: 1px solid #eee;
}
.pi-data-value {
padding: 8px;
width: 60% !important;
font-size: 12px;
}