MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ====== | /* ====== GBI – PROFILE TEMPLATE FIXED VERSION ====== */ | ||
/* | /* Cover Banner */ | ||
.gbi-cover-area { | .gbi-cover-area { | ||
position: relative; | |||
width: 100%; | width: 100%; | ||
height: | height: 320px; /* fixed height */ | ||
overflow: hidden; | |||
border-radius: 12px; | border-radius: 12px; | ||
} | } | ||
.gbi-cover-image { | |||
.gbi-cover- | |||
width: 100%; | width: 100%; | ||
height: 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; | position: absolute; | ||
bottom: -60px; | bottom: -60px; | ||
left: 40px; | left: 40px; | ||
z-index: 10; | |||
} | } | ||
/* | /* Banner Content */ | ||
.gbi-banner-content { | |||
position: absolute; | |||
.gbi-banner- | left: 200px; | ||
position: | bottom: 20px; | ||
color: white; | |||
} | } | ||
.gbi-name-banner { | .gbi-name-banner { | ||
font-size: 38px; | |||
font-size: | |||
font-weight: 700; | font-weight: 700; | ||
text-shadow: | text-shadow: 0 2px 6px rgba(0,0,0,0.4); | ||
} | } | ||
.gbi-headline-banner { | .gbi-headline-banner { | ||
font-size: 20px; | |||
font-size: | |||
opacity: 0.95; | opacity: 0.95; | ||
} | } | ||
.gbi-container { | .gbi-container { | ||
margin-top: | margin-top: 80px; /* space under profile image */ | ||
display: | display: flex; | ||
gap: 30px; | |||
gap: | |||
} | } | ||
/* | /* Layout columns */ | ||
.gbi-left | .gbi-left { | ||
width: 70%; | |||
} | } | ||
.gbi-right { | |||
. | width: 30%; | ||
} | } | ||
/* Infobox | /* 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); | |||
. | |||
} | } | ||
Revision as of 15:43, 25 November 2025
/* ====== 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);
}