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
   ============================================================ */
   ============================================================ */


/* 1. Main Container - The "Menu" Box */
.portable-infobox {
.portable-infobox {
     background-color: #000b1a; /* Very deep KH Blue */
     background-color: #ffffff; /* White background to match your page */
     border: 2px solid #5c5c5c; /* Silver-grey border */
     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; /* Keeps corners rounded */
     overflow: hidden;  
     box-shadow: 0 0 15px rgba(0, 102, 255, 0.2); /* Subtle blue glow */
     box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
     color: #ffffff;
     color: #333; /* Dark text for readability */
     font-family: "Georgia", serif;
     font-family: "Georgia", serif;
}
}


/* 2. Title Bar - Gradient Blue */
/* Title Bar - Gradient Blue */
.pi-title {
.pi-title {
     background: linear-gradient(to bottom, #003366 0%, #001a33 100%) !important;
     background: linear-gradient(to bottom, #0055aa 0%, #003366 100%) !important;
     color: #e0f2ff !important;
     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;
    border-bottom: 2px solid #5c5c5c;
    text-shadow: 1px 1px 2px #000;
}
}


/* 3. Image Area */
/* Image Area - Ensuring it's visible */
.pi-image {
.pi-image {
     background-color: #000;
     background-color: #f9f9f9;
     padding: 10px;
     padding: 10px;
     text-align: center;
     text-align: center;
     border-bottom: 1px solid #333;
     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;
    border-radius: 4px;
}
}


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


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


/* The Label (Left Side) */
.pi-data-label {
.pi-data-label {
     background-color: rgba(255, 255, 255, 0.05) !important;
     background-color: #f7faff !important; /* Very light blue tint */
     color: #8bb6ff !important; /* Light blue techy text */
     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 #1a1a1a;
     border-right: 1px solid #eee;
}
}


/* The Value (Right Side) */
.pi-data-value {
.pi-data-value {
     padding: 8px;
     padding: 8px;
     width: 60% !important;
     width: 60% !important;
     font-size: 12px;
     font-size: 12px;
    color: #efefef;
}
/* Clean up last item */
.pi-data:last-child {
    border-bottom: none;
}
}

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;
}