MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 135: Line 135:
/* BIOGRAPHY INFOBOX (IMPROVED)  */
/* BIOGRAPHY INFOBOX (IMPROVED)  */
/* =============================== */
/* =============================== */
/* ------------------------------------------------------ */
/* BIOGRAPHY INFOBOX – Knowlepedia Style                  */
/* ------------------------------------------------------ */


.biobox-infobox {
.biobox-infobox {
Line 151: Line 147:
}
}


/* HEADER */
/* HEADER FIX — Name + Badge SAME LINE */
.biobox-header {
.biobox-header {
     background: #e1f5fe;
     background: #e1f5fe;
Line 157: Line 153:
     font-weight: bold;
     font-weight: bold;
     text-align: center;
     text-align: center;
     padding: 5px;
 
     padding: 8px;
     font-size: 17px;
     font-size: 17px;


     display: flex;
    /* Make name + badge in one line */
     display: inline-flex;
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
     gap: 6px;
     gap: 6px;
    width: 100%; /* keep header full width */
    box-sizing: border-box;
}
.biobox-header img {
    height: 18px !important;
    width: auto !important;
    vertical-align: middle;
}
}