MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 195: | Line 195: | ||
padding: 6px; | padding: 6px; | ||
border-bottom: 1px solid #e5e5e5; | border-bottom: 1px solid #e5e5e5; | ||
} | |||
/* BIO HEADER FIX */ | |||
.bio-header { | |||
background: #e8f0fe; | |||
color: #111; | |||
font-size: 20px; | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 10px; | |||
border-bottom: 1px solid #d0d7de; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; /* ALIGN name + badge perfectly */ | |||
gap: 6px; /* small space between them */ | |||
} | |||
/* name stays normal */ | |||
.bio-name { | |||
line-height: 1; | |||
} | |||
/* badge becomes perfectly centered */ | |||
.bio-badge img { | |||
height: 18px !important; | |||
width: auto; | |||
vertical-align: middle; | |||
margin-bottom: 2px; /* tweak for perfect baseline */ | |||
} | } | ||