MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
PORTABLE INFOBOX - READABLE | PORTABLE INFOBOX - FINAL READABLE KH STYLE | ||
============================================================ */ | ============================================================ */ | ||
| Line 7: | Line 7: | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
border: 2px solid #003366 !important; | border: 2px solid #003366 !important; | ||
width: | width: 320px !important; /* Widened slightly for 13px text */ | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
| Line 16: | Line 16: | ||
} | } | ||
/* | /* 1. THE TITLE - Increased for prominence */ | ||
.pi-title { | .pi-title { | ||
background-color: #003366 !important; | background-color: #003366 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
font-size: | font-size: 20px !important; /* Larger, bolder title */ | ||
font-weight: bold !important; | font-weight: bold !important; | ||
text-align: center; | text-align: center; | ||
padding: | padding: 12px !important; | ||
border-bottom: 2px solid #000 !important; | border-bottom: 2px solid #000 !important; | ||
} | } | ||
.pi- | /* 2. MAIN BODY TEXT - Set to 13px Sweet Spot */ | ||
.portable-infobox *, | |||
.pi-data-label, | |||
.pi-data-value { | |||
font-size: 13px !important; | |||
line-height: 1.4 !important; | |||
} | } | ||
/* | /* 3. SECTION HEADERS */ | ||
.pi-header { | .pi-header { | ||
background-color: #4a4a4a !important; | background-color: #4a4a4a !important; | ||
| Line 47: | Line 41: | ||
font-weight: bold !important; | font-weight: bold !important; | ||
text-align: center !important; | text-align: center !important; | ||
padding: | padding: 8px 0 !important; | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
font-size: 11px !important; | font-size: 11px !important; | ||
letter-spacing: | letter-spacing: 1.5px !important; | ||
border-top: 1px solid #333; | |||
} | } | ||
/* | /* 4. LABELS & VALUES - Tighter padding for 13px font */ | ||
.pi-data-label { | .pi-data-label { | ||
background-color: #f2f2f2 !important; | background-color: #f2f2f2 !important; | ||
color: #333 !important; | color: #333 !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
padding: | padding: 8px 10px !important; | ||
width: 40% !important; | width: 40% !important; | ||
border-right: 1px solid #ccc !important; | border-right: 1px solid #ccc !important; | ||
} | } | ||
.pi-data-value { | .pi-data-value { | ||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
padding: | padding: 8px 10px !important; | ||
width: 60% !important; | width: 60% !important; | ||
} | } | ||
/* | /* 5. IMAGE AREA */ | ||
.pi-image { | |||
display: block !important; | |||
background-color: #f8f9fa !important; | |||
border-bottom: 1px solid #ddd !important; | |||
text-align: center; | |||
padding: 10px !important; | |||
} | |||
/* 6. LISTS */ | |||
.pi-data-value ul, .pi-data-value li { | .pi-data-value ul, .pi-data-value li { | ||
margin: 2px 0 !important; | margin: 2px 0 !important; | ||
padding: 0 0 0 15px !important; | padding: 0 0 0 15px !important; | ||
font-size: 13px !important; | font-size: 13px !important; | ||
} | } | ||
Revision as of 23:47, 10 March 2026
/* ============================================================
PORTABLE INFOBOX - FINAL READABLE KH STYLE
============================================================ */
/* Main Container */
.portable-infobox {
background-color: #ffffff !important;
border: 2px solid #003366 !important;
width: 320px !important; /* Widened slightly for 13px text */
float: right;
margin: 0 0 1em 1em;
padding: 0;
box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
font-family: "Georgia", serif !important;
overflow: hidden;
}
/* 1. THE TITLE - Increased for prominence */
.pi-title {
background-color: #003366 !important;
color: #ffffff !important;
font-size: 20px !important; /* Larger, bolder title */
font-weight: bold !important;
text-align: center;
padding: 12px !important;
border-bottom: 2px solid #000 !important;
}
/* 2. MAIN BODY TEXT - Set to 13px Sweet Spot */
.portable-infobox *,
.pi-data-label,
.pi-data-value {
font-size: 13px !important;
line-height: 1.4 !important;
}
/* 3. SECTION HEADERS */
.pi-header {
background-color: #4a4a4a !important;
color: #ffffff !important;
font-weight: bold !important;
text-align: center !important;
padding: 8px 0 !important;
text-transform: uppercase !important;
font-size: 11px !important;
letter-spacing: 1.5px !important;
border-top: 1px solid #333;
}
/* 4. LABELS & VALUES - Tighter padding for 13px font */
.pi-data-label {
background-color: #f2f2f2 !important;
color: #333 !important;
font-weight: bold !important;
padding: 8px 10px !important;
width: 40% !important;
border-right: 1px solid #ccc !important;
}
.pi-data-value {
background-color: #ffffff !important;
padding: 8px 10px !important;
width: 60% !important;
}
/* 5. IMAGE AREA */
.pi-image {
display: block !important;
background-color: #f8f9fa !important;
border-bottom: 1px solid #ddd !important;
text-align: center;
padding: 10px !important;
}
/* 6. LISTS */
.pi-data-value ul, .pi-data-value li {
margin: 2px 0 !important;
padding: 0 0 0 15px !important;
font-size: 13px !important;
}