MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
mNo edit summary |
||
(40 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins on both desktop and mobile | /* 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 | The "mobile" body class can be used to target mobile specifically */ | ||
.mw-wiki-logo { background-size: 150px; } | |||
.mw-special-Upload .noupload, .useronly, | .mw-special-Upload .noupload, .useronly, | ||
Line 6: | Line 8: | ||
display: none; | display: none; | ||
} | } | ||
body.anon.ns-content.action-view.mobile #bodyContent .pikipediaBox:not(.show) { | body.anon.ns-content.action-view.mobile #bodyContent .pikipediaBox.hide, | ||
body.anon.ns-content.action-view.mobile #mf-section-0 .pikipediaBox:not(.show) { | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Tabs fix */ | ||
.client-js .switch:first-child { margin-top: 28.15px; } | |||
.client-js .mobile .switch:first-child { margin-top: 37px; } | |||
.client-js .mobile.skin-timeless .switch:first-child { margin-top: 29.3px; } | |||
} | .switchable > .switch:not(:first-of-type) { display: none; } | ||
/* | /* Infobox fix */ | ||
.infobox code { word-break: break-all; } | |||
} | |||
/* | /* Patrolling gadgets */ | ||
. | .client-js .patrol-links #filetoc + #file { | ||
margin- | margin-top: 1.65em; | ||
} | } | ||
. | .client-js .patrol-links #mw-diff-otitle1:first-child, | ||
.client-js .patrol-links #mw-diff-ntitle1:first-child { | |||
margin-top: 1.6em; | |||
} | } | ||
.client-js .patrol-links #mw-diff-otitle4:last-child, | |||
.client-js .patrol-links #mw-diff-ntitle4:last-child { | |||
.mw- | |||
display: none; | display: none; | ||
} | } | ||
. | .client-js .rc-popular .rcoptions form:last-child { | ||
margin-bottom: 1.6em; | |||
. | |||
. | |||
} | } | ||
/* | /* Upload licenses */ | ||
.mw-htmlform-field-Licenses, .mw-upload-editlicenses { | |||
.mw- | |||
display: none; | display: none; | ||
} | } | ||
/* Content tables */ | /* Content tables */ | ||
Line 204: | Line 52: | ||
.technicaltable { | .technicaltable { | ||
min-width: 380px; | min-width: 380px; | ||
} | |||
/* Forum */ | |||
.forumheader { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
} | } |
Revision as of 19:53, November 12, 2023
/* 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 */
.mw-wiki-logo { background-size: 150px; }
.mw-special-Upload .noupload, .useronly,
.autoconfonly, .editprotected, .editinterface {
display: none;
}
body.anon.ns-content.action-view.mobile #bodyContent .pikipediaBox.hide,
body.anon.ns-content.action-view.mobile #mf-section-0 .pikipediaBox:not(.show) {
display: none !important;
}
/* Tabs fix */
.client-js .switch:first-child { margin-top: 28.15px; }
.client-js .mobile .switch:first-child { margin-top: 37px; }
.client-js .mobile.skin-timeless .switch:first-child { margin-top: 29.3px; }
.switchable > .switch:not(:first-of-type) { display: none; }
/* Infobox fix */
.infobox code { word-break: break-all; }
/* Patrolling gadgets */
.client-js .patrol-links #filetoc + #file {
margin-top: 1.65em;
}
.client-js .patrol-links #mw-diff-otitle1:first-child,
.client-js .patrol-links #mw-diff-ntitle1:first-child {
margin-top: 1.6em;
}
.client-js .patrol-links #mw-diff-otitle4:last-child,
.client-js .patrol-links #mw-diff-ntitle4:last-child {
display: none;
}
.client-js .rc-popular .rcoptions form:last-child {
margin-bottom: 1.6em;
}
/* Upload licenses */
.mw-htmlform-field-Licenses, .mw-upload-editlicenses {
display: none;
}
/* Content tables */
.hiddentable .mw-collapsible-toggle,
.technicaltable .mw-collapsible-toggle {
text-align: right;
min-width: 3.25em;
margin-left: 0 !important;
}
.technicaltable {
min-width: 380px;
}
/* Forum */
.forumheader {
border: 1px solid #aaa;
background-color: #f9f9f9;
}