MediaWiki:Common.css
MediaWiki interface page
More actions
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.
/* 🌟 Global Bio Index Modern Biography UI */
/* Header Layout */
.gbi-header {
display: flex;
width: 100%;
height: 280px;
margin-bottom: 25px;
}
/* Profile Image Box */
.gbi-photo {
width: 30%;
overflow: hidden;
border-radius: 14px 0 0 14px;
background:#e9edf4;
display: flex;
align-items: center;
justify-content: center;
}
/* Profile Image */
.gbi-img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
border-radius: inherit;
display: block !important;
}
/* Remove default thumbnail containers */
.gbi-photo .thumb,
.gbi-photo .thumbinner,
.gbi-photo .mw-file-element,
.gbi-photo .thumbimage,
.gbi-photo .thumbcaption {
all: unset !important;
}
/* Banner Box */
.gbi-banner {
width: 70%;
position: relative;
overflow: hidden;
border-radius: 0 14px 14px 0;
background:#d3d7de; /* fallback */
}
/* Banner Image */
.gbi-banner-img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
border-radius: inherit;
display: block !important;
}
/* Banner Overlay Text Area */
.gbi-banner-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to right, rgba(0,0,0,0.55), transparent);
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 25px;
}
/* Name Text */
.gbi-title {
margin: 0;
font-size: 32px;
line-height: 36px;
font-weight: 700;
}
/* Designation Text */
.gbi-designation {
font-size: 17px;
opacity: 0.92;
margin-top: 6px;
font-weight: 500;
}
/* Body Layout */
.gbi-layout {
display: flex;
gap: 30px;
width: 100%;
}
.gbi-content {
width: 65%;
font-size: 16px;
line-height: 1.6em;
}
.gbi-infobox {
width: 35%;
}
/* Responsive */
@media (max-width: 900px) {
.gbi-header {
flex-direction: column;
height: auto;
}
.gbi-photo, .gbi-banner {
width: 100% !important;
height: 220px !important;
border-radius: 14px !important;
}
.gbi-layout {
flex-direction: column;
}
.gbi-content, .gbi-infobox {
width: 100%;
}
}