MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
/* Infobox fix */ | /* Infobox fix */ | ||
.infobox code { word-break: break-all; } | .infobox code { word-break: break-all; } | ||
/* PatrolLinks gadget */ | |||
.patrol-links #filetoc + #file { | |||
margin-top: 1.65em; | |||
} | |||
.patrol-links #mw-diff-otitle1:first-child, | |||
.patrol-links #mw-diff-ntitle1:first-child { | |||
margin-top: 1.6em; | |||
} | |||
.patrol-links #mw-diff-otitle4:last-child, | |||
.patrol-links #mw-diff-ntitle4:last-child { | |||
display: none; | |||
} | |||
/* Content tables */ | /* Content tables */ | ||
Line 41: | Line 54: | ||
.CategoryTreeToggle { | .CategoryTreeToggle { | ||
color: #080; | color: #080; | ||
} | } |
Revision as of 16:00, August 14, 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:not(.show) {
display: none !important;
}
/* Tabs fix */
.switch:first-child { margin-top: 28px; }
.mobile .switch:first-child { margin-top: 37px; }
.mobile.skin-timeless .switch:first-child { margin-top: 35.5px; }
.switchable > .switch:not(:first-of-type) { display: none; }
/* Infobox fix */
.infobox code { word-break: break-all; }
/* PatrolLinks gadget */
.patrol-links #filetoc + #file {
margin-top: 1.65em;
}
.patrol-links #mw-diff-otitle1:first-child,
.patrol-links #mw-diff-ntitle1:first-child {
margin-top: 1.6em;
}
.patrol-links #mw-diff-otitle4:last-child,
.patrol-links #mw-diff-ntitle4:last-child {
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;
}
/* CategoryTree */
.CategoryTreeToggle {
color: #080;
}