MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
| mNo edit summary | mNo edit summary | ||
| (11 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
|     --color-surface-0: #1D1D1D; |     --color-surface-0: #1D1D1D; | ||
|     --background-color-base-fixed: #1D1D1D; |     --background-color-base-fixed: #1D1D1D; | ||
|     --color-surface-1: # |     --color-surface-1: #171C26; | ||
|     --color-link: #FFA500; |     --color-link: #FFA500; | ||
|     --color-subtle: #EDF4F5; |     --color-subtle: #EDF4F5; | ||
| Line 102: | Line 102: | ||
| .citizen-menu .mw-list-item a { | .citizen-menu .mw-list-item a { | ||
|     padding: var(--space-xxs) var(--space-md); |     padding: var(--space-xxs) var(--space-md); | ||
| ⚫ | |||
| ⚫ | |||
| .citizen-drawer__menu .citizen-menu__content-list li > a { | |||
| ⚫ | |||
| } | } | ||
| Line 126: | Line 128: | ||
| img.mw-logo-wordmark { | img.mw-logo-wordmark { | ||
| 	display: none; | 	display: none; | ||
| ⚫ | |||
| .citizen-ui-icon .mw-ui-icon-tray .mw-ui-icon-wikimedia-tray { | |||
| 	color: var(--color-inverted-primary); | |||
| } | |||
| .citizen-ui-icon .mw-ui-icon-bell .mw-ui-icon-wikimedia-bell { | |||
| 	color: var(--color-inverted-primary); | |||
| } | |||
| } | } | ||
Latest revision as of 10:14, 9 July 2025
:root {
    --color-surface-0: #1D1D1D;
    --background-color-base-fixed: #1D1D1D;
    --color-surface-1: #171C26;
    --color-link: #FFA500;
    --color-subtle: #EDF4F5;
}
    
:root.citizen-feature-custom-width-clientpref-standard {
    --width-layout: 100vw;
	}
@media screen and ( min-width: 1120px ) {
	:root {
        --fixed-menu-width: 240px;
    }
    .citizen-page-container {
        margin-left: calc( var( --header-size ) + var( --fixed-menu-width ) );
    }
    
    .citizen-drawer__button {
        display: none;
    }
    .citizen-dropdown .citizen-menu__card, .citizen-dropdown .citizen-menu__card .citizen-ui-icon {
    	content-visibility: visible;
    }
    .citizen-drawer__card {
        bottom: 0;
        z-index: -1 !important;
        margin-left: 1px;
        padding: 0;
        min-width: auto !important;
        width: var( --fixed-menu-width );
        max-height: none;
        border-right: 1px solid var( --border-color-base );
        border-radius: 0;
        background-color: var( --color-surface-0 );
        box-shadow: none;
    	opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        visibility: visible !important;
        left:56px;
        overflow-x:hidden;
        overflow-y:auto;
    }
    
    .citizen-drawer__card > * {
        opacity: 1 !important;
    }
	
    .citizen-drawer__header {
        padding-left: var( --space-xl );
        padding-right: var( --space-xl );
    }
    .citizen-drawer__logo {
        display: none;
    }
    .citizen-siteStats {
        font-size: 0.8125rem;
    }
    #citizen-siteStats__item--images,
    #citizen-siteStats__item--users {
        display: none;
    }
    
    .citizen-drawer__menu {
        padding-left: var( --space-xs );
        padding-right: var( --space-xs );
        grid-template-columns: 1fr;
    }
    .citizen-toc-enabled {
    	--width-page: calc(var(--width-layout) + var(--space-lg));
    }
}
.citizen-header ul {
    margin: 0;
    list-style: none;
    letter-spacing: 0.08rem;
    font-size: large;
}
.firstHeading {
    font-family: 'Agency Gothic CT';
    letter-spacing: 0.3rem;
    font-size: 3em;
    font-weight: bolder;
}
.citizen-drawer__menu {
    font-family: 'Agency Gothic CT';
    padding: 0;
    margin-bottom: 0;
}
.citizen-menu .mw-list-item a {
    padding: var(--space-xxs) var(--space-md);
}
.citizen-drawer__menu .citizen-menu__content-list li > a {
	color: var(--color-link) !important;
}
.page-actions > .mw-portlet li > a {
    padding: var(--space-xs) var(--space-md);
    font-family: 'Agency Gothic CT';
    letter-spacing: 0.13rem;
    font-weight: normal;
    font-size: 0.975rem;
}
.citizen-drawer__siteinfo {
    flex-direction: row;
    gap: var(--space-xs);
}
.citizen-drawer__siteinfo  .mw-logo-wordmark {
    font-size: 1.5rem;
    font-family: "Agency Gothic CT";
    font-weight: normal;
}
img.mw-logo-wordmark {
	display: none;
}