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