MediaWiki:Common.css: Difference between revisions

Content deleted Content added
add horizontal list styles from https://www.mediawiki.org/wiki/Snippets/Horizontal_lists
of course we need both :rolleyes:
 
(13 intermediate revisions by the same user not shown)
Line 1:
/* 2024-03-27 - Stopgaps to hide most obvious Vector 2022 breakage */
.skin-vector .vector-main-menu-landmark,
.skin-vector .vector-sitenotice-container,
.skin-vector .vector-header-end,
.skin-vector .vector-page-titlebar,
.skin-vector .vector-page-toolbar {
display: none;
}
 
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
Line 39 ⟶ 48:
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
Line 73 ⟶ 81:
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
 
/* Sans-serif headings */
.mw-body .mw-heading1,
.mw-body h1,
.mw-body-content .mw-heading1,
.mw-body-content h1,
.mw-body-content .mw-heading2,
.mw-body-content h2 {
font-weightfamily: boldinherit;
}
 
/* Hide print/export tools in sidebar */
#p-coll-print_export {
display: none;
}
 
/* Hide "Mobile view" in footer - https://phabricator.wikimedia.org/T321520 */
#footer-places-mobileview {
display: none;
}
 
/* Screenreader only content */
.sr-only {
border: 0 !important;
clip: rect(1px, 1px, 1px, 1px) !important;
-webkit-clip-path: inset(50%) !important;
clip-path: inset(50%) !important;
height: 1px !important;
margin: -1px !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important;
white-space: nowrap !important;
}
 
/* Make files being on Commons more obvious */
.sharedUploadNotice {
font-size: large;
background: #fef6e7;
}