MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
/* ---------------------------------------------------------- */ | /* ---------------------------------------------------------- */ | ||
#footer-icons { | #footer-icons { | ||
display: flex !important; | display: flex !important; | ||
justify-content: flex-end !important; | justify-content: flex-end !important; | ||
align-items: center !important; | align-items: center !important; | ||
flex-direction: row !important; | flex-direction: row !important; | ||
gap: 5px; | gap: 5px; | ||
} | } | ||
#footer-icons::before { | #footer-icons::before { | ||
content: ""; | content: ""; | ||
| Line 41: | Line 39: | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
width: 135px; | |||
width: 135px; | height: 45px; | ||
height: 45px; | |||
background-image: url("/images/AConnexAbilityProject.svg"); | background-image: url("/images/AConnexAbilityProject.svg"); | ||
background-size: 78% auto; | background-size: 78% auto; | ||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-color: #fff; | background-color: #fff; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-radius: 4px; | border-radius: 4px; | ||
padding: 8px 8px; | |||
padding: 8px 8px; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
#footer-poweredbyico a { | #footer-poweredbyico a { | ||
display: inline-flex !important; | display: inline-flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
height: 45px !important; | height: 45px !important; | ||
padding: 8px 8px !important; | padding: 8px 8px !important; | ||
border: 1px solid #72777d !important; | border: 1px solid #72777d !important; | ||
| Line 69: | Line 61: | ||
background-color: #fff !important; | background-color: #fff !important; | ||
} | } | ||
/* =============================== */ | /* =============================== */ | ||
/* MAIN PAGE SPACING FIX */ | /* MAIN PAGE SPACING FIX */ | ||
/* =============================== */ | /* =============================== */ | ||
body.page-Main_Page .mw-body, | body.page-Main_Page .mw-body, | ||
body.page-Main_Page #content { | body.page-Main_Page #content { | ||
| Line 80: | Line 72: | ||
} | } | ||
body.page-Main_Page .mw-body-content { | body.page-Main_Page .mw-body-content { | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
| Line 87: | Line 78: | ||
/* HERO SECTION */ | /* HERO SECTION */ | ||
.bw-hero { | .bw-hero { | ||
padding: 60px 30px; | padding: 60px 30px; | ||
text-align: center; | text-align: center; | ||
background: white; | background: white; | ||
border-top: 4px solid transparent; | border-top: 4px solid transparent; | ||
border-image: linear-gradient(to right, | border-image: linear-gradient(to right, #FF9933, white, #138808) 1; | ||
border-radius: 8px 8px 0 0; | border-radius: 8px 8px 0 0; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
} | } | ||
.bw-welcome { | .bw-welcome { | ||
font-size: 48px; | font-size: 48px; | ||
| Line 109: | Line 92: | ||
margin: 0 0 10px 0 !important; | margin: 0 0 10px 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
| Line 116: | Line 99: | ||
} | } | ||
.bw-tagline { | .bw-tagline { | ||
font-size: 18px; | font-size: 18px; | ||
| Line 123: | Line 105: | ||
} | } | ||
.bw-search-form { | .bw-search-form { | ||
display: inline-flex; | display: inline-flex; | ||
| Line 150: | Line 131: | ||
background: #0847b0; | background: #0847b0; | ||
} | } | ||
/* =============================== */ | |||
/* BIOGRAPHY INFOBOX (IMPROVED) */ | |||
/* =============================== */ | |||
.bio-box { | .bio-box { | ||
float: right; | float: right; | ||
width: | width: 340px; /* increased to match screenshot */ | ||
background: #ffffff; | |||
border: 1px solid #d0d7de; | |||
border-radius: 6px; | |||
margin-left: 20px; | margin-left: 20px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
background: # | padding: 0; /* remove padding to match screenshot */ | ||
overflow: hidden; | |||
} | |||
/* BLUE NAME HEADER */ | |||
.bio-header { | |||
background: #e8f0fe; | |||
color: #111; | |||
font-size: 20px; | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 10px; | padding: 10px; | ||
border-bottom: 1px solid #d0d7de; | |||
} | } | ||
/* VERIFIED BADGE */ | |||
.verified-badge { | |||
vertical-align: middle; | |||
margin-left: 6px; | |||
} | |||
/* IMAGE */ | |||
.bio-img { | .bio-img { | ||
text-align: center; | text-align: center; | ||
padding: 10px; | |||
} | } | ||
.bio-caption { | .bio-caption { | ||
font-size: | font-size: 12px; | ||
color: #444; | |||
margin-top: | margin-top: 4px; | ||
font-style: italic; | |||
} | } | ||
/* INFO TABLE */ | |||
.bio-table { | .bio-table { | ||
width: 100%; | width: 100%; | ||
| Line 184: | Line 185: | ||
.bio-table th { | .bio-table th { | ||
background: #f5f7ff; | |||
width: 35%; | width: 35%; | ||
padding: 6px; | padding: 6px; | ||
font-weight: bold; | font-weight: bold; | ||
border-bottom: 1px solid #e5e5e5; | |||
} | } | ||
.bio-table td { | .bio-table td { | ||
padding: 6px; | padding: 6px; | ||
border-bottom: 1px solid #e5e5e5; | |||
} | } | ||