MediaWiki:Common.css

From Lenn's Fun Stuff

Revision as of 23:20, 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 STYLE
   ============================================================ */

/* 1. Main Container - The "Menu" Box */
.portable-infobox {
    background-color: #000b1a; /* Very deep KH Blue */
    border: 2px solid #5c5c5c; /* Silver-grey border */
    border-radius: 12px;
    width: 300px;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0;
    overflow: hidden; /* Keeps corners rounded */
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2); /* Subtle blue glow */
    color: #ffffff;
    font-family: "Georgia", serif;
}

/* 2. Title Bar - Gradient Blue */
.pi-title {
    background: linear-gradient(to bottom, #003366 0%, #001a33 100%) !important;
    color: #e0f2ff !important;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border-bottom: 2px solid #5c5c5c;
    text-shadow: 1px 1px 2px #000;
}

/* 3. Image Area */
.pi-image {
    background-color: #000;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.pi-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px;
}

/* 4. Section Headers (Biography, Stats, etc.) */
.pi-header {
    background-color: #1a1a1a !important; /* Dark grey/black */
    color: #bf9b30 !important; /* KH Gold accent */
    font-weight: bold;
    text-align: left;
    padding: 6px 12px !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

/* 5. Data Rows */
.pi-data {
    display: flex !important;
    border-bottom: 1px solid #1a1a1a;
}

/* The Label (Left Side) */
.pi-data-label {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #8bb6ff !important; /* Light blue techy text */
    font-weight: bold;
    padding: 8px;
    width: 40% !important;
    font-size: 11px;
    border-right: 1px solid #1a1a1a;
}

/* The Value (Right Side) */
.pi-data-value {
    padding: 8px;
    width: 60% !important;
    font-size: 12px;
    color: #efefef;
}

/* Clean up last item */
.pi-data:last-child {
    border-bottom: none;
}