MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
(43 intermediate revisions by the same user not shown)
Line 20: Line 20:
/* Tabs fix */
/* Tabs fix */
.tabber { display: inline-block; }
.tabber { display: inline-block; }
.tabbertab:not(:first-of-type) { display: none; }
.tabbertab:first-child { padding: 5px; }
.infobox .tabbertab:first-child { padding: 5px 0 0; }
.infobox .tabbertab:first-child { padding: 5px 0 0; }
.tabbertab:first-child { padding: 5px; margin-top: 22px; }
.client-js .tabbertab:first-child { margin-top: 22px; }
.mw-parser-output > .tabber, section > .tabber { display: table; margin-bottom: 0.5em; }
.client-js .tabbertab:not(:first-of-type) { display: none; }
.mw-parser-output > .tabber, section > .tabber { display: block; width: max-content; margin-bottom: 0.5em; }
.mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; }
.mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; }
.mobile.skin-timeless .tabbertab:first-child { margin-top: 36px; }
.client-js .mobile .tabbertab:first-child { margin-top: 27px; }
.mobile .tabbertab:first-child { margin-top: 32px; }
.client-nojs .tabbertab + .tabbertab { margin-top: 2.5px; }
.tabbertab > p:first-child { margin-top: 0.2em; }
.tabbertab > p:first-child { margin-top: 0.2em; }
.tabbertab > p:last-child { margin-bottom: 0; }
.tabbertab > p:last-child { margin-bottom: 0; }


/* Pixelated gallery/interface image upscaling */
/* Show/hide toggle */
ul.gallery:not(.smooth) img, table.listfiles img,
.mw-collapsible-toggle {
table.searchResultImage img, table.filehistory img {
font-weight: bold;
image-rendering: crisp-edges;
image-rendering: pixelated;
}
}
 
.infobox .mw-collapsible-toggle {
/* Root category */
min-width: 41px;
body.page-Category_Super_Mario_Wiki.action-view #catlinks,
text-align: right;
body.page-Category_Super_Mario_Wiki.action-view #mw-subcategories .mw-category-group:last-of-type {
}
display: none;
.infobox th a.mw-collapsible-text {
color: inherit !important;
}
.infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) {
padding-left: 45px !important;
}
table:not(.wikitable) .mw-collapsible-toggle {
padding-right: 0.3em;
}
}


/* Infobox templates */
/* Infobox templates */
.infobox,
.infobox-wide {
.infobox-wide {
width: 100%;
border-spacing: 0;
}
.infobox, .infobox-wide {
color: #000;
color: #000;
padding: 4px;
border: 1px solid;
border: 1px solid;
}
}
.infobox audio + br {
.infobox th a, .infobox-wide th a {
color: inherit !important;
}
.infobox audio + br,
.infobox .mw-tmh-player.audio + br {
content: '';
content: '';
display: block;
display: block;
margin-top: 3px;
margin-top: 3px;
}
}
.infobox td > audio:first-child {
.infobox td > audio:first-child,
.infobox td > .mw-tmh-player.audio:first-child {
margin-top: 2px;
margin-top: 2px;
}
}
.infobox th a.mw-collapsible-text {
.infobox div[style*="column"] br + a {
color: inherit !important;
display: inline-block;
}
.infobox .mw-made-collapsible > tbody > tr > th:not([style*="text-align"]) {
padding-left: 43px !important;
}
}
.infobox > tbody > tr > td:first-of-type:not(:last-of-type) {
.infobox > tbody > tr > td:first-of-type:not(:last-of-type) {
Line 114: Line 126:
.notice-template.maintenance#delete a:not(.new) {
.notice-template.maintenance#delete a:not(.new) {
color: yellow;
color: yellow;
}
/* List of games */
.games {
background: silver;
border: 1px solid #000;
margin-bottom: 7px;
}
.games tbody tr {
background: #fff;
}
.client-nojs .games tr:first-of-type th {
background: silver;
}
}


Line 137: Line 136:
}
}


/* DK tables */
/* Donkey Kong tables */
table.dktable,
table.wikitable.dk { color: #000; }
table.dktable-brown {
table.wikitable.dk > * > tr > * { border-color: #000; }
color: #000;
table.wikitable.dk > * > tr > th { background-color: #BB8855; }
background: #fff;
table.wikitable.dk > * > tr:not([bgcolor]):nth-child(even) { background: wheat; }
border: 1pt solid #000;
table.wikitable.dk > * > tr:not([bgcolor]):nth-child(odd) { background: #FFF8DC; }
border-collapse: collapse;
margin: 1em 0;
}
table.dktable > * > tr > td,
table.dktable > * > tr > th,
table.dktable-brown > * > tr > td,
table.dktable-brown > * > tr > th {
border: 1pt solid #000;
padding: 0.2em 0.4em;
}
table.dktable-brown > * > tr > th {
background: #BB8855;
}
table.dktable-brown > * > tr:nth-child(odd) > td {
background: #FFF8DC;
}
table.dktable-brown > * > tr:nth-child(even) > td {
background: wheat;
}


/* Fake headings */
/* Fake headings */