MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
From Destinypedia, the Destiny wiki
mNo edit summary |
mNo edit summary |
||
Line 66: | Line 66: | ||
vertical-align: middle; | vertical-align: middle; | ||
margin-right: 4px; | margin-right: 4px; | ||
} | |||
.user-gift-container img, .ga-item img { | |||
background: #f9f9f9; | |||
} | } | ||
.user-section-heading { | .user-section-heading { |
Latest revision as of 14:49, November 4, 2024
/* CSS placed here will be applied to all skins on both desktop and mobile.
The "dark" and "mobile" body classes can be used to target different scenarios */
.mw-special-Upload .noupload, .useronly,
.autoconfonly, .editprotected, .editinterface {
display: none;
}
body.anon #rc-welcome,
body.anon.ns-content.action-view.mobile #stub:not(:only-child),
body.anon.ns-content.action-view .noticebox:not(.show):not(:only-child),
body.anon.ns-content.action-view #mw-hidden-catlinks:nth-of-type(2),
body.anon .navbox .plainlinksneverexpand > * {
display: none !important;
}
body.anon.ns-content.action-view .tabcontainer .noticebox:not(.show) {
display: inherit !important;
}
body.anon.ns-content.action-view.desktop .noticebox.show {
margin-top: 0 !important;
}
/* Tabs fix */
.mobile .tabbox > .tab { margin-bottom: 6px; }
.infobox .tabbox > .tab { margin-bottom: 13px; }
.mobile .infobox .tabbox > .tab { margin-bottom: 11px; }
.tabbox > .tab { margin-bottom: 11.75px; font-weight: bold; }
.infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 9px; }
.mobile .infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 6.5px; }
.infobox .tabbox:not(:first-of-type), .client-js .tabbox:not(:first-of-type) { display: none; }
.tabcontainer {
top: -2px;
z-index: 5;
clear: both;
position: relative;
background-color: #f9f9f9;
border: 1px solid #aaa;
padding: 5px 10px;
margin-bottom: 5px;
}
.infobox .tabcontainer { padding: 0; margin-bottom: 0; }
.infobox:not(.tabbed) .tabcontainer { top: 0; }
/* Site news */
#community-news p { margin: 0 !important; }
#community-news #more-news { display: none !important; }
/* Wiki tables */
.scrollbox > .wikitable:first-child { margin-top: 0; }
.scrollbox > .wikitable:last-child { margin-bottom: 0; }
body.mediawiki .wikitable th a { color: inherit !important; }
/* Subpage lists */
.mw-editnotice-notext .mw-prefixindex-list {
font-size: 90%;
list-style: none;
column-width: 300px;
margin-bottom: 10px;
}
/* User profile */
.profile-icon {
width: 22px;
height: 22px;
background-size: 22px;
display: inline-block;
vertical-align: middle;
margin-right: 4px;
}
.user-gift-container img, .ga-item img {
background: #f9f9f9;
}
.user-section-heading {
clear: both;
}
.page-nav {
line-height: 1.8;
}
/* Edit profile */
.profile-tab-on, .profile-tab-on a {
font-size: 100% !important;
font-weight: bold !important;
}
#mw-content-text > .profile-on:first-child {
padding: 10px;
}
body.mw-special-UpdateProfile .firstHeading,
body.mw-special-UploadAvatar .firstHeading {
display: block;
}
body.mw-special-UpdateProfile #mw-content-text h1,
body.mw-special-UploadAvatar #mw-content-text h1 {
display: none;
}
/* Social headings */
.ns-2.action-view.rootpage .pagetitle, .ns-200.action-view.rootpage .pagetitle, .ns-202.action-view.rootpage .pagetitle,
.ns-2.action-view.rootpage .firstHeading, .ns-200.action-view.rootpage .firstHeading, .ns-202.action-view.rootpage .firstHeading,
.ns-2.action-view.rootpage .page-heading, .ns-200.action-view.rootpage .page-heading, .ns-202.action-view.rootpage .page-heading,
.ns-2.action-view.rootpage .subtitle, .ns-200.action-view.rootpage .subtitle, .ns-202.action-view.rootpage .subtitle,
.ns-2.action-view.rootpage #siteSub, .ns-200.action-view.rootpage #siteSub, .ns-202.action-view.rootpage #siteSub,
.ns-2.action-view.rootpage #contentSub, .ns-200.action-view.rootpage #contentSub, .ns-202.action-view.rootpage #contentSub {
display: none !important;
}
/* Infoboxes */
.infobox p {
margin: 0.6em 0 !important;
}
.infobox p:has(+ ul) {
margin-bottom: 0 !important;
}
.infoboxcell ul {
margin-top: 0.3em !important;
margin-bottom: 0.3em !important;
}
.infobox:not(.tabbed) {
border-radius: 0 0 10px 10px;
}
.infobox.tabbed .infobox.tabbed {
float: none !important;
margin: 0 !important;
}
body.mediawiki .infoboxlabel a,
body.mediawiki .infoboxheading a,
body.mediawiki .infoboxsubheading a {
color: inherit !important;
}
.infoboxspan {
line-height: 14px;
padding: 0 4px !important;
}
.infoboxmedia {
text-align: center;
}
.infoboxlabel {
font-weight: bold;
padding: 0 2px 0 4px !important;
}
.infoboxcell {
padding: 0 4px !important;
}
.infoboxlabel, .infoboxcell {
line-height: 14px;
vertical-align: top;
}
.infoboxspan, .infoboxmedia,
.infoboxlabel, .infoboxcell {
border-top: 1px solid #999;
border-bottom: 1px solid #999;
}
.infoboxfooter {
line-height: 8px;
text-align: center;
}
/* Light.gg interwiki icon */
.mw-parser-output a.extiw[title^="lightgg:"] {
background: url(https://destiny.wiki.gallery/images/thumb/d/d7/Lightdotgg.png/10px-Lightdotgg.png) center right no-repeat;
padding-right: 12px;
}