MediaWiki:Common.css

Revision as of 23:28, 10 March 2026 by LennLeaf (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ============================================================
   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;
}