MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 54: | Line 54: | ||
/* Maintenance templates */ | /* Maintenance templates */ | ||
.notice-template.maintenance { | .notice-template.maintenance { | ||
border-radius: 4px !important; | |||
border-image-slice: 8 !important; | border-image-slice: 8 !important; | ||
border-image-width: 8px !important; | border-image-width: 8px !important; | ||
border-image-source: url(https://mario.wiki.gallery/images/notice-border.svg) !important; | border-image-source: url(https://mario.wiki.gallery/images/notice-border.svg) !important; | ||
} | } |
Revision as of 18:04, April 10, 2021
/* CSS placed here will be applied to all skins on both desktop and mobile
The "mobile" body class can be used to target mobile specifically */
body.anon.ns-content.action-view.mobile #stub,
body.anon.ns-content.action-view .notice-template:not(.show) {
display: none !important;
}
body.anon.ns-content.action-view:not(.mobile) .notice-template.show {
margin-top: 0 !important;
}
/* SiteNotice */
#localNotice a.external {
padding: 0 !important;
background: none !important;
}
/* Special:Preferences */
#mw-htmlform-mobile .oo-ui-inline-help {
display: none;
}
/* Galleries */
.gallery.center {
margin-left: auto !important;
margin-right: auto !important;
}
.gallery.centertext .gallerytext {
text-align: center !important;
}
/* Horizontal rule */
hr { overflow: hidden; }
/* Watchlist expiry (icon fix) */
.oo-ui-icon-clock, .mw-ui-icon-clock::before {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclock%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1010 10A10 10 0 0010 0zm2.5 14.5L9 11V4h2v6l3 3z%22/%3E%3C/svg%3E");
}
.mw-changesList-watchlistExpiry.oo-ui-iconElement-icon {
height: 13px;
min-height: 13px;
position: relative;
top: -1px;
opacity: 0.51;
}
/* Root category */
body.page-Category_Super_Mario_Wiki.action-view #mw-subcategories h3:last-of-type,
body.page-Category_Super_Mario_Wiki.action-view #mw-subcategories ul:last-of-type,
body.page-Category_Super_Mario_Wiki.action-view #catlinks {
display: none;
}
/* Maintenance templates */
.notice-template.maintenance {
border-radius: 4px !important;
border-image-slice: 8 !important;
border-image-width: 8px !important;
border-image-source: url(https://mario.wiki.gallery/images/notice-border.svg) !important;
}