MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
(Created page with "→All CSS here will be loaded for users of the Citizen skin: .col-2 { display: flex; flex-wrap: wrap; } .col-2 > * { flex: 1 1 50%; }") |
mNo edit summary |
||
(6 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 */ | ||
@media screen { | |||
:root { | |||
--color-surface-0: #f3f1e9; | |||
} | |||
} | |||
/** Container columns **/ | |||
.col-2 { | .col-2 { | ||
display: flex; | display: flex; | ||
Line 7: | Line 14: | ||
.col-2 > * { | .col-2 > * { | ||
flex: 1 1 50%; | flex: 1 1 50%; | ||
} | |||
/** Content columns **/ | |||
.columns-2 { | |||
column-count: 2; | |||
column-gap: 1.5em; | |||
} | |||
.columns-3 { | |||
column-count: 3; | |||
column-gap: 1.5em; | |||
} | |||
@media (max-width: 650px) { | |||
.columns-2.columns--only-wide, .columns-3.columns--only-wide { | |||
column-count: 1; | |||
} | |||
} | |||
/* Media */ | |||
img.banner, a.image > img.banner { | |||
display: block; | |||
max-width: 100%; | |||
width: auto; | |||
} | |||
/** Forms **/ | |||
input.mw-htmlform-submit { | |||
cursor: pointer; | |||
font-size: 1.15em; | |||
padding: .5em 1em; | |||
} | |||
/** Footer **/ | |||
#footer-bottom { | |||
display: none; | |||
} | } |
Latest revision as of 19:34, 8 May 2024
/* All CSS here will be loaded for users of the Citizen skin */ @media screen { :root { --color-surface-0: #f3f1e9; } } /** Container columns **/ .col-2 { display: flex; flex-wrap: wrap; } .col-2 > * { flex: 1 1 50%; } /** Content columns **/ .columns-2 { column-count: 2; column-gap: 1.5em; } .columns-3 { column-count: 3; column-gap: 1.5em; } @media (max-width: 650px) { .columns-2.columns--only-wide, .columns-3.columns--only-wide { column-count: 1; } } /* Media */ img.banner, a.image > img.banner { display: block; max-width: 100%; width: auto; } /** Forms **/ input.mw-htmlform-submit { cursor: pointer; font-size: 1.15em; padding: .5em 1em; } /** Footer **/ #footer-bottom { display: none; }