MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
mNo edit summary |
||
(31 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
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 244: | Line 48: | ||
/* Wiki tables */ | /* Wiki tables */ | ||
body.mediawiki .wikitable th a { | .wikitable td { background: #f8f9fa; } | ||
body.mediawiki .wikitable th a { color: inherit !important; } | |||
} | |||
/* Subpage lists */ | /* Subpage lists */ | ||
Line 267: | Line 70: | ||
.user-section-heading { | .user-section-heading { | ||
clear: both; | clear: both; | ||
} | |||
.page-nav { | |||
line-height: 1.8; | |||
} | } | ||
/* Edit profile */ | /* Edit profile */ | ||
Line 302: | Line 108: | ||
body.mediawiki .infoboxsubheading a { | body.mediawiki .infoboxsubheading a { | ||
color: inherit !important; | color: inherit !important; | ||
} | |||
.infoboxspan { | |||
padding: 0 2px; | |||
} | } | ||
.infoboxmedia { | .infoboxmedia { | ||
Line 312: | Line 121: | ||
line-height: 14px; | line-height: 14px; | ||
vertical-align: top; | vertical-align: top; | ||
padding: 0 2px 0 4px; | |||
} | |||
.infoboxspan, .infoboxmedia, | |||
.infoboxlabel, .infoboxcell { | |||
border-top: 1px solid #999; | border-top: 1px solid #999; | ||
border-bottom: 1px solid #999; | border-bottom: 1px solid #999; | ||
} | } | ||
.infoboxfooter { | .infoboxfooter { | ||
line-height: 8px; | line-height: 8px; | ||
text-align: center; | text-align: center; | ||
} | |||
/* Halo infoboxes */ | |||
div.infobox { | |||
background: #F2F3F4; | |||
border: 1px solid #999; | |||
} | } | ||
.infobox .details-table .mw-collapsible-text { | .infobox .details-table .mw-collapsible-text { | ||
Line 376: | Line 194: | ||
.mp-welcome-logged-in h3, | .mp-welcome-logged-in h3, | ||
.mp-welcome-logged-in .cleared { | .mp-welcome-logged-in .cleared { | ||
display: none; | |||
} | |||
/* Upload licenses */ | |||
.mw-htmlform-field-Licenses, .mw-upload-editlicenses { | |||
display: none; | display: none; | ||
} | } |
Revision as of 10:08, March 22, 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,
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:not(.page-Template_VDE) .vde,
body.page-Main_Page:not(.skin-onyx):not(.skin-requiem) .mw-indicators,
body.anon.ns-content.action-view .halopedia-template-error {
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: 5.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 */
.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 */
.profile-icon {
width: 22px;
height: 22px;
background-size: 22px;
display: inline-block;
vertical-align: middle;
margin-right: 4px;
}
.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: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;
}
/* Halo infoboxes */
div.infobox {
background: #F2F3F4;
border: 1px solid #999;
}
.infobox .details-table .mw-collapsible-text {
color: inherit !important;
}
.infobox .details-table .mw-collapsible-toggle {
min-width: 3.6em;
text-align: right;
padding-right: 0.45em;
}
.infobox .details-table.mw-made-collapsible tr:first-child th {
padding-left: 4.1em;
}
.dark:not(.skin-minerva) .infobox .details-table tr:first-child th {
background: #222 !important;
}
/* Infobox galleries */
.infobox .mw-gallery-slideshow-buttons {
padding: 0 0 10px !important;
}
.infobox .mw-gallery-slideshow-img-container {
min-height: 249px;
}
.infobox .mw-gallery-slideshow-caption,
.infobox .gallerytext, .infobox .gallerytext p {
margin: 0 !important;
padding: 0 !important;
}
.mobile .infobox .mw-gallery-slideshow .thumb > div {
margin-top: 0 !important;
margin-bottom: 3px !important;
}
.mobile .infobox .mw-gallery-slideshow .gallerybox + .gallerybox {
display: inline-block !important;
}
.mobile .infobox .mw-gallery-slideshow .gallerybox {
width: 91px !important;
}
body.desktop .infobox .mw-gallery-slideshow > .gallerybox:first-of-type {
height: 285px;
}
/* Spoiler fix */
.client-js .spoiler-hidden .spoiler-content {
filter: blur(15px);
}
/* No user levels */
#points-level {
color: #fff;
font-weight: bold;
}
.mp-welcome-logged-in p {
margin-top: 0;
}
.mp-welcome-logged-in h3,
.mp-welcome-logged-in .cleared {
display: none;
}
/* Upload licenses */
.mw-htmlform-field-Licenses, .mw-upload-editlicenses {
display: none;
}
/* Special:WikiForum */
table.mw-wikiforum-frame {
background: #fff;
border: 0;
border-spacing: 0 !important;
}
#txtSearch {
width: 85%;
border: 0 !important;
}
td.mw-wikiforum-title,
tr.mw-wikiforum-marked {
background: #fff;
}
tr.mw-wikiforum-sticky td.mw-wikiforum-title,
tr.mw-wikiforum-sticky {
background: #f5faff;
}
td.mw-wikiforum-title,
th.mw-wikiforum-title,
td.mw-wikiforum-admin,
th.mw-wikiforum-admin,
td.mw-wikiforum-value,
th.mw-wikiforum-value,
td.mw-wikiforum-lastpost,
th.mw-wikiforum-lastpost {
border-color: #ccc;
}
th.mw-wikiforum-thread-top {
border: 1px solid #ccc;
background: #cedff2;
}
td.mw-wikiforum-thread-main {
padding: 0 10px;
border: 1px solid #ccc;
background: #f5faff;
}
td.mw-wikiforum-thread-sub {
border: 1px solid #ccc;
background: #fff;
}
.mw-wikiforum-thread-sub blockquote {
font-size: 12px;
padding: 0 10px 4px !important;
margin-left: 0;
margin-bottom: 10px;
}
.mw-wikiforum-thread-sub blockquote p:last-of-type {
margin-bottom: 0;
}
.mw-wikiforum-thread-sub blockquote p.posted {
margin-bottom: 6px !important;
}
.wikiforum-avatar-image + .mw-parser-output > blockquote {
margin-right: 90px;
}
.mw-wikiforum-thread-sub blockquote > blockquote > blockquote > blockquote {
display: none;
}
td.mw-wikiforum-thread-main .mw-parser-output,
td.mw-wikiforum-thread-sub .mw-parser-output {
margin-top: 12px;
}
table.mw-wikiforum-posted {
margin-top: 10px;
}
td.mw-wikiforum-thread-main,
td.mw-wikiforum-thread-sub {
word-wrap: normal;
word-break: break-word;
}
.wikiforum-avatar-image {
padding: 2px 0 3px 5px;
}
td.mw-wikiforum-rightside a:hover {
text-decoration: none;
}
#writereply #wpTextbox1 {
height: 11.5em !important;
}