Toggle 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
No edit summary
No edit summary
 
(139 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */


@import url('https://fonts.googleapis.com/css?family=Fjalla+One');
/* Ensure all wikitables are centered */
@import url('https://fonts.googleapis.com/css?family=Raleway');
.wikitable,
body .mw-body .wikitable {
    margin-left: auto !important;
    margin-right: auto !important;
    display: table !important;
    box-sizing: border-box !important;
    border-collapse: separate !important;
}
 
/* Root Variables for Custom Colors */
:root {
    --myblueone: hsl(207, 45%, 8%); /*0B151D*/
    --mybluetwo: hsl(207, 44%, 12%); /*11202C*/
    --mybluetest: hsl(207, 44%, 14%); /*11202C*/
 
    /* The actual colors */
    --color-surface-0: var(--myblueone);
    --color-surface-1: var(--mybluetwo);
    --color-surface-2: var(--mybluetwo);
    --color-surface-3: var(--mybluetwo);
    --color-surface-4: var(--mybluetwo);
 
    /* Pink is the new black
    --color-primary__h: 209; */
}
 
/* Remove all box shadows */
* {
    box-shadow: none !important;
}
 
/* Set the background color, fully rounded borders, and specific border style of the edit box */
.skin-citizen .mw-editform #wpTextbox1 {
    background-color: var(--color-surface-2) !important;
    border-radius: 10px !important; /* Fully rounded borders */
    border: 2px solid #2C4663 !important; /* Set border to 2px and #2C4663 */
}


/*Hides help link*/
/* Set the same border style for the .editOptions element with margin */
.mw-htmlform-ooui-wrapper, #mw-indicator-mw-helplink {
.skin-citizen .mw-editform .editOptions {
  display:none;
    background-color: var(--color-surface-2) !important;
    border-radius: 10px !important; /* Fully rounded borders */
    border: 2px solid #2C4663 !important; /* Set border to 2px and #2C4663 */
    margin-top: 10px !important; /* Add margin to create space above */
}
}


/* Scrollbar styles for WebKit browsers */
::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}


/* All CSS here will be loaded for users of the Citizen skin */
::-webkit-scrollbar-track {
    background: var(--color-surface-1); /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded borders for the track */
}


.citizen-footer{background-color:var(--color-surface-2);clear:both;color:var(--color-base--subtle);direction:ltr;font-size:0.875rem}
::-webkit-scrollbar-thumb {
.citizen-footer__container{max-width:var(--width-layout--extended);margin-right:auto;margin-left:auto}
    background: #2C4663; /* Color of the scrollbar thumb */
.citizen-footer__content,
    border-radius: 10px; /* Rounded borders for the thumb */
.citizen-footer__bottom{display:flex;flex-wrap:wrap;padding:var(--space-md) 0;gap:var(--space-md)}
}
.citizen-footer__bottom{align-items:center;justify-content:space-between;border-top:1px solid var(--border-color-base);margin-right:auto;margin-left:auto}
 
.citizen-footer__siteinfo{display:flex;max-width:90ch;flex-direction:column;gap:var(--space-sm)}
::-webkit-scrollbar-thumb:hover {
.citizen-footer__siteinfo p{margin:0;line-height:var(--line-height)}
    background: #1A2A3A; /* Color of the scrollbar thumb on hover */
.citizen-footer a{color:var(--color-base--emphasized);font-weight:500}
}
.citizen-footer ul{display:flex;flex-wrap:wrap;margin:0}
.citizen-footer li{list-style:none}#footer-sitetitle{color:var(--color-base--emphasized);font-size:1.25rem}#footer-sitetitle img
.mw-logo-wordmark{width:auto;height:54px;filter:invert(1) hue-rotate(180deg)}#footer-places ul{flex-direction:row}#footer-places a{display:block;padding:var(--space-sm) var(--space-md);border-radius:var(--border-radius--small)}#footer-places a:hover{background-color:var(--background-color-quiet--hover)}#footer-places a:active{background-color:var(--background-color-quiet--active)}#footer-tagline{padding:10px 0}#footer-icons{display:flex}#footer-icons ul{gap:var(--space-sm)}#footer-icons li{display:flex}#footer-icons a{display:flex;align-items:center}

Latest revision as of 21:35, 14 November 2024

/* All CSS here will be loaded for users of the Citizen skin */

/* Ensure all wikitables are centered */
.wikitable,
body .mw-body .wikitable {
    margin-left: auto !important;
    margin-right: auto !important;
    display: table !important;
    box-sizing: border-box !important;
    border-collapse: separate !important;
}

/* Root Variables for Custom Colors */
:root {
    --myblueone: hsl(207, 45%, 8%); /*0B151D*/
    --mybluetwo: hsl(207, 44%, 12%); /*11202C*/
    --mybluetest: hsl(207, 44%, 14%); /*11202C*/

    /* The actual colors */
    --color-surface-0: var(--myblueone);
    --color-surface-1: var(--mybluetwo);
    --color-surface-2: var(--mybluetwo);
    --color-surface-3: var(--mybluetwo);
    --color-surface-4: var(--mybluetwo);

    /* Pink is the new black 
    --color-primary__h: 209; */
}

/* Remove all box shadows */
* {
    box-shadow: none !important;
}

/* Set the background color, fully rounded borders, and specific border style of the edit box */
.skin-citizen .mw-editform #wpTextbox1 {
    background-color: var(--color-surface-2) !important;
    border-radius: 10px !important; /* Fully rounded borders */
    border: 2px solid #2C4663 !important; /* Set border to 2px and #2C4663 */
}

/* Set the same border style for the .editOptions element with margin */
.skin-citizen .mw-editform .editOptions {
    background-color: var(--color-surface-2) !important;
    border-radius: 10px !important; /* Fully rounded borders */
    border: 2px solid #2C4663 !important; /* Set border to 2px and #2C4663 */
    margin-top: 10px !important; /* Add margin to create space above */
}

/* Scrollbar styles for WebKit browsers */
::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: var(--color-surface-1); /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded borders for the track */
}

::-webkit-scrollbar-thumb {
    background: #2C4663; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded borders for the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #1A2A3A; /* Color of the scrollbar thumb on hover */
}