13,673
edits
No edit summary |
mNo edit summary |
||
(130 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 "dark" and "mobile" body classes can be used to target different scenarios */ | The "dark" and "mobile" body classes can be used to target different scenarios */ | ||
.useronly, .autoconfonly { display: none; } | .mw-special-Upload .noupload, .useronly, | ||
.autoconfonly, .editprotected, .editinterface { | |||
display: none; | |||
} | |||
body.anon #rc-welcome, | |||
body.anon.ns-content.action-view.mobile #stub, | body.anon.ns-content.action-view.mobile #stub, | ||
body.anon.ns-content.action-view .noticebox:not(.show), | body.anon.ns-content.action-view .noticebox:not(.show), | ||
body.anon.ns-content.action-view #mw-hidden-catlinks:nth-of-type(2), | |||
body.anon .navbox .plainlinksneverexpand > * { | body.anon .navbox .plainlinksneverexpand > * { | ||
display: none !important; | 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 { | body.anon.ns-content.action-view.desktop .noticebox.show { | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
} | } | ||
/* Tabs fix */ | /* Tabs fix */ | ||
.mobile .tabbox > .tab { margin-bottom: 6px; } | .mobile .tabbox > .tab { margin-bottom: 6px; } | ||
.infobox .tabbox > .tab { margin-bottom: | .infobox .tabbox > .tab { margin-bottom: 13px; } | ||
.mobile .infobox .tabbox > .tab { margin-bottom: | .mobile .infobox .tabbox > .tab { margin-bottom: 11px; } | ||
.tabbox > .tab { margin-bottom: | .tabbox > .tab { margin-bottom: 11.75px; font-weight: bold; } | ||
.infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 9px; } | .infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 9px; } | ||
.mobile .infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 5.5px; } | .mobile .infobox.tabbed > .tabcontainer > .tabbox > .tab { margin-bottom: 5.5px; } | ||
.infobox .tabbox:not(:first-of-type), .client-js .tabbox:not(:first-of-type) { display: none; } | |||
.tabcontainer { | .tabcontainer { | ||
top: -2px; | top: -2px; | ||
Line 142: | Line 40: | ||
.infobox .tabcontainer { padding: 0; margin-bottom: 0; } | .infobox .tabcontainer { padding: 0; margin-bottom: 0; } | ||
.infobox:not(.tabbed) .tabcontainer { top: 0; } | .infobox:not(.tabbed) .tabcontainer { top: 0; } | ||
/* Site news */ | |||
#community-news p { margin: 0 !important; } | |||
#community-news #more-news { display: none !important; } | |||
/* Wiki tables */ | |||
.wikitable td { background: #f8f9fa; } | |||
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 */ | /* User profile */ | ||
Line 152: | Line 66: | ||
margin-right: 4px; | margin-right: 4px; | ||
} | } | ||
.user-section-heading { clear: both; } | .user-section-heading { | ||
clear: both; | |||
} | |||
.page-nav { | |||
line-height: 1.8; | |||
} | } | ||
/* Edit profile */ | /* Edit profile */ | ||
Line 186: | Line 99: | ||
/* Infoboxes */ | /* Infoboxes */ | ||
.infobox:not(.tabbed) { border-radius: 0 0 10px 10px; } | .infobox:not(.tabbed) { | ||
. | border-radius: 0 0 10px 10px; | ||
} | |||
body.mediawiki .infoboxlabel a, | |||
body.mediawiki .infoboxheading a, | |||
body.mediawiki .infoboxsubheading a { | |||
color: inherit !important; | |||
} | |||
.infoboxspan { | |||
padding: 0 2px; | |||
} | |||
.infoboxmedia { | |||
text-align: center; | |||
} | |||
.infoboxlabel { | |||
font-weight: bold; | |||
} | |||
.infoboxlabel, .infoboxcell { | |||
line-height: 14px; | |||
vertical-align: top; | |||
padding: 0 2px 0 4px; | |||
} | |||
.infoboxspan, .infoboxmedia, | |||
.infoboxlabel, .infoboxcell { | |||
border-top: 1px solid #999; | |||
border-bottom: 1px solid #999; | |||
} | |||
.infoboxfooter { | |||
line-height: 8px; | |||
text-align: center; | |||
} | } | ||
Line 212: | Line 152: | ||
body.desktop .infobox .mw-gallery-slideshow > .gallerybox:first-of-type { | body.desktop .infobox .mw-gallery-slideshow > .gallerybox:first-of-type { | ||
height: 285px; | height: 285px; | ||
} | |||
/* 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; | |||
} | } |