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.
/* ====== GBI – PROFILE TEMPLATE FIXED VERSION ====== */
/* Cover Banner */
.gbi-cover-area {
position: relative;
width: 100%;
height: 320px; /* fixed height */
overflow: hidden;
border-radius: 12px;
}
.gbi-cover-image {
width: 100%;
height: 100%;
object-fit: cover; /* CROPS automatically */
object-position: center;
border-radius: 12px;
}
/* Profile picture */
.gbi-profile-on-banner {
width: 140px;
height: 140px;
border-radius: 50%;
border: 4px solid #fff;
object-fit: cover; /* auto adjust */
object-position: center;
position: absolute;
bottom: -60px;
left: 40px;
z-index: 10;
}
/* Banner Content */
.gbi-banner-content {
position: absolute;
left: 200px;
bottom: 20px;
color: white;
}
.gbi-name-banner {
font-size: 38px;
font-weight: 700;
text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.gbi-headline-banner {
font-size: 20px;
opacity: 0.95;
}
.gbi-container {
margin-top: 80px; /* space under profile image */
display: flex;
gap: 30px;
}
/* Layout columns */
.gbi-left {
width: 70%;
}
.gbi-right {
width: 30%;
}
/* Infobox style */
.gbi-right table {
width: 100%;
background: #fff;
padding: 18px;
border-radius: 14px;
box-shadow: 0px 6px 24px rgba(0,0,0,0.08);
}