MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 196: Line 196:
     border-bottom: 1px solid #e5e5e5;
     border-bottom: 1px solid #e5e5e5;
}
}
/* BIO HEADER FIX */
/* BLUE NAME HEADER - EXACT WIKIPEDIA STYLE */
.bio-header {
.bio-header {
     background: #e8f0fe;
     background: #e8f0fe;
     color: #111;
     padding: 12px;
     font-size: 20px;
     font-size: 19px;
     font-weight: bold;
     font-weight: bold;
     text-align: center;
     text-align: center;
    padding: 10px;
     border-bottom: 1px solid #c8d3e3;
     border-bottom: 1px solid #d0d7de;


     display: flex;
    /* Fix alignment */
     display: inline-flex;
     justify-content: center;
     justify-content: center;
     align-items: center; /* ALIGN name + badge perfectly */
     align-items: center;
     gap: 6px;           /* small space between them */
    gap: 6px;
 
    width: 100%;      /* Remove white box */
    box-sizing: border-box;
}
 
/* Name text */
.bio-title {
     line-height: 1;
}
 
/* Badge — perfect sizing + alignment */
.bio-title-badge img {
    height: 18px !important;
    width: auto;
    margin-bottom: 1px;
    vertical-align: middle;
}
}


/* name stays normal */
/* name stays normal */