MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ---------------------------------------------------------- */
/* CUSTOM HEADER LOGO */
/* ---------------------------------------------------------- */
.mw-wiki-title,
.mw-logo-wordmark,
#p-logo-text {
display: none !important;
}
.mw-logo-wordmark {
display: block !important;
width: 220px;
height: 40px;
margin-top: 15px;
background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
background-repeat: no-repeat;
background-size: contain;
text-indent: -9999px;
overflow: hidden;
white-space: nowrap;
}
/* ---------------------------------------------------------- */
/* FOOTER BADGES (ConnexAbility + Powered by MediaWiki) */
/* ---------------------------------------------------------- */
/* Ensure footer icons sit in one row, aligned right */
#footer-icons {
display: flex !important;
justify-content: flex-end !important;
align-items: center !important;
flex-direction: row !important; /* NORMAL left→right order */
gap: 5px;
}
/* ConnexAbility Badge — placed BEFORE MediaWiki badge */
#footer-icons::before {
content: "";
display: inline-flex;
justify-content: center;
align-items: center;
width: 135px;
height: 45px; /* INCREASED HEIGHT */
background-image: url("/images/AConnexAbilityProject.svg");
background-size: 78% auto;
background-position: center;
background-repeat: no-repeat;
background-color: #fff;
border: 1px solid #a2a9b1;
border-radius: 4px;
padding: 8px 8px; /* reduced padding so logo stays centered */
box-sizing: border-box;
}
/* Make MediaWiki badge and ConnexAbility badge align perfectly */
#footer-poweredbyico a {
display: inline-flex !important;
align-items: center !important;
height: 45px !important; /* MATCH ConnexAbility box height */
padding: 8px 8px !important;
border: 1px solid #72777d !important;
border-radius: 4px !important;
background-color: #fff !important;
}
/* --- HERO SECTION CONTAINER --- */
.hero-container {
background: #ffffff;
padding: 60px 20px;
text-align: center;
border-radius: 6px;
margin-top: 10px;
}
/* --- TOP TRICOLOUR BORDER --- */
.flag-line {
height: 6px;
width: 100%;
background: linear-gradient(to right, #FF5722, #FFFFFF, #1B8E1B);
border-radius: 4px 4px 0 0;
margin-bottom: 35px;
}
/* --- TITLE --- */
.hero-title {
font-size: 42px;
font-weight: 700;
margin-bottom: 12px;
}
.brand-name {
color: #2a55e8;
}
/* --- SUBTITLE --- */
.hero-subtitle {
font-size: 20px;
font-style: italic;
color: #555;
margin-bottom: 18px;
}
/* --- ARTICLE COUNT --- */
.article-count {
font-size: 18px;
margin-bottom: 28px;
}
/* --- SEARCH BAR AREA --- */
.hero-search {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 10px;
}
.hero-input {
width: 380px;
padding: 12px;
border-radius: 6px;
border: 1px solid #ccc;
font-size: 15px;
}
.hero-button {
padding: 12px 22px;
background: #e0e0e0;
border: 1px solid #bdbdbd;
border-radius: 6px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
}