MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 171: | Line 171: | ||
font-size: 24px; | font-size: 24px; | ||
} | } | ||
} | |||
/* Remove MediaWiki forced thumbnail wrappers */ | |||
span.gbi-cover-image, | |||
span.gbi-profile-on-banner, | |||
div.gbi-cover-image, | |||
div.gbi-profile-on-banner { | |||
width: auto !important; | |||
height: auto !important; | |||
display: inline !important; | |||
} | } | ||
Revision as of 15:05, 25 November 2025
/* =======================================================
GLOBAL BIO INDEX — FILMFREEWAY PROFILE UI
Optimized strictly for your current HTML template
======================================================= */
/* Ensure consistent font styling */
body, p, h1, h2, h3 {
font-family: "Montserrat", sans-serif;
}
/* =============================
HERO COVER BANNER
============================= */
.gbi-cover-area {
width: 100%;
position: relative;
overflow: hidden;
}
.gbi-cover-image {
width: 100%;
height: 380px; /* Final selected size */
object-fit: cover;
object-position: center;
background-color: #000;
border-bottom: 3px solid #002b7f;
}
/* =============================
PROFILE ON BANNER OVERLAY
============================= */
.gbi-banner-content {
position: absolute;
bottom: 35px;
left: 50px;
display: flex;
align-items: center;
gap: 25px;
}
.gbi-profile-on-banner {
width: 215px;
height: 260px;
object-fit: cover;
object-position: center;
border-radius: 12px;
border: 4px solid white;
box-shadow: 0px 8px 28px rgba(0,0,0,0.3);
}
/* =============================
TEXT OVER BANNER
============================= */
.gbi-name-banner {
font-size: 40px;
font-weight: 700;
color: #ffffff;
margin: 0;
line-height: 1.2;
text-shadow: 0px 4px 8px rgba(0,0,0,0.55);
}
.gbi-pronoun {
font-size: 18px;
opacity: 0.85;
}
.gbi-headline-banner {
font-size: 20px;
color: #ededed;
font-weight: 500;
margin-top: 6px;
text-shadow: 0px 3px 6px rgba(0,0,0,0.5);
}
/* =============================
MAIN CONTENT LAYOUT
============================= */
.gbi-container {
width: 92%;
margin: 40px auto 50px auto;
display: grid;
grid-template-columns: 65% 35%;
gap: 32px;
}
/* =============================
BIOGRAPHY LEFT
============================= */
.gbi-left {
font-size: 16px;
color: #333;
line-height: 1.7;
}
.gbi-left h2 {
font-size: 24px;
font-weight: 700;
color: #002b7f;
margin-bottom: 15px;
}
/* =============================
INFOBOX RIGHT
============================= */
.gbi-right {
width: 100%;
}
.infobox-gbi {
width: 100%;
background: #f8faff;
border-radius: 14px;
padding: 16px 14px;
border: 1px solid #d5e0f4;
}
.infobox-gbi th {
font-size: 15px;
font-weight: 700;
color: #002b7f;
text-align: left;
}
/* =============================
RESPONSIVE MOBILE SUPPORT
============================= */
@media(max-width: 920px) {
.gbi-banner-content {
left: 25px;
bottom: 20px;
flex-direction: column;
align-items: flex-start;
}
.gbi-profile-on-banner {
width: 180px;
height: 210px;
}
.gbi-name-banner {
font-size: 30px;
}
.gbi-headline-banner {
font-size: 17px;
}
.gbi-container {
grid-template-columns: 100%;
}
.gbi-right {
width: 100%;
}
}
@media(max-width: 600px) {
.gbi-cover-image {
height: 260px;
}
.gbi-profile-on-banner {
width: 150px;
height: 180px;
}
.gbi-name-banner {
font-size: 24px;
}
}
/* Remove MediaWiki forced thumbnail wrappers */
span.gbi-cover-image,
span.gbi-profile-on-banner,
div.gbi-cover-image,
div.gbi-profile-on-banner {
width: auto !important;
height: auto !important;
display: inline !important;
}