MediaWiki:Citizen.css
MediaWiki interface page
More actions
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.
/* All CSS here will be loaded for users of the Citizen skin */
/* Full width content */
.mw-body,
#content,
.citizen-page-container,
.citizen-page__main {
max-width: 100% !important;
width: 100% !important;
}
/* Main container ko wide karo */
.citizen-body-container {
max-width: 100% !important;
padding-left: 32px !important;
padding-right: 32px !important;
}
/* Hero section ko full width allow karo */
.citizen-page-header {
max-width: 100% !important;
}
/* Agar koi inner container width limit kar raha ho */
.mw-parser-output {
max-width: 100% !important;
}
.citizen-main-menu{
display:flex;
align-items:center;
}
.citizen-main-menu .citizen-menu{
display:flex;
margin:0 20px 0 0;
}
.citizen-main-menu .citizen-menu__heading{
display:none;
}
.citizen-main-menu .citizen-menu ul{
display:flex;
flex-direction:row;
list-style:none;
margin:0;
padding:0;
gap:18px;
}
.citizen-main-menu .citizen-menu li{
margin:0;
}
.citizen-main-menu .citizen-menu a{
display:flex;
align-items:center;
gap:8px;
padding:8px 12px;
border-radius:8px;
}
/* Mobile Responsive Fix */
@media (max-width: 768px) {
/* Bottom navigation */
.mw-header {
position: fixed;
bottom: 0;
top: auto;
left: 0;
width: 100%;
height: 62px;
padding: 0;
z-index: 9999;
border-top: 1px solid #e5e7eb;
background: #fff;
display: flex;
align-items: center;
}
/* Page content above bottom nav */
.mw-body,
#content,
.citizen-body {
padding-bottom: 80px !important;
}
/* Hide top action buttons on mobile */
.page-actions,
.vector-page-tools,
.citizen-page-actions,
.mw-portlet-cactions,
.mw-portlet-views,
.mw-editsection,
.page-tools,
.citizen-page-heading__actions {
display: none !important;
}
/* Menu */
.citizen-main-menu {
display: flex;
flex: 1;
justify-content: space-evenly;
align-items: center;
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none;
}
.citizen-main-menu::-webkit-scrollbar {
display: none;
}
.citizen-main-menu .citizen-menu {
display: flex;
flex-direction: row;
gap: 24px;
}
.citizen-main-menu li {
flex: 0 0 auto;
list-style: none;
}
.citizen-main-menu a {
font-size: 14px;
font-weight: 600;
padding: 8px 0;
}
/* Logo */
.citizen-header__logo {
width: 60px;
flex: 0 0 60px;
justify-content: center;
}
}