MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ============================================= | ||
Global Bio Index - FilmFreeway Style Profile | |||
============================================= */ | |||
/* | /* Reset page container margin from Citizen skin */ | ||
body | .mw-body { | ||
max-width: 1300px !important; | |||
margin: 0 auto; | |||
} | } | ||
/* ----------------------- | |||
/* | HERO BANNER | ||
HERO | ------------------------ */ | ||
.gbi-cover-area { | .gbi-cover-area { | ||
width: 100%; | width: 100%; | ||
height: 350px; | |||
background: linear-gradient(135deg, #1e3c72, #2a5298); | |||
border-radius: 12px; | |||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
margin-bottom: 70px; | |||
display: flex; | |||
align-items: flex-end; | |||
padding-left: 180px; | |||
} | } | ||
.gbi-cover- | |||
/* Placeholder text positioning */ | |||
.gbi-cover-placeholder { | |||
width: 100%; | width: 100%; | ||
height: | height: 100%; | ||
opacity: 0.15; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
font-weight: 600; | |||
font-size: 20px; | |||
color: #fff; | |||
} | } | ||
/* ----------------------- | |||
/* | PROFILE IMAGE OVERLAY | ||
PROFILE | ------------------------ */ | ||
.gbi-profile-placeholder { | |||
.gbi- | |||
position: absolute; | position: absolute; | ||
bottom: | bottom: -60px; | ||
left: | left: 40px; | ||
width: 150px; | |||
height: 150px; | |||
background: #d9e1f2; | |||
border-radius: 50%; | |||
border: 6px solid #ffffff; | |||
box-shadow: 0 4px 25px rgba(0,0,0,0.2); | |||
} | } | ||
/* ----------------------- | |||
TEXT ON COVER | |||
------------------------ */ | |||
.gbi-banner-text { | |||
position: relative; | |||
color: #ffffff; | |||
margin-bottom: 25px; | |||
} | } | ||
.gbi-name-banner { | .gbi-name-banner { | ||
font-size: | margin: 0; | ||
font-size: 36px; | |||
font-weight: 700; | font-weight: 700; | ||
text-shadow: 0px 3px 6px rgba(0,0,0,0.35); | |||
text-shadow: 0px | |||
} | } | ||
.gbi-headline-banner { | .gbi-headline-banner { | ||
margin-top: 8px; | |||
font-weight: 500; | font-weight: 500; | ||
font-size: 18px; | |||
opacity: 0.95; | |||
} | } | ||
.gbi-pronoun { | |||
font-size: 17px; | |||
font-weight: 400; | |||
opacity: 0.85; | |||
} | |||
/* | /* ----------------------- | ||
MAIN | MAIN LAYOUT | ||
------------------------ */ | |||
.gbi-container { | .gbi-container { | ||
margin-top: 40px; | |||
margin: 40px | |||
display: grid; | display: grid; | ||
grid-template-columns: 65% | grid-template-columns: 65% 32%; | ||
gap: | gap: 3%; | ||
} | } | ||
/* Left (Bio) */ | |||
/* | |||
.gbi-left h2 { | .gbi-left h2 { | ||
color: #002b7f; | |||
font-weight: 700; | font-weight: 700; | ||
font-size: 26px; | |||
margin-bottom: | margin-bottom: 12px; | ||
} | } | ||
/* Right (Info Card) */ | |||
/* | |||
.infobox-gbi { | .infobox-gbi { | ||
background: #ffffff; | |||
background: # | border-radius: 18px; | ||
border-radius: | padding: 22px; | ||
padding: | border: 1px solid #dbe4f4; | ||
border: 1px solid # | box-shadow: 0 0 40px rgba(0,0,0,0.04); | ||
} | } | ||
/* Infobox heading */ | |||
.infobox-gbi th { | .infobox-gbi th { | ||
font-size: | color: #002b7f !important; | ||
font-weight: 700; | font-size: 20px !important; | ||
font-weight: 700 !important; | |||
text-align: center !important; | |||
padding-bottom: 10px; | |||
} | } | ||
/* Table text */ | |||
.infobox-gbi td, | |||
.infobox-gbi th { | |||
font-size: 15px !important; | |||
padding: 6px 2px; | |||
} | |||
/* | /* ----------------------- | ||
RESPONSIVE | MOBILE RESPONSIVE | ||
------------------------ */ | |||
@media(max-width: | @media(max-width: 850px) { | ||
.gbi-cover-area { | |||
.gbi- | padding-left: 140px; | ||
left: | height: 260px; | ||
height: | |||
} | } | ||
.gbi-name-banner { | .gbi-name-banner { | ||
font-size: | font-size: 28px; | ||
} | } | ||
.gbi-container { | .gbi-container { | ||
grid-template-columns: 100%; | grid-template-columns: 100%; | ||
} | } | ||
.gbi-profile-placeholder { | |||
.gbi- | width: 120px; | ||
width: | height: 120px; | ||
bottom: -45px; | |||
left: 20px; | |||
} | } | ||
} | } | ||
Revision as of 15:40, 25 November 2025
/* =============================================
Global Bio Index - FilmFreeway Style Profile
============================================= */
/* Reset page container margin from Citizen skin */
.mw-body {
max-width: 1300px !important;
margin: 0 auto;
}
/* -----------------------
HERO BANNER
------------------------ */
.gbi-cover-area {
width: 100%;
height: 350px;
background: linear-gradient(135deg, #1e3c72, #2a5298);
border-radius: 12px;
position: relative;
overflow: hidden;
margin-bottom: 70px;
display: flex;
align-items: flex-end;
padding-left: 180px;
}
/* Placeholder text positioning */
.gbi-cover-placeholder {
width: 100%;
height: 100%;
opacity: 0.15;
display: flex;
justify-content: center;
align-items: center;
font-weight: 600;
font-size: 20px;
color: #fff;
}
/* -----------------------
PROFILE IMAGE OVERLAY
------------------------ */
.gbi-profile-placeholder {
position: absolute;
bottom: -60px;
left: 40px;
width: 150px;
height: 150px;
background: #d9e1f2;
border-radius: 50%;
border: 6px solid #ffffff;
box-shadow: 0 4px 25px rgba(0,0,0,0.2);
}
/* -----------------------
TEXT ON COVER
------------------------ */
.gbi-banner-text {
position: relative;
color: #ffffff;
margin-bottom: 25px;
}
.gbi-name-banner {
margin: 0;
font-size: 36px;
font-weight: 700;
text-shadow: 0px 3px 6px rgba(0,0,0,0.35);
}
.gbi-headline-banner {
margin-top: 8px;
font-weight: 500;
font-size: 18px;
opacity: 0.95;
}
.gbi-pronoun {
font-size: 17px;
font-weight: 400;
opacity: 0.85;
}
/* -----------------------
MAIN LAYOUT
------------------------ */
.gbi-container {
margin-top: 40px;
display: grid;
grid-template-columns: 65% 32%;
gap: 3%;
}
/* Left (Bio) */
.gbi-left h2 {
color: #002b7f;
font-weight: 700;
font-size: 26px;
margin-bottom: 12px;
}
/* Right (Info Card) */
.infobox-gbi {
background: #ffffff;
border-radius: 18px;
padding: 22px;
border: 1px solid #dbe4f4;
box-shadow: 0 0 40px rgba(0,0,0,0.04);
}
/* Infobox heading */
.infobox-gbi th {
color: #002b7f !important;
font-size: 20px !important;
font-weight: 700 !important;
text-align: center !important;
padding-bottom: 10px;
}
/* Table text */
.infobox-gbi td,
.infobox-gbi th {
font-size: 15px !important;
padding: 6px 2px;
}
/* -----------------------
MOBILE RESPONSIVE
------------------------ */
@media(max-width: 850px) {
.gbi-cover-area {
padding-left: 140px;
height: 260px;
}
.gbi-name-banner {
font-size: 28px;
}
.gbi-container {
grid-template-columns: 100%;
}
.gbi-profile-placeholder {
width: 120px;
height: 120px;
bottom: -45px;
left: 20px;
}
}