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: Difference between revisions

MediaWiki interface page
Content deleted Content added
m 1 revision imported: New Files
m Update CSS
Line 1: Line 1:
@media screen and ( min-width: 1300px ) {
@media screen and ( min-width: 1300px ) {
:root {
--fixed-menu-width: 240px;
}
.citizen-page-container {
.citizen-page-container {
/* Reserve space for drawer */
margin-left: calc( var( --header-size ) + var( --fixed-menu-width ) );
margin-left: calc( var( --header-size ) + var( --fixed-menu-width ) );
}
}
.citizen-drawer__button {
.citizen-drawer__button {
/* Hide drawer button */
display: none;
display: none;
}
}
Line 16: Line 10:
.citizen-drawer__card {
.citizen-drawer__card {
bottom: 0;
bottom: 0;
/* Put drawer behind other header cards */
z-index: -1;
z-index: -1;
margin: 0;
/* Compensate header border */
margin-left: 1px;
margin-left: 1px;
padding: 0;
padding: 0;
Line 29: Line 20:
background-color: #1D1D1D;
background-color: #1D1D1D;
box-shadow: none;
box-shadow: none;
/* Force drawer to show */
opacity: 1;
opacity: 1 !important;
pointer-events: auto;
pointer-events: auto !important;
transform: none;
transform: none !important;
visibility: visible;
visibility: visible !important;
left:60px;
left:60px;
}
}
.citizen-drawer__card > * {
.citizen-drawer__card > * {
opacity: 1;
/* Force drawer content to show */
opacity: 1 !important;
background-color: #1D1D1D;
background-color: #1D1D1D;
}
}
Line 49: Line 38:


.citizen-drawer__logo {
.citizen-drawer__logo {
/* Hide drawer header logo */
display: none;
display: none;
}

.citizen-drawer__siteinfo .mw-logo-wordmark {
font-size: 1.25rem;
}
}


Line 63: Line 47:
#citizen-siteStats__item--images,
#citizen-siteStats__item--images,
#citizen-siteStats__item--users {
#citizen-siteStats__item--users {
/* Hide image and user stats to make space */
display: none;
display: none;
}
}
Line 73: Line 56:
}
}
}
}

.thumbinner > a:not(.image) {
.citizen-header ul {
padding: 0 !important;
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';
font-size: larger;
}

.citizen-menu .mw-list-item a {
padding: var(--space-xxs) var(--space-md);
}

.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;
}
}

Revision as of 16:00, 28 March 2024

@media screen and ( min-width: 1300px ) {
    .citizen-page-container {
        margin-left: calc( var( --header-size ) + var( --fixed-menu-width ) );
    }
    
    .citizen-drawer__button {
        display: none;
    }
    
    .citizen-drawer__card {
        bottom: 0;
        z-index: -1;
        margin-left: 1px;
        padding: 0;
        min-width: auto;
        width: var( --fixed-menu-width );
        max-height: none;
        border-right: 1px solid var( --border-color-base );
        border-radius: 0;
        background-color: #1D1D1D;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
        left:60px;
    }
    
    .citizen-drawer__card > * {
        opacity: 1;
        background-color: #1D1D1D;
    }

    .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-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';
    font-size: larger;
}

.citizen-menu .mw-list-item a {
    padding: var(--space-xxs) var(--space-md);
}

.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;
}
🍪 We use cookies to keep session information to provide you a better experience.