Jump to navigation
Jump to search
(fixes to external favicons) |
(resync from https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=1163124087) |
||
(94 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* / | * / | ||
/* | /* | ||
* This is the CSS common to all desktop skins on en.Wikipedia. | |||
* Styling inside .mw-parser-output should generally use TemplateStyles. | |||
*/ | |||
/* Reset italic styling set by user agent */ | |||
cite, | |||
dfn { | |||
font-style: inherit; | |||
} | } | ||
/* Straight quote marks for <q> */ | |||
q { | |||
quotes: '"' '"' "'" "'"; | |||
} | } | ||
/* Avoid collision of blockquote with floating elements by swapping margin and padding */ | |||
blockquote { | |||
overflow: hidden; | |||
margin: 1em 0; | |||
padding: 0 40px; | |||
} | } | ||
/* | /* Consistent size for <small>, <sub> and <sup> */ | ||
small { | |||
font-size: 85%; | |||
} | } | ||
.mw-body-content sub, | |||
.mw-body-content sup { | |||
font-size: 80%; | |||
} | } | ||
/* | /* Same spacing for indented and unindented paragraphs on talk pages */ | ||
.ns-talk .mw-body-content dd { | |||
margin-top: 0.4em; | |||
margin-bottom: 0.4em; | |||
} | } | ||
/* | /* Reduce page jumps by hiding collapsed/dismissed content */ | ||
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child), | |||
/* Avoid FOUC/reflows on collapsed elements. */ | |||
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */ | |||
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */ | |||
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */ | |||
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p, | |||
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table, | |||
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody, | |||
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ), | |||
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content, | |||
/* Hide charinsert base for those not using the gadget */ | |||
#editpage-specialchars { | |||
display: none; | |||
} | } | ||
/* | /* Make the list of references smaller | ||
* Keep in sync with Template:Refbegin/styles.css | |||
* And Template:Reflist/styles.css | |||
*/ | |||
ol.references { | |||
font-size: 90%; | |||
margin-bottom: 0.5em; | |||
} | } | ||
/* | /* Cite customizations for Parsoid | ||
span | * Once everything uses the one true parser these are just customizations | ||
*/ | |||
span[ rel="mw:referencedBy" ] { | |||
counter-reset: mw-ref-linkback 0; | |||
} | } | ||
span[ rel='mw:referencedBy' ] > a::before { | |||
content: counter( mw-ref-linkback, lower-alpha ); | |||
font-size: 80%; | |||
font-weight: bold; | |||
font-style: italic; | |||
} | } | ||
a[ rel="mw:referencedBy" ]::before { | |||
font-weight: bold; | |||
content: "^"; | |||
} | } | ||
span[ rel="mw:referencedBy" ]::before { | |||
content: "^ "; | |||
} | } | ||
. | |||
.mw-ref > a[data-mw-group=lower-alpha]::after { | |||
content: '[' counter( mw-Ref, lower-alpha ) ']'; | |||
} | } | ||
. | |||
.mw-ref > a[data-mw-group=upper-alpha]::after { | |||
content: '[' counter( mw-Ref, upper-alpha ) ']'; | |||
} | } | ||
. | |||
.mw-ref > a[data-mw-group=decimal]::after { | |||
content: '[' counter( mw-Ref, decimal ) ']'; | |||
} | } | ||
. | |||
.mw-ref > a[data-mw-group=lower-roman]::after { | |||
content: '[' counter( mw-Ref, lower-roman ) ']'; | |||
} | } | ||
. | |||
.mw-ref > a[data-mw-group=upper-roman]::after { | |||
content: '[' counter( mw-Ref, upper-roman ) ']'; | |||
} | } | ||
. | |||
.mw-ref > a[data-mw-group=lower-greek]::after { | |||
content: '[' counter( mw-Ref, lower-greek ) ']'; | |||
} | } | ||
. | |||
/* Styling for jQuery makeCollapsible, matching that of collapseButton */ | |||
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) { | |||
font-weight: normal; | |||
padding-right: 0.2em; | |||
padding-left: 0.2em; | |||
} | } | ||
. | |||
.mw-collapsible-leftside-toggle .mw-collapsible-toggle { | |||
/* @noflip */ | |||
float: left; | |||
} | } | ||
/* Lists in wikitable data cells are always left-aligned */ | |||
.wikitable td ul, | .wikitable td ul, | ||
.wikitable td ol, | .wikitable td ol, | ||
.wikitable td dl { | .wikitable td dl { | ||
/* @noflip */ | |||
text-align: left; | |||
} | } | ||
/* | /* Change the external link icon to a PDF icon for all PDF files */ | ||
.mw-parser-output a[href$=".pdf"].external, | |||
.mw-parser-output a[href*=".pdf?"].external, | |||
* | .mw-parser-output a[href*=".pdf#"].external, | ||
.mw-parser-output a[href$=".PDF"].external, | |||
.mw-parser-output a[href*=".PDF?"].external, | |||
.mw-parser-output a[href*=".PDF#"].external { | |||
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right; | |||
/* @noflip */ | |||
padding: 8px 18px 8px 0; | |||
} | } | ||
/* | /* System messages styled similarly to fmbox */ | ||
/* for .mw-warning-with-logexcerpt, behavior of this line differs between | |||
* the edit-protected notice and the special:Contribs for blocked users | |||
* The latter has specificity of 3 classes so we have to triple up here. | |||
*/ | |||
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt, | |||
/* | |||
div.mw-lag-warn-high, | div.mw-lag-warn-high, | ||
div.mw-cascadeprotectedwarning, | div.mw-cascadeprotectedwarning, | ||
div#mw-protect-cascadeon { | div#mw-protect-cascadeon { | ||
clear: both; | |||
margin: 0.2em 0; | |||
border: 1px solid #bb7070; | |||
background-color: #ffdbdb; | |||
padding: 0.25em 0.9em; | |||
box-sizing: border-box; | |||
} | } | ||
/* | |||
/* default colors for partial block message */ | |||
/* gotta get over the hump introduced by the triple class above */ | |||
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt { | |||
border-color: #fc3; | |||
background-color: #fef6e7; | |||
} | } | ||
/* Minimum thumb width */ | /* Minimum thumb width */ | ||
figure[typeof~='mw:File/Thumb'], | |||
figure[typeof~='mw:File/Frame'], | |||
.thumbinner { | .thumbinner { | ||
min-width: 100px; | |||
} | } | ||
/* Prevent floating boxes from overlapping any category listings, | /* Prevent floating boxes from overlapping any category listings, | ||
file histories, edit previews, and edit [Show changes] views */ | file histories, edit previews, and edit [Show changes] views. */ | ||
#mw-subcategories, #mw-pages, #mw-category-media, | #mw-subcategories, | ||
#filehistory, #wikiPreview, #wikiDiff { | #mw-pages, | ||
#mw-category-media, | |||
#filehistory, | |||
#wikiPreview, | |||
#wikiDiff { | |||
clear: both; | |||
} | } | ||
/* Styling for tags in changes pages */ | |||
/* Styling for | |||
.mw-tag-markers { | .mw-tag-markers { | ||
font-style: italic; | |||
font-size: 90%; | |||
} | } | ||
/* | /* Hide stuff meant for accounts with special permissions. Made visible again in | ||
[[ | [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]], | ||
. | [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]], | ||
. | [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]], | ||
[[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */ | |||
.checkuser-show, | |||
.sysop-show, | |||
.abusefilter-show, | |||
.abusefilter-helper-show, | |||
.patroller-show, | |||
.templateeditor-show, | |||
.extendedmover-show, | |||
.extendedconfirmed-show, | |||
.autoconfirmed-show, | |||
.user-show { | |||
display: none; | |||
} | } | ||
/* | /* Hide the redlink generated by {{Editnotice}}, | ||
[[ | this overrides the ".sysop-show { display: none; }" above that applies | ||
to the same link as well. See [[phab:T45013]] | |||
Hide the images in editnotices to keep them readable in VE view. | |||
Long term, editnotices should become a core feature so that they can be designed responsive. */ | |||
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink, | |||
.ve-ui-mwNoticesPopupTool-item .mbox-image, | |||
.ve-ui-mwNoticesPopupTool-item .mbox-imageright { | |||
display: none !important; | |||
} | } | ||
/* Remove bullets when there are multiple edit page warnings */ | /* Remove bullets when there are multiple edit page warnings */ | ||
ul.permissions-errors { | ul.permissions-errors { | ||
margin: 0; | |||
} | } | ||
ul.permissions-errors > li { | |||
list-style: none; | |||
} | } | ||
/* | /* larger inline math */ | ||
. | span.mwe-math-mathml-inline { | ||
font-size: 118%; | |||
} | } | ||
* | |||
/* Make <math display="block"> be left aligned with one space indent for | |||
* compatibility with style conventions | |||
*/ | |||
.mwe-math-fallback-image-display, | |||
.mwe-math-mathml-display { | |||
margin-left: 1.6em !important; | |||
margin-top: 0.6em; | |||
margin-bottom: 0.6em; | |||
} | } | ||
.mwe-math-mathml-display math { | |||
display: inline; | |||
} | } | ||
/* | @media screen { | ||
. | /* Put a chequered background behind images, only visible if they have transparency, | ||
. | * except on main, user, and portal namespaces | ||
*/ | |||
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img { | |||
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; | |||
} | |||
# | /* Display "From Wikipedia, the free encyclopedia" in skins that support it, | ||
do not apply to print mode */ | |||
#siteSub { | |||
display: block; | |||
} | |||
} | } | ||
/* | /* Hide FlaggedRevs notice UI when there are no pending changes */ | ||
. | .flaggedrevs_draft_synced, | ||
.flaggedrevs_stable_synced, | |||
/* "Temporary" to remove links in sidebar T255381 */ | |||
#t-upload, | |||
/* Hide broken download box on Special:Book pending T285400 */ | |||
.mw-special-Book #coll-downloadbox { | |||
display: none; | |||
} | } | ||
. | /* | ||
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS; | |||
* SEE [[MediaWiki talk:Common.css/to do]] | |||
margin: 0; | */ | ||
padding: 0; | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | } | ||
. | .infobox-header, | ||
.infobox-label, | |||
.infobox-above, | |||
.infobox-full-data, | |||
.infobox-data, | |||
.infobox-below, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-navbar, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | } | ||
/* | .infobox-label, | ||
. | .infobox-data, | ||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
/* @noflip */ | |||
text-align: left; | |||
} | } | ||
/* | /* Remove .infobox when element selectors above are removed */ | ||
. | .infobox .infobox-above, | ||
.infobox .infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
- | .infobox caption { | ||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
} | } | ||
. | |||
.infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
padding: 0.2em; | |||
} | } | ||
. | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-header, | |||
.infobox .infobox-subheader, | |||
.infobox .infobox-image, | |||
.infobox .infobox-full-data, | |||
.infobox .infobox-below { | |||
text-align: center; | |||
} | } | ||
. | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-navbar { | |||
/* @noflip */ | |||
text-align: right; | |||
} | } | ||
/* | |||
. | /* Normal font styling for wikitable row headers with scope="row" tag */ | ||
.wikitable.plainrowheaders th[scope=row], | |||
.wikitable.plainrowheaders th[scope=rowgroup] { | |||
font-weight: normal; | |||
/* @noflip */ | |||
text-align: left; | |||
} | } | ||
/* | /* Remove underlines from certain links */ | ||
. | .nounderlines a, | ||
.IPA a:link, | |||
.IPA a:visited { | |||
text-decoration: none !important; | |||
} | } | ||
/* Prevent line breaks in silly places where desired (nowrap) | |||
and links when we don't want them to (nowraplinks a) */ | |||
.nowrap, | |||
.nowraplinks a { | |||
white-space: nowrap; | |||
. | |||
. | |||
} | } | ||
/* | /* But allow wrapping where desired: */ | ||
. | .wrap, | ||
.wraplinks a { | |||
white-space: normal; | |||
} | } | ||
/* | /* texhtml class for inline math (based on generic times-serif class) */ | ||
. | span.texhtml { | ||
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; | |||
font-size: 118%; | |||
font- | |||
line-height: 1; | line-height: 1; | ||
white-space: nowrap; | |||
/* Force tabular and lining display for texhtml */ | |||
font-variant-numeric: lining-nums tabular-nums; | |||
font-kerning: none; | |||
} | } | ||
. | span.texhtml span.texhtml { | ||
font-size: | font-size: 100%; | ||
} | } | ||
. | @media screen { | ||
.nochecker .gallerybox .thumb img { | |||
background-image: none; | |||
} | |||
} | } | ||
/* | /* Put anything you mean to be a sitewide addition above the TemplateStyles | ||
. | * comment above. | ||
{ | */ | ||
/* | |||
* END COPIED FROM WIKIPEDIA | |||
* / | |||
.mw-collapsible { | |||
border-radius: 0.375em 0.375em 0.375em 0.375em; | |||
line-height: 1.6; | |||
} | } | ||
.mw-collapsible .mw-collapsible-header { | |||
. | border-radius: 0.375em 0.375em 0 0; | ||
{ | |||
border: | |||
} | } | ||
.mw-collapsible .mw-collapsible-content { | |||
. | border-radius: 0 0 0.375em 0.375em; | ||
{ | |||
border | |||
} | } | ||
.mw-collapsible.mw-collapsed .mw-collapsible-header { | |||
. | border-radius: 0.375em 0.375em 0.375em 0.375em; | ||
} | } | ||
. | .mw-collapsible .mw-collapsible-content, | ||
{ | .mw-collapsible .mw-collapsible-content p { | ||
margin: 0; | |||
margin: | |||
} | } | ||
. | .mw-collapsible .mw-collapsible-content { | ||
{ | padding: 1em; | ||
} | } | ||
. | /* Navigation boxes (Header Nav and Footer Nav) */ | ||
{ | .nav_box { | ||
clear: both; | |||
margin: 0; | margin: 1.25em 0; | ||
padding: 0.5em; | |||
background-color: #f9f9f9; | |||
border: 1px solid #ccc; | |||
border-radius: 5px; | |||
} | } | ||
.nav_box .mw-collapsible-header ul { | |||
. | margin-left: 0.5em; | ||
{ | |||
margin: 0 | |||
} | } | ||
. | .nav_box .toc_heading { | ||
{ | padding-bottom: 0.25em; | ||
margin-bottom: 0; | |||
border-bottom: 1px solid #ccc; | |||
font-weight: bold; | |||
font-weight: bold; | line-height: 1; | ||
} | } | ||
/* | /* Header Nav */ | ||
.header_nav .mw-collapsible-header ul > li { | |||
{ | display: inline; | ||
} | } | ||
{ | .header_nav .mw-collapsible-header ul > li::before { | ||
content: " | "; | |||
} | } | ||
.header_nav .mw-collapsible-header ul > li:first-child::before { | |||
content: ""; | |||
{ | |||
} | } | ||
/* Footer Nav */ | |||
{ | .top_link { | ||
float: left; | |||
} | } | ||
.top_link::before { | |||
{ | content: '['; | ||
} | } | ||
.top_link::after { | |||
content: ']'; | |||
} | } | ||
.footer_nav_prev::before, | |||
. | .footer_nav .mw-collapsible-header li:has(~ .footer_nav_prev)::before { | ||
{ | content: "\2190\a0"; | ||
} | } | ||
/* | /* Table of Contents Headers */ | ||
. | .toc_h2, | ||
.toc_h3 { | |||
margin: 0 0 0.5em; | |||
font-weight: 700; | |||
line-height: 1; | |||
} | } | ||
.toc_h2 { | |||
font-size: 1.5em; | |||
. | |||
} | } | ||
. | .toc_h3 { | ||
font-size: 1.25em; | |||
} | } | ||
. | /* Infobox template style */ | ||
.infobox { | |||
width: 300px; | |||
width: | |||
} | } | ||
. | .infobox td, | ||
.infobox th { | |||
padding: 0.4em 0.6em; | |||
} | } | ||
. | .infobox th { | ||
text-align: center; | |||
text-align: | |||
} | } | ||
. | .infobox.bordered th { | ||
width: 100px; | |||
} | } | ||
. | .mw-row-no-collapse { | ||
display: table-row !important; | |||
} | } | ||
.headerimage { | |||
text-align: center; | |||
. | margin-bottom: 1em; | ||
{ | |||
} | } | ||
. | /* Ratings and companies */ | ||
{ | .rating { | ||
margin-right: 0.3em; | |||
} | } | ||
/* | /* wikitable/prettytable class for skinning normal tables */ | ||
. | table.wikitable, | ||
margin | table.prettytable { | ||
margin: .1em 1.5em .1em .1em; | |||
background: #f9f9f9; | |||
border: 1px #aaaaaa solid; | |||
border-collapse: collapse; | |||
} | } | ||
table.wikitable th, | |||
table.wikitable td, | |||
table.prettytable th, | |||
table.prettytable td { | |||
border: 1px #aaaaaa solid; | |||
padding: 0.4em 0.6em; | |||
vertical-align: top; | |||
} | } | ||
table.mid-table th, | |||
. | table.mid-table td { | ||
vertical-align: middle; | |||
} | } | ||
. | table.wikitable th, | ||
{ | table.prettytable th { | ||
background: #f2f2f2; | |||
background | |||
text-align: center; | text-align: center; | ||
} | } | ||
. | table.wikitable caption, | ||
margin: | table.prettytable caption { | ||
margin: 0.2em inherit 0.05em inherit; | |||
font-weight: bold; | |||
font-size: 1.1em; | |||
} | } | ||
. | table.controlstable { | ||
width: 100%; | |||
text-align: center; | |||
} | } | ||
. | table.controlstable td { | ||
vertical-align: middle; | |||
} | } | ||
/* Style for non-JS spoiler mouseover */ | |||
.table-spoiler div:hover { | |||
color: black; | |||
cursor: default; | |||
} | } | ||
p.template_edit_link { | |||
. | font-size: smaller; | ||
{ | margin: 0; | ||
float: right; | |||
} | } | ||
. | /* Move lists */ | ||
{ | table.move_list tr th { | ||
background-color: #ADC8FA; | |||
} | } | ||
. | table.move_list td { | ||
border: none; | |||
border- | border-top: 1px solid #aaaaaa; | ||
border-bottom: 1px solid #aaaaaa; | |||
border-left: 1px solid #aaaaaa; | |||
} | } | ||
. | table.move_list tr td + td + td, | ||
{ | table.move_list tr td:first-child { | ||
border- | border-right: 1px solid #aaaaaa; | ||
} | } | ||
. | table.move_list tr:nth-child(odd) { | ||
background-color: silver; | |||
{ | |||
} | } | ||
/* Styling links to Bulbapedia */ | /* Styling links to Bulbapedia */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://bulbapedia.bulbagarden.net"], | ||
div#content a.extiw[href^="https://bulbapedia.bulbagarden.net"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/a/a4/Bulbalink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Chrono Wiki */ | /* Styling links to Chrono Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.chronowiki.org"], | ||
div#content a.extiw[href^="https://www.chronowiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/c/ce/ChronoWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to | /* Styling links to Dragon Quest Wiki*/ | ||
div#content a.external[href^=" | div#content a.external[href^="https://dragon-quest.org"], | ||
div#content a.extiw[href^="https://dragon-quest.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/f/fb/DragonQuestWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to | /* Styling links to Fallout Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://fallout.wiki"], | ||
div#content a.extiw[href^="https://fallout.wiki"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/9/9b/FalloutWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Fire Emblem Wiki */ | /* Styling links to Fire Emblem Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://fireemblemwiki.org"], | ||
div#content a.extiw[href^="https://fireemblemwiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/d/d8/FireEmblemWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to F-Zero Wiki */ | /* Styling links to F-Zero Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://mutecity.org"], | ||
div#content a.extiw[href^="https://mutecity.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/d/d3/F-ZeroWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Golden Sun Universe */ | /* Styling links to Golden Sun Universe */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://goldensunwiki.net"], | ||
div#content a.extiw[href^="https://goldensunwiki.net"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/9/93/GoldenSunWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Hard Drop */ | /* Styling links to Hard Drop */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://harddrop.com/wiki"], | ||
div#content a.extiw[href^="https://harddrop.com/wiki"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/4/4a/HardDropTetrisWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Icaruspedia */ | /* Styling links to Icaruspedia */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.kidicaruswiki.org"], | ||
div#content a.extiw[href^="https://www.kidicaruswiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/0/08/IcaruspediaLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Inkipedia */ | /* Styling links to Inkipedia */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://splatoonwiki.org"], | ||
div#content a.extiw[href^="https://splatoonwiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/7/7a/InkipediaLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Kingdom Hearts Wiki */ | /* Styling links to Kingdom Hearts Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.khwiki.com"], | ||
div#content a.extiw[href^="https://www.khwiki.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/a/ad/KingdomHeartsWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | |||
/* Styling links to Koei Tecmo Wiki */ | |||
div#content a.external[href^="https://koeitecmo.wiki"], | |||
div#content a.extiw[href^="https://koeitecmo.wiki"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/7/77/KTWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | |||
/* Styling links to Kovopedia */ | |||
div#content a.external[href^="https://kovopedia.com"], | |||
div#content a.extiw[href^="https://kovopedia.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/8/8a/KovopediaLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Lylat Wiki */ | /* Styling links to Lylat Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://starfoxwiki.info"], | ||
div#content a.extiw[href^="https://starfoxwiki.info"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/a/ab/LylatWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Metroid Wiki */ | /* Styling links to Metroid Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.metroidwiki.org"], | ||
div#content a.extiw[href^="https://www.metroidwiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/4/44/MetroidWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Nookipedia */ | /* Styling links to Nookipedia */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://nookipedia.com"], | ||
div#content a.extiw[href^="https://nookipedia.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/9/9a/ACWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Pikipedia */ | /* Styling links to Pikipedia */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.pikminwiki.com"], | ||
div#content a.extiw[href^="https://www.pikminwiki.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/1/13/PikipediaLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Square Enix Wiki */ | /* Styling links to Square Enix Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://seiwanetwork.org/wiki"], | ||
div#content a.extiw[href^="https://seiwanetwork.org/wiki"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/6/6e/SEWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Super Mario Wiki */ | /* Styling links to Super Mario Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.mariowiki.com"], | ||
div#content a.extiw[href^="https://www.mariowiki.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/3/30/MarioWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to NintendoWiki */ | /* Styling links to NintendoWiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.niwanetwork.org/wiki"], | ||
div#content a.extiw[href^="https://www.niwanetwork.org/wiki"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/9/94/NWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to SmashWiki */ | /* Styling links to SmashWiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.ssbwiki.com"], | ||
div#content a.extiw[href^="https://www.ssbwiki.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/c/ce/SmashWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Starfy Wiki */ | /* Styling links to Starfy Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://starfywiki.org"], | ||
div#content a.extiw[href^="https://starfywiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/f/f4/StarfyWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Wars Wiki */ | /* Styling links to Wars Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://warswiki.org"], | ||
div#content a.extiw[href^="https://warswiki.org"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/f/f6/WarsWikiLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to WiKirby */ | /* Styling links to WiKirby */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://wikirby.com"], | ||
div#content a.extiw[href^="https://wikirby.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/c/c4/Wikirbylink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to WikiBound */ | /* Styling links to WikiBound */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://wikibound.info"], | ||
div#content a.extiw[href^="https://wikibound.info"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/e/e5/WikiBoundLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Zelda Wiki */ | /* Styling links to Zelda Wiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://zeldawiki.wiki"], | ||
div#content a.extiw[href^="https://zeldawiki.wiki"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/2/28/Zwlink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | |||
/* Styling links to Switcher */ | |||
div#content a.external[href^="https://switcher.gg"], | |||
div#content a.extiw[href^="https://switcher.gg"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/thumb/0/01/SwitcherLink.png/16px-SwitcherLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to PCGamingWiki */ | /* Styling links to PCGamingWiki */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.pcgamingwiki.com"], | ||
div#content a.extiw[href^="https://www.pcgamingwiki.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/thumb/0/04/PCGamingWikiLink.svg/16px-PCGamingWikiLink.svg.png") no-repeat right; | |||
padding-right: 18px; | |||
} | } | ||
/* Styling links to Neoseeker */ | /* Styling links to Neoseeker */ | ||
div#content a.external[href^=" | div#content a.external[href^="https://www.neoseeker.com"], | ||
div#content a.extiw[href^="https://www.neoseeker.com"] { | |||
background: url("//cdn.wikimg.net/en/strategywiki/images/6/6c/NeoseekerLink.png") no-repeat right; | |||
padding-right: 18px; | |||
} | |||
/* Make plainlinks work for external interwiki links as well */ | |||
.plainlinks a.extiw { | |||
background: none !important; | |||
padding: 0 !important; | |||
} | } | ||
/* | /* Don't display some stuff on the main page */ | ||
/* From [[Wikipedia:MediaWiki:Vector.css]] */ | |||
.page-Main_Page #deleteconfirm, | |||
.page-Main_Page #t-cite, | |||
.page-Main_Page #footer-info-lastmod, | |||
.action-view.page-Main_Page #siteSub, | |||
.action-view.page-Main_Page #contentSub, | |||
.action-view.page-Main_Page .firstHeading, | |||
.action-view.page-Main_Page .mw-indicators { | |||
display: none !important; | |||
} | } | ||
/* make the list of references look smaller */ | /* make the list of references look smaller */ | ||
ol.references { | ol.references { | ||
font-size: 100%; | |||
} | } | ||
.references-small { | |||
font-size: 90%; | |||
} | } | ||
/* Style for "notices" */ | /* Style for "notices" */ | ||
.notice { | .notice { | ||
text-align: justify; | |||
margin: 1em; | |||
padding: 0.2em; | |||
} | } | ||
#disambig { | #disambig { | ||
border-top: 3px double #cccccc; | |||
border-bottom: 3px double #cccccc; | |||
} | } | ||
Line 1,646: | Line 870: | ||
} | } | ||
/* | /* Hide license dropdown on [[Special:Upload]] */ | ||
. | p.mw-upload-editlicenses, | ||
.mw-htmlform-field-Licenses { | |||
display: none; | |||
} | } | ||
/* | /* Special:Statistics page styles */ | ||
table.wikitable.mw-statistics-table { | |||
. | margin-left: 0.25em; | ||
margin: | background: transparent; | ||
border: 1px solid #80bded; | |||
background | |||
border: 1px solid # | |||
} | } | ||
. | table.wikitable.mw-statistics-table th { | ||
background-image: url(//cdn.wikimg.net/en/strategywiki/images/a/ab/SW_Lightblue_Header.jpg); | |||
background-repeat: no-repeat; | |||
background-color: #ffffff; | |||
text-align: left; | text-align: left; | ||
vertical-align: top; | |||
height: 40px; | |||
border-top: 1px solid #80bded; | |||
border-left: 1px solid #80bded; | |||
border-right: 1px solid #80bded; | |||
border-bottom: none; | |||
} | } | ||
. | table.wikitable.mw-statistics-table td { | ||
border-left: none; | |||
border-right: 1px solid #80bded; | |||
border- | border-bottom: none; | ||
border-top: none; | |||
} | } | ||
. | table.wikitable.mw-statistics-table td:first-child { | ||
border-left: 1px solid #80bded; | |||
border-right: none; | |||
} | } | ||
html body.mediawiki .mbox-small { | |||
width: 300px; | |||
. | |||
} | } | ||
.updatedmarker { | |||
background-color: #00ffff; | |||
. | |||
} | } | ||
/* | /* Class for optional div around a ToC to suppress header numbering; for pages with numbered headers */ | ||
.noautonum .tocnumber { | |||
. | display: none; | ||
} | } | ||
. | /* Thankyou template */ | ||
.thankyou { | |||
float: right; | |||
border: 1px solid blue; | |||
width: 200px; | |||
padding: 3px; | |||
background-color: #ffffff; | |||
} | } | ||
. | /* Pixelart */ | ||
.pixelart { | |||
image-rendering: pixelated; | |||
image-rendering: -moz-crisp-edges; | |||
image-rendering: crisp-edges; | |||
} | } | ||
. | /* Guide completion icons */ | ||
.guide_link::before { | |||
padding-right: 3px; | |||
white-space: nowrap; | |||
} | } | ||
.guide_link-cs0::before { | |||
. | content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/8/83/0000.svg/9px-0000.svg.png); | ||
} | } | ||
.guide_link-cs1::before { | |||
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/d/d2/0001.svg/9px-0001.svg.png); | |||
. | |||
} | } | ||
.guide_link-cs2::before { | |||
/ | content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/7/7a/0002.svg/9px-0002.svg.png); | ||
} | } | ||
.guide_link-cs3::before { | |||
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/7/7a/0003.svg/9px-0003.svg.png); | |||
} | } | ||
.guide_link-cs4::before { | |||
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/e/ec/0004.svg/9px-0004.svg.png); | |||
} | } | ||
.guide_link-cs5::before { | |||
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/6/65/0005.svg/9px-0005.svg.png); | |||
} | } | ||
@media all and (max-width: 639px) { | |||
/* CSS placed here will affect users of the mobile site */ | |||
. | table.wikitable, | ||
table.prettytable { | |||
margin-left: 0; | |||
margin-right: 0; | |||
} | |||
} | |||
/* Footer Nav */ | |||
.top_link { | |||
float: right; | |||
clear: right; | |||
} | |||
.footer_nav .mw-collapsible-header ul { /* Is this required? */ | |||
margin-left: 1em; | |||
} | |||
.footer_nav .mw-collapsible-header li { | |||
list-style: none; | |||
} | |||
. | .footer_nav_here::before { | ||
content: "\2194\a0"; | |||
visibility: hidden; | |||
} | } | ||
. | .footer_nav_next::before, | ||
.footer_nav_next ~ li::before { | |||
content: "\2192\a0"; | |||
} | |||
} | |||
. | /* Infobox template style */ | ||
.infobox { | |||
width: auto; | |||
float: none; | |||
background-color: #f8f7f7; | |||
width: 100%; | |||
} | clear: right; | ||
} | |||
.subtoc div.mw-collapsible-content { | |||
display: block !important; | |||
} | |||
. | .desktop-300-right { | ||
min-height: 250px; | |||
} | |||
} | } | ||
/* | @media all and (min-width: 640px) { | ||
/* Footer Nav */ | |||
.footer_nav .mw-collapsible-header { | |||
text-align: center; | |||
} | |||
.footer_nav .mw-collapsible-header ul > li { | |||
display: inline; | |||
} | white-space: nowrap; | ||
} | |||
.footer_nav .mw-collapsible-header ul > li::after { | |||
. | content: " | "; | ||
} | |||
.footer_nav .mw-collapsible-header .footer_nav_here::after { | |||
content: ""; | |||
} | |||
. | .footer_nav .mw-collapsible-header li.footer_nav_next::after, | ||
.footer_nav .mw-collapsible-header li.footer_nav_next ~ li::after { | |||
} | content: "\a0\2192"; | ||
} | |||
. | .footer_nav_next::before, | ||
.footer_nav_next ~ li::before { | |||
content: " | "; | |||
} | |||
table.controlstable { | |||
table-layout: fixed; | |||
} | |||
} | } | ||
/* Removes useless links from printout */ | |||
@media print { | |||
#privacy, | |||
#about, | |||
#disclaimer, | |||
#content-nav { | |||
display:none | |||
} | |||
} | } |
Latest revision as of 15:19, 12 June 2024
/*
* COPIED FROM WIKIPEDIA
* /
/*
* This is the CSS common to all desktop skins on en.Wikipedia.
* Styling inside .mw-parser-output should generally use TemplateStyles.
*/
/* Reset italic styling set by user agent */
cite,
dfn {
font-style: inherit;
}
/* Straight quote marks for <q> */
q {
quotes: '"' '"' "'" "'";
}
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
overflow: hidden;
margin: 1em 0;
padding: 0 40px;
}
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup {
font-size: 80%;
}
/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
display: none;
}
/* Make the list of references smaller
* Keep in sync with Template:Refbegin/styles.css
* And Template:Reflist/styles.css
*/
ol.references {
font-size: 90%;
margin-bottom: 0.5em;
}
/* Cite customizations for Parsoid
* Once everything uses the one true parser these are just customizations
*/
span[ rel="mw:referencedBy" ] {
counter-reset: mw-ref-linkback 0;
}
span[ rel='mw:referencedBy' ] > a::before {
content: counter( mw-ref-linkback, lower-alpha );
font-size: 80%;
font-weight: bold;
font-style: italic;
}
a[ rel="mw:referencedBy" ]::before {
font-weight: bold;
content: "^";
}
span[ rel="mw:referencedBy" ]::before {
content: "^ ";
}
.mw-ref > a[data-mw-group=lower-alpha]::after {
content: '[' counter( mw-Ref, lower-alpha ) ']';
}
.mw-ref > a[data-mw-group=upper-alpha]::after {
content: '[' counter( mw-Ref, upper-alpha ) ']';
}
.mw-ref > a[data-mw-group=decimal]::after {
content: '[' counter( mw-Ref, decimal ) ']';
}
.mw-ref > a[data-mw-group=lower-roman]::after {
content: '[' counter( mw-Ref, lower-roman ) ']';
}
.mw-ref > a[data-mw-group=upper-roman]::after {
content: '[' counter( mw-Ref, upper-roman ) ']';
}
.mw-ref > a[data-mw-group=lower-greek]::after {
content: '[' counter( mw-Ref, lower-greek ) ']';
}
/* Styling for jQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
font-weight: normal;
padding-right: 0.2em;
padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: left;
}
/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: left;
}
/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
padding: 8px 18px 8px 0;
}
/* System messages styled similarly to fmbox */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
* the edit-protected notice and the special:Contribs for blocked users
* The latter has specificity of 3 classes so we have to triple up here.
*/
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background-color: #ffdbdb;
padding: 0.25em 0.9em;
box-sizing: border-box;
}
/* default colors for partial block message */
/* gotta get over the hump introduced by the triple class above */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
border-color: #fc3;
background-color: #fef6e7;
}
/* Minimum thumb width */
figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
.thumbinner {
min-width: 100px;
}
/* Prevent floating boxes from overlapping any category listings,
file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
}
/* Styling for tags in changes pages */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
[[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
[[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
/* Hide the redlink generated by {{Editnotice}},
this overrides the ".sysop-show { display: none; }" above that applies
to the same link as well. See [[phab:T45013]]
Hide the images in editnotices to keep them readable in VE view.
Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors {
margin: 0;
}
ul.permissions-errors > li {
list-style: none;
}
/* larger inline math */
span.mwe-math-mathml-inline {
font-size: 118%;
}
/* Make <math display="block"> be left aligned with one space indent for
* compatibility with style conventions
*/
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
.mwe-math-mathml-display math {
display: inline;
}
@media screen {
/* Put a chequered background behind images, only visible if they have transparency,
* except on main, user, and portal namespaces
*/
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
do not apply to print mode */
#siteSub {
display: block;
}
}
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
display: none;
}
/*
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
* SEE [[MediaWiki talk:Common.css/to do]]
*/
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
/* Prevent line breaks in silly places where desired (nowrap)
and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
/* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
span.texhtml span.texhtml {
font-size: 100%;
}
@media screen {
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/* Put anything you mean to be a sitewide addition above the TemplateStyles
* comment above.
*/
/*
* END COPIED FROM WIKIPEDIA
* /
.mw-collapsible {
border-radius: 0.375em 0.375em 0.375em 0.375em;
line-height: 1.6;
}
.mw-collapsible .mw-collapsible-header {
border-radius: 0.375em 0.375em 0 0;
}
.mw-collapsible .mw-collapsible-content {
border-radius: 0 0 0.375em 0.375em;
}
.mw-collapsible.mw-collapsed .mw-collapsible-header {
border-radius: 0.375em 0.375em 0.375em 0.375em;
}
.mw-collapsible .mw-collapsible-content,
.mw-collapsible .mw-collapsible-content p {
margin: 0;
}
.mw-collapsible .mw-collapsible-content {
padding: 1em;
}
/* Navigation boxes (Header Nav and Footer Nav) */
.nav_box {
clear: both;
margin: 1.25em 0;
padding: 0.5em;
background-color: #f9f9f9;
border: 1px solid #ccc;
border-radius: 5px;
}
.nav_box .mw-collapsible-header ul {
margin-left: 0.5em;
}
.nav_box .toc_heading {
padding-bottom: 0.25em;
margin-bottom: 0;
border-bottom: 1px solid #ccc;
font-weight: bold;
line-height: 1;
}
/* Header Nav */
.header_nav .mw-collapsible-header ul > li {
display: inline;
}
.header_nav .mw-collapsible-header ul > li::before {
content: " | ";
}
.header_nav .mw-collapsible-header ul > li:first-child::before {
content: "";
}
/* Footer Nav */
.top_link {
float: left;
}
.top_link::before {
content: '[';
}
.top_link::after {
content: ']';
}
.footer_nav_prev::before,
.footer_nav .mw-collapsible-header li:has(~ .footer_nav_prev)::before {
content: "\2190\a0";
}
/* Table of Contents Headers */
.toc_h2,
.toc_h3 {
margin: 0 0 0.5em;
font-weight: 700;
line-height: 1;
}
.toc_h2 {
font-size: 1.5em;
}
.toc_h3 {
font-size: 1.25em;
}
/* Infobox template style */
.infobox {
width: 300px;
}
.infobox td,
.infobox th {
padding: 0.4em 0.6em;
}
.infobox th {
text-align: center;
}
.infobox.bordered th {
width: 100px;
}
.mw-row-no-collapse {
display: table-row !important;
}
.headerimage {
text-align: center;
margin-bottom: 1em;
}
/* Ratings and companies */
.rating {
margin-right: 0.3em;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: .1em 1.5em .1em .1em;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.4em 0.6em;
vertical-align: top;
}
table.mid-table th,
table.mid-table td {
vertical-align: middle;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin: 0.2em inherit 0.05em inherit;
font-weight: bold;
font-size: 1.1em;
}
table.controlstable {
width: 100%;
text-align: center;
}
table.controlstable td {
vertical-align: middle;
}
/* Style for non-JS spoiler mouseover */
.table-spoiler div:hover {
color: black;
cursor: default;
}
p.template_edit_link {
font-size: smaller;
margin: 0;
float: right;
}
/* Move lists */
table.move_list tr th {
background-color: #ADC8FA;
}
table.move_list td {
border: none;
border-top: 1px solid #aaaaaa;
border-bottom: 1px solid #aaaaaa;
border-left: 1px solid #aaaaaa;
}
table.move_list tr td + td + td,
table.move_list tr td:first-child {
border-right: 1px solid #aaaaaa;
}
table.move_list tr:nth-child(odd) {
background-color: silver;
}
/* Styling links to Bulbapedia */
div#content a.external[href^="https://bulbapedia.bulbagarden.net"],
div#content a.extiw[href^="https://bulbapedia.bulbagarden.net"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/a/a4/Bulbalink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Chrono Wiki */
div#content a.external[href^="https://www.chronowiki.org"],
div#content a.extiw[href^="https://www.chronowiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/c/ce/ChronoWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Dragon Quest Wiki*/
div#content a.external[href^="https://dragon-quest.org"],
div#content a.extiw[href^="https://dragon-quest.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/f/fb/DragonQuestWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Fallout Wiki */
div#content a.external[href^="https://fallout.wiki"],
div#content a.extiw[href^="https://fallout.wiki"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/9/9b/FalloutWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Fire Emblem Wiki */
div#content a.external[href^="https://fireemblemwiki.org"],
div#content a.extiw[href^="https://fireemblemwiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/d/d8/FireEmblemWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to F-Zero Wiki */
div#content a.external[href^="https://mutecity.org"],
div#content a.extiw[href^="https://mutecity.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/d/d3/F-ZeroWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Golden Sun Universe */
div#content a.external[href^="https://goldensunwiki.net"],
div#content a.extiw[href^="https://goldensunwiki.net"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/9/93/GoldenSunWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Hard Drop */
div#content a.external[href^="https://harddrop.com/wiki"],
div#content a.extiw[href^="https://harddrop.com/wiki"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/4/4a/HardDropTetrisWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Icaruspedia */
div#content a.external[href^="https://www.kidicaruswiki.org"],
div#content a.extiw[href^="https://www.kidicaruswiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/0/08/IcaruspediaLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Inkipedia */
div#content a.external[href^="https://splatoonwiki.org"],
div#content a.extiw[href^="https://splatoonwiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/7/7a/InkipediaLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Kingdom Hearts Wiki */
div#content a.external[href^="https://www.khwiki.com"],
div#content a.extiw[href^="https://www.khwiki.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/a/ad/KingdomHeartsWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Koei Tecmo Wiki */
div#content a.external[href^="https://koeitecmo.wiki"],
div#content a.extiw[href^="https://koeitecmo.wiki"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/7/77/KTWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Kovopedia */
div#content a.external[href^="https://kovopedia.com"],
div#content a.extiw[href^="https://kovopedia.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/8/8a/KovopediaLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Lylat Wiki */
div#content a.external[href^="https://starfoxwiki.info"],
div#content a.extiw[href^="https://starfoxwiki.info"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/a/ab/LylatWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Metroid Wiki */
div#content a.external[href^="https://www.metroidwiki.org"],
div#content a.extiw[href^="https://www.metroidwiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/4/44/MetroidWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Nookipedia */
div#content a.external[href^="https://nookipedia.com"],
div#content a.extiw[href^="https://nookipedia.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/9/9a/ACWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Pikipedia */
div#content a.external[href^="https://www.pikminwiki.com"],
div#content a.extiw[href^="https://www.pikminwiki.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/1/13/PikipediaLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Square Enix Wiki */
div#content a.external[href^="https://seiwanetwork.org/wiki"],
div#content a.extiw[href^="https://seiwanetwork.org/wiki"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/6/6e/SEWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Super Mario Wiki */
div#content a.external[href^="https://www.mariowiki.com"],
div#content a.extiw[href^="https://www.mariowiki.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/3/30/MarioWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to NintendoWiki */
div#content a.external[href^="https://www.niwanetwork.org/wiki"],
div#content a.extiw[href^="https://www.niwanetwork.org/wiki"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/9/94/NWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to SmashWiki */
div#content a.external[href^="https://www.ssbwiki.com"],
div#content a.extiw[href^="https://www.ssbwiki.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/c/ce/SmashWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Starfy Wiki */
div#content a.external[href^="https://starfywiki.org"],
div#content a.extiw[href^="https://starfywiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/f/f4/StarfyWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Wars Wiki */
div#content a.external[href^="https://warswiki.org"],
div#content a.extiw[href^="https://warswiki.org"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/f/f6/WarsWikiLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to WiKirby */
div#content a.external[href^="https://wikirby.com"],
div#content a.extiw[href^="https://wikirby.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/c/c4/Wikirbylink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to WikiBound */
div#content a.external[href^="https://wikibound.info"],
div#content a.extiw[href^="https://wikibound.info"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/e/e5/WikiBoundLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Zelda Wiki */
div#content a.external[href^="https://zeldawiki.wiki"],
div#content a.extiw[href^="https://zeldawiki.wiki"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/2/28/Zwlink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Switcher */
div#content a.external[href^="https://switcher.gg"],
div#content a.extiw[href^="https://switcher.gg"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/thumb/0/01/SwitcherLink.png/16px-SwitcherLink.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to PCGamingWiki */
div#content a.external[href^="https://www.pcgamingwiki.com"],
div#content a.extiw[href^="https://www.pcgamingwiki.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/thumb/0/04/PCGamingWikiLink.svg/16px-PCGamingWikiLink.svg.png") no-repeat right;
padding-right: 18px;
}
/* Styling links to Neoseeker */
div#content a.external[href^="https://www.neoseeker.com"],
div#content a.extiw[href^="https://www.neoseeker.com"] {
background: url("//cdn.wikimg.net/en/strategywiki/images/6/6c/NeoseekerLink.png") no-repeat right;
padding-right: 18px;
}
/* Make plainlinks work for external interwiki links as well */
.plainlinks a.extiw {
background: none !important;
padding: 0 !important;
}
/* Don't display some stuff on the main page */
/* From [[Wikipedia:MediaWiki:Vector.css]] */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading,
.action-view.page-Main_Page .mw-indicators {
display: none !important;
}
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
/* Metadata */
table.metadata {
border: 1px solid #ccc;
display: none;
speak: none;
}
.metadata-label {
color: #999;
}
/* Hide license dropdown on [[Special:Upload]] */
p.mw-upload-editlicenses,
.mw-htmlform-field-Licenses {
display: none;
}
/* Special:Statistics page styles */
table.wikitable.mw-statistics-table {
margin-left: 0.25em;
background: transparent;
border: 1px solid #80bded;
}
table.wikitable.mw-statistics-table th {
background-image: url(//cdn.wikimg.net/en/strategywiki/images/a/ab/SW_Lightblue_Header.jpg);
background-repeat: no-repeat;
background-color: #ffffff;
text-align: left;
vertical-align: top;
height: 40px;
border-top: 1px solid #80bded;
border-left: 1px solid #80bded;
border-right: 1px solid #80bded;
border-bottom: none;
}
table.wikitable.mw-statistics-table td {
border-left: none;
border-right: 1px solid #80bded;
border-bottom: none;
border-top: none;
}
table.wikitable.mw-statistics-table td:first-child {
border-left: 1px solid #80bded;
border-right: none;
}
html body.mediawiki .mbox-small {
width: 300px;
}
.updatedmarker {
background-color: #00ffff;
}
/* Class for optional div around a ToC to suppress header numbering; for pages with numbered headers */
.noautonum .tocnumber {
display: none;
}
/* Thankyou template */
.thankyou {
float: right;
border: 1px solid blue;
width: 200px;
padding: 3px;
background-color: #ffffff;
}
/* Pixelart */
.pixelart {
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
/* Guide completion icons */
.guide_link::before {
padding-right: 3px;
white-space: nowrap;
}
.guide_link-cs0::before {
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/8/83/0000.svg/9px-0000.svg.png);
}
.guide_link-cs1::before {
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/d/d2/0001.svg/9px-0001.svg.png);
}
.guide_link-cs2::before {
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/7/7a/0002.svg/9px-0002.svg.png);
}
.guide_link-cs3::before {
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/7/7a/0003.svg/9px-0003.svg.png);
}
.guide_link-cs4::before {
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/e/ec/0004.svg/9px-0004.svg.png);
}
.guide_link-cs5::before {
content: url(//cdn.wikimg.net/en/strategywiki/images/thumb/6/65/0005.svg/9px-0005.svg.png);
}
@media all and (max-width: 639px) {
/* CSS placed here will affect users of the mobile site */
table.wikitable,
table.prettytable {
margin-left: 0;
margin-right: 0;
}
/* Footer Nav */
.top_link {
float: right;
clear: right;
}
.footer_nav .mw-collapsible-header ul { /* Is this required? */
margin-left: 1em;
}
.footer_nav .mw-collapsible-header li {
list-style: none;
}
.footer_nav_here::before {
content: "\2194\a0";
visibility: hidden;
}
.footer_nav_next::before,
.footer_nav_next ~ li::before {
content: "\2192\a0";
}
/* Infobox template style */
.infobox {
width: auto;
float: none;
background-color: #f8f7f7;
width: 100%;
clear: right;
}
.subtoc div.mw-collapsible-content {
display: block !important;
}
.desktop-300-right {
min-height: 250px;
}
}
@media all and (min-width: 640px) {
/* Footer Nav */
.footer_nav .mw-collapsible-header {
text-align: center;
}
.footer_nav .mw-collapsible-header ul > li {
display: inline;
white-space: nowrap;
}
.footer_nav .mw-collapsible-header ul > li::after {
content: " | ";
}
.footer_nav .mw-collapsible-header .footer_nav_here::after {
content: "";
}
.footer_nav .mw-collapsible-header li.footer_nav_next::after,
.footer_nav .mw-collapsible-header li.footer_nav_next ~ li::after {
content: "\a0\2192";
}
.footer_nav_next::before,
.footer_nav_next ~ li::before {
content: " | ";
}
table.controlstable {
table-layout: fixed;
}
}
/* Removes useless links from printout */
@media print {
#privacy,
#about,
#disclaimer,
#content-nav {
display:none
}
}