MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.gbi- | /* ======================================================= | ||
GLOBAL BIO INDEX — PROFILE SYSTEM STYLESHEET | |||
Author: ChatGPT | Version: Final Clean Build | |||
======================================================= */ | |||
/* Default font fixes if overridden by skin */ | |||
body, p, h1, h2, h3 { | |||
font-family: Montserrat, sans-serif; | |||
} | |||
/* ===================== | |||
HERO COVER IMAGE | |||
===================== */ | |||
.gbi-cover-area { | |||
width: 100%; | |||
position: relative; | |||
} | |||
.gbi-cover-image { | |||
width: 100%; | width: 100%; | ||
height: | height: 380px; | ||
object-fit: cover; | object-fit: cover; | ||
object-position: center; | |||
background-color: #000; | |||
border-bottom: 3px solid #002b7f; | |||
} | } | ||
.gbi-profile- | |||
width: | /* ===================== | ||
height: | HEADER OVERLAY | ||
===================== */ | |||
.gbi-banner-content { | |||
position: absolute; | |||
bottom: 40px; | |||
left: 50px; | |||
display: flex; | |||
align-items: center; | |||
gap: 25px; | |||
} | |||
.gbi-profile-on-banner { | |||
width: 220px; | |||
height: 280px; | |||
object-fit: cover; | object-fit: cover; | ||
object-position: center; | |||
border-radius: 12px; | border-radius: 12px; | ||
border:4px solid | border: 4px solid #fff; | ||
box-shadow: 0 8px | box-shadow: 0px 8px 25px rgba(0,0,0,0.25); | ||
} | |||
.gbi-name-banner { | |||
font-size: 38px; | |||
font-weight: 700; | |||
color: #FFFFFF; | |||
text-shadow: 0 3px 6px rgba(0,0,0,0.45); | |||
margin: 0; | |||
} | |||
.gbi-pronoun { | |||
font-size: 18px; | |||
opacity: 0.85; | |||
} | |||
.gbi-headline-banner { | |||
font-size: 20px; | |||
font-weight: 500; | |||
color: #EDEDED; | |||
margin-top: 8px; | |||
text-shadow: 0 3px 6px rgba(0,0,0,0.45); | |||
} | |||
/* ===================== | |||
LAYOUT GRID | |||
===================== */ | |||
.gbi-container { | |||
width: 92%; | |||
margin: 20px auto 60px auto; | |||
display: grid; | |||
grid-template-columns: 65% 35%; | |||
gap: 28px; | |||
} | |||
/* ===================== | |||
LEFT BIO SECTION | |||
===================== */ | |||
.gbi-left { | |||
font-size: 16px; | |||
color: #333; | |||
line-height: 1.7; | |||
} | |||
/* ===================== | |||
RIGHT INFOBOX | |||
===================== */ | |||
.gbi-right { | |||
display: flex; | |||
justify-content: flex-start; | |||
} | } | ||
.infobox-gbi { | .infobox-gbi { | ||
width:100%; | width: 100%; | ||
background: | background: #f7faff; | ||
border-radius: | border-radius: 14px; | ||
padding: | border: 1px solid #d5e0f4; | ||
padding: 16px; | |||
font-size: | font-size: 14px; | ||
} | |||
.infobox-gbi th { | |||
font-size: 16px; | |||
color: #002b7f; | |||
text-align: left; | |||
} | |||
/* ===================== | |||
RESPONSIVE FIXES | |||
===================== */ | |||
@media (max-width:900px) { | |||
.gbi-banner-content { | |||
flex-direction: column; | |||
align-items: flex-start; | |||
bottom: 25px; | |||
left: 25px; | |||
} | |||
.gbi-name-banner { | |||
font-size: 28px; | |||
} | |||
.gbi-headline-banner { | |||
font-size: 16px; | |||
} | |||
} | |||
@media(max-width:700px) { | |||
.gbi-container { | |||
grid-template-columns: 100%; | |||
} | |||
.gbi-right { | |||
width: 100%; | |||
} | |||
.gbi-profile-on-banner { | |||
width: 160px; | |||
height: 200px; | |||
} | |||
} | } | ||
Revision as of 14:46, 25 November 2025
/* =======================================================
GLOBAL BIO INDEX — PROFILE SYSTEM STYLESHEET
Author: ChatGPT | Version: Final Clean Build
======================================================= */
/* Default font fixes if overridden by skin */
body, p, h1, h2, h3 {
font-family: Montserrat, sans-serif;
}
/* =====================
HERO COVER IMAGE
===================== */
.gbi-cover-area {
width: 100%;
position: relative;
}
.gbi-cover-image {
width: 100%;
height: 380px;
object-fit: cover;
object-position: center;
background-color: #000;
border-bottom: 3px solid #002b7f;
}
/* =====================
HEADER OVERLAY
===================== */
.gbi-banner-content {
position: absolute;
bottom: 40px;
left: 50px;
display: flex;
align-items: center;
gap: 25px;
}
.gbi-profile-on-banner {
width: 220px;
height: 280px;
object-fit: cover;
object-position: center;
border-radius: 12px;
border: 4px solid #fff;
box-shadow: 0px 8px 25px rgba(0,0,0,0.25);
}
.gbi-name-banner {
font-size: 38px;
font-weight: 700;
color: #FFFFFF;
text-shadow: 0 3px 6px rgba(0,0,0,0.45);
margin: 0;
}
.gbi-pronoun {
font-size: 18px;
opacity: 0.85;
}
.gbi-headline-banner {
font-size: 20px;
font-weight: 500;
color: #EDEDED;
margin-top: 8px;
text-shadow: 0 3px 6px rgba(0,0,0,0.45);
}
/* =====================
LAYOUT GRID
===================== */
.gbi-container {
width: 92%;
margin: 20px auto 60px auto;
display: grid;
grid-template-columns: 65% 35%;
gap: 28px;
}
/* =====================
LEFT BIO SECTION
===================== */
.gbi-left {
font-size: 16px;
color: #333;
line-height: 1.7;
}
/* =====================
RIGHT INFOBOX
===================== */
.gbi-right {
display: flex;
justify-content: flex-start;
}
.infobox-gbi {
width: 100%;
background: #f7faff;
border-radius: 14px;
border: 1px solid #d5e0f4;
padding: 16px;
font-size: 14px;
}
.infobox-gbi th {
font-size: 16px;
color: #002b7f;
text-align: left;
}
/* =====================
RESPONSIVE FIXES
===================== */
@media (max-width:900px) {
.gbi-banner-content {
flex-direction: column;
align-items: flex-start;
bottom: 25px;
left: 25px;
}
.gbi-name-banner {
font-size: 28px;
}
.gbi-headline-banner {
font-size: 16px;
}
}
@media(max-width:700px) {
.gbi-container {
grid-template-columns: 100%;
}
.gbi-right {
width: 100%;
}
.gbi-profile-on-banner {
width: 160px;
height: 200px;
}
}