Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 22:02, 21 July 2026 by Admin (talk | contribs)

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 Navigation Fix */
@media (max-width: 768px) {

.citizen-main-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.citizen-main-menu::-webkit-scrollbar {
    display: none;
}

.citizen-main-menu .citizen-menu__item {
    flex: 0 0 auto;
    min-width: 90px;
}

.citizen-main-menu .citizen-menu__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
}

.citizen-main-menu .citizen-ui-icon {
    font-size: 20px;
}

}