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
No edit summary
Tag: Reverted
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
:root.skin-citizen-dark {
:root.skin-citizen-dark {
     --font-family-citizen-base: 'Arial';
     --font-family-citizen-base: 'Arial';
    --font-family-citizen-serif: 'Arial';
    --font-family-citizen-monospace: 'Arial';
     --color-surface-0: #333333;
     --color-surface-0: #333333;
     --color-surface-1: #625447;
     --color-surface-1: #625447;
Line 11: Line 13:
     --border-color-base: #999999;
     --border-color-base: #999999;
}
}
:root.citizen-feature-custom-width-clientpref-full
a { color: #E59F2D; }
a { color: #E59F2D; }
a:visited { color: #E59F2D; }
a:visited { color: #E59F2D; }
Line 16: Line 21:
a:link { color: #E59F2D; }
a:link { color: #E59F2D; }
a:link.external { color: #E59F2D; }
a:link.external { color: #E59F2D; }
a.new { color: red; }


h1 {
h1 {
     border-bottom: 1px solid var(--border-color-base );
     border-bottom: 1px solid #999999 !important;
     padding-bottom: 0.25em;
     padding-bottom: 0.25em;
}
}
h2 {
h2 {
     border-bottom: 1px solid var(--border-color-base );
     border-bottom: 1px solid #999999 !important;
     padding-bottom: 0.25em;
     padding-bottom: 0.25em;
}
.mp-frame {
box-shadow: 0 0 .3em #999;
border-radius: .2em;
margin: 1em 0 2em 0;
padding: 1px;
}
.mp-frame:after {
display: block;
content: "";
clear: both;
}
.mp-frame-header {
background-color: #888;
border-radius: .2em;
color: #fff;
padding: .4em .8em .5em;
font-weight: bold;
}
.mp-frame-header:before {
display: inline-block;
/* Add some content in order to get normal line height, then make it transparent */
content: "x";
color: transparent;
width: 40px;
opacity: .7;
/* [[File:Wikidata-logo white.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg);
background-size: 27px;
background-repeat: no-repeat;
/* this sometimes gets automatically flipped and sometimes doesn't, so disable the automatic flipping */
/* @noflip */
background-position: left center;
}
.mw-content-rtl .mp-frame-header:before {
/* this sometimes gets automatically flipped and sometimes doesn't, so disable the automatic flipping */
/* @noflip */
background-position: right center;
}
.mp-frame-body {
padding: 1em;
}
}

Latest revision as of 12:29, 3 August 2025

#siteSub{ display: none !important; }

:root.skin-citizen-dark {
    --font-family-citizen-base: 'Arial';
    --font-family-citizen-serif: 'Arial';
    --font-family-citizen-monospace: 'Arial';
    --color-surface-0: #333333;
    --color-surface-1: #625447;
    --color-surface-2: #4d4d4d;
    --color-base: white;
    --color-base--emphasized: white;
    --color-base--subtle: #d2d2d2;
    --border-color-base: #999999;
}

:root.citizen-feature-custom-width-clientpref-full

a { color: #E59F2D; }
a:visited { color: #E59F2D; }
a:active { color: #E59F2D; }
a:link { color: #E59F2D; }
a:link.external { color: #E59F2D; }
a.new { color: red; }

h1 {
    border-bottom: 1px solid #999999 !important;
    padding-bottom: 0.25em;
}
h2 {
    border-bottom: 1px solid #999999 !important;
    padding-bottom: 0.25em;
}