MediaWiki:Common.css: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Fake links) |
(crocwiki) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
/* |
/* <h3> Shared interface </h3> */ |
||
html .thumbimage { background-color: #fff; } |
|||
#toc, .toc { |
|||
/* Image/gallery classes */ |
|||
margin-bottom: 3px; |
|||
img.blackbg, .gallery.blackbg img { background: #000 !important; } |
|||
img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img { |
|||
background: #808080 !important; |
|||
} |
} |
||
div.tleft, div.tright { |
|||
ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img { |
|||
margin-top: 0.2em; |
|||
image-rendering: crisp-edges; |
|||
margin-bottom: 0.8em; |
|||
image-rendering: pixelated; |
|||
} |
} |
||
.thumb .mediaContainer { |
|||
margin: 4px auto 2px; |
|||
.pixelated, .pixelart, .sprites, .sprite { |
|||
} |
|||
image-rendering: crisp-edges; image-rendering: pixelated; |
|||
.thumb .multiVert .mediaContainer { |
|||
margin: 3px auto -1px; |
|||
} |
|||
.ns-104 div.thumb { |
|||
border-color: transparent; |
|||
} |
} |
||
/* Gallery */ |
|||
ul.gallery, li.gallerybox div.thumb { |
ul.gallery, li.gallerybox div.thumb { |
||
margin-bottom: 0; |
margin-bottom: 0; |
||
Line 32: | Line 33: | ||
} |
} |
||
.mw_metadata { |
|||
.gallery.center { |
|||
margin- |
margin-top: 5px; |
||
margin-right: auto !important; |
|||
} |
|||
.gallery.centertext .gallerytext { |
|||
text-align: center !important; |
|||
} |
} |
||
#catlinks li { |
|||
.mw-gallery-slideshow .gallerybox + .gallerybox { |
|||
margin: 0.28em 0; |
|||
line-height: 1em; |
|||
} |
|||
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox { |
|||
display: inline-block !important; |
|||
} |
} |
||
blockquote { |
|||
/* link colors */ |
|||
border-left: 3px solid #06f; |
|||
a { color: #00f; } |
|||
margin-left: 2em; |
|||
a:visited { color: #00c; } |
|||
padding-left: 1em; |
|||
.mw-parser-output a.extiw { color: #06f; } |
|||
.mw-parser-output a.extiw:visited { color: #3366BB; } |
|||
.mw-parser-output a.external { color: #06f; } |
|||
.mw-parser-output a.external:visited { color: #0044CC; } |
|||
/* Infobox templates */ |
|||
.infobox { |
|||
background: ghostwhite; |
|||
border: 1px solid black; |
|||
float: right; |
|||
margin: 0 0 1em 1.15em; |
|||
width: 300px; |
|||
padding: 3px; |
|||
font-size: 88%; |
|||
} |
} |
||
.mw-collapsible-toggle { |
|||
.infobox tr { |
|||
padding-right: 0.3em; |
|||
} |
} |
||
.infobox td, .infobox th { |
|||
padding: 2px; |
|||
} |
|||
.infobox .mw-collapsible-toggle { |
.infobox .mw-collapsible-toggle { |
||
min-width: 39px; |
min-width: 39px; |
||
text-align: right; |
text-align: right; |
||
} |
} |
||
.contentbox > .mw-collapsible-toggle { |
|||
float: none !important; |
|||
/* edit options */ |
|||
.mw-editform .editOptions { |
|||
border-radius:0px; |
|||
} |
} |
||
/* Mark redirects on Special:AllPages and Special:EditWatchlist */ |
|||
.editOptions { |
|||
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { |
|||
border: 1px solid #007500; |
|||
color: #888 !important; |
|||
border-top:none; |
|||
} |
} |
||
/* |
/* main page */ |
||
body.page-Croc_Wiki.action-view h1.firstHeading, |
|||
body.page-Croc_Wiki.action-view #contentSub > *, |
|||
.messagebox, .errorbox, .warningbox, .successbox { |
|||
body.page-Croc_Wiki.action-view #siteSub, |
|||
padding:12px; |
|||
body.page-Croc_Wiki.action-view #catlinks, |
|||
body.page-Croc_Wiki.action-view #lastmod { |
|||
display: none !important; |
|||
} |
} |
||
body.page-Pokémon_Wiki.action-view #bodyContent { |
|||
margin-top: 16px; |
|||
div.mw-warning-with-logexcerpt { |
|||
} |
|||
border: 2px solid #007f20; |
|||
body.page-Pokémon_Wiki.action-view .usermessage { |
|||
margin-top: 43px; |
|||
} |
} |
||
/* revision info */ |
|||
.mw-revision.warningbox, div.mw-message-box-warning.mw-revision.mw-message-box { |
|||
margin-top:0px; |
margin-top:0px; |
||
padding:0px; |
padding:0px; |
||
border:0px; |
border:0px; |
||
background: |
background:none; |
||
} |
} |
||
Line 109: | Line 91: | ||
} |
} |
||
/* forum formatting */ |
|||
/* main page, adapted from Super Mario Wiki */ |
|||
.forumheader { |
|||
border: 1px solid #88A; |
|||
body.page-Main_Page.action-view h1.firstHeading, |
|||
background-color: #F8F8FF; |
|||
body.page-Main_Page.action-view .mw-revision, |
|||
margin-top: 1em; |
|||
body.page-Main_Page.action-view #siteSub, |
|||
margin-bottom: 1em; |
|||
body.page-Main_Page.action-view #catlinks, |
|||
padding: 8px; |
|||
body.page-Main_Page.action-view #lastmod { |
|||
display: none !important; |
|||
} |
} |
||
.forumlist td.forum_edited a { |
|||
body.page-Main_Page.action-view #bodyContent { |
|||
color: #000; |
|||
text-decoration: none; |
|||
} |
|||
body.page-Main_Page.action-view .usermessage { |
|||
margin-top: 43px; |
|||
} |
|||
/* <h3> Navigation templates </h3> */ |
|||
.navbox { |
|||
background: none repeat scroll 0 0 white; |
|||
border: 1px solid grey; |
|||
color: black; |
|||
font-family: Arial; |
|||
font-size: 11px; |
|||
width: 100%; |
|||
margin-top: 15px; |
|||
border-spacing:3px; |
|||
} |
|||
.navbox + .navbox, |
|||
.navbox .navbox { |
|||
margin-top: 0; |
|||
} |
|||
.navbox .mw-collapsible-toggle-expanded { |
|||
padding-left: 7px; |
|||
} |
} |
||
.forumlist td.forum_title a { |
|||
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th { |
|||
padding-left: |
padding-left: 20px; |
||
} |
} |
||
.forumlist td.forum_title a.forum_new { |
|||
.navbox tr:first-child th { |
|||
background: none repeat scroll 0 0 #999999; |
|||
color: white; |
|||
font-size: 12px; |
|||
font-weight: bold; |
font-weight: bold; |
||
padding-left: 20px; |
|||
} |
} |
||
.forumlist td.forum_title a.forum_new:visited { |
|||
.navbox tr:first-child th, .navbox tr:first-child th a { |
|||
background: none; |
|||
color: #FFFFFF !important; |
|||
font-weight: normal; |
|||
padding-left: 20px; |
|||
} |
} |
||
. |
.forumlist th.forum_title { |
||
padding-left: 20px; |
|||
background: none repeat scroll 0 0 #CCCCCC; |
|||
text-align: center; |
|||
} |
|||
.navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) { |
|||
background: none repeat scroll 0 0 #E6E6E6; |
|||
} |
|||
.navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited { |
|||
color: #000000; |
|||
} |
|||
.navbox tr:nth-child(2n) td { |
|||
background: none repeat scroll 0 0 #F6F6F6; |
|||
} |
|||
.navbox tr td { |
|||
background: none repeat scroll 0 0 #FCFCFC; |
|||
} |
|||
.navbox td a { |
|||
color: #0000FF; |
|||
} |
|||
.navbox td a:visited { |
|||
color: #0000CC; |
|||
} |
|||
.navbox td a.new { |
|||
color: #CC2200; |
|||
} |
|||
.navbox td a.new:visited { |
|||
color: #A55858; |
|||
} |
|||
.navbox td a.selflink { |
|||
color: #000; |
|||
} |
} |
||
/* References */ |
|||
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a { |
|||
ol.references { |
|||
color: black !important; |
|||
margin-top: 0; |
|||
font-size: 90%; |
|||
} |
} |
||
ol.references div { |
|||
display: inline; |
|||
/* <h4> crash </h4> */ |
|||
.navbox.crash tr:first-child th, .navbox.crash tr:first-child th a { |
|||
background-color: #F8A651; |
|||
color:#000 !important; |
|||
} |
} |
||
ol.references span { |
|||
line-height: 1; |
|||
.navbox.crash tr th { |
|||
background-color: #fac38a; |
|||
} |
} |
||
/* User pages */ |
|||
.navbox.crash tr:nth-child(2n) td { |
|||
.ns-2 #mw-content-text p > img { |
|||
background-color: #F5F5F5; |
|||
max-width: 100% !important; |
|||
} |
|||
height: auto !important; |
|||
.navbox.crash tr td { |
|||
background-color: #FBFBFB; |
|||
} |
} |
||
/* User talk pages */ |
|||
.navbox.crash tr:not(:first-child) th:not([rowspan]):not([colspan]) { |
|||
.ns-3 [style*="position:fixed"], |
|||
background: none repeat scroll 0 0 #FCD6B0; |
|||
.ns-3 [style*="position: fixed"] { |
|||
display: none; |
|||
} |
} |
||
/* < |
/* <h3> All pages </h3> */ |
||
.navbox.racing tr:first-child th, .navbox.racing tr:first-child th a { |
|||
background-color: gold; |
|||
color: #000 !important; |
|||
} |
|||
#bodyContent { |
|||
.navbox.racing tr th { |
|||
position: relative; |
|||
background-color: #FFF462; |
|||
} |
} |
||
/* Diff text */ |
|||
.navbox.racing tr:nth-child(2n) td { |
|||
.diffchange { font-weight: normal; } |
|||
background-color: #FFFFBB; |
|||
.diff-addedline, .diff-deletedline, .diff-context { |
|||
} |
|||
font-size: 92%; |
|||
.navbox.racing tr td { |
|||
background-color: #FFFFDD; |
|||
} |
} |
||
/* OOUI fix */ |
|||
.navbox.racing tr:not(:first-child) th:not([rowspan]):not([colspan]) { |
|||
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { |
|||
background: none repeat scroll 0 0 #FFF789; |
|||
overflow: visible; |
|||
} |
} |
||
/* |
/* Video widget */ |
||
.infobox .videoWidget, |
|||
body:not(.ns-6) .notice-template + .notice-template { |
|||
.infobox .videoWidget iframe { |
|||
margin-top: -0.375em !important; |
|||
display: block !important; |
|||
} |
} |
||
.infobox .autoResize { |
|||
#mw-imagepage-content .notice-template + #aboutfile { |
|||
margin |
margin: 0 auto !important; |
||
} |
} |
||
.autoResize:not(.thumbinner) .thumbcaption { |
|||
#mw-imagepage-content .notice-template:not(#aboutfile) { |
|||
margin |
margin: 0; |
||
padding: 0; |
|||
margin-bottom: 2.5px !important; |
|||
} |
} |
||
.videoWidget + p { |
|||
margin: 0; |
|||
.notice-template p { |
|||
margin: 0.6em 0; |
|||
} |
} |
||
/* Keep create account benefits up top */ |
|||
.notice-template.copyright { |
|||
.mw-special-CreateAccount #userloginForm { |
|||
background: #fff9f9; |
|||
margin-right: 90px; |
|||
border: 1px solid #C55; |
|||
width: 90%; |
|||
margin: 5px auto; |
|||
padding: 5px; |
|||
} |
} |
||
/* Adjust inputbox button padding in Firefox */ |
|||
/* rc display adjustment */ |
|||
@-moz-document url-prefix() { |
|||
.client-js .mw-input-hidden { |
|||
.bodySearchWrap .mw-ui-button, .createboxButton { |
|||
display:inline-block; |
|||
padding-top: 4px; |
|||
padding-bottom: 5px; |
|||
} |
|||
} |
} |
||
/* |
/* Media player fix */ |
||
.wikitable .mediaContainer { |
|||
.suggestions-result-current { |
|||
margin-top: 2px; |
|||
background-color:#7C2411; |
|||
} |
} |
||
/* remove box-shadow from notifications */ |
|||
/* Indicator icons */ |
|||
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus { |
|||
.mw-indicators, |
|||
box-shadow: none; |
|||
#mw-indicator-shortcut { |
|||
position: relative; |
|||
} |
|||
.mw-indicator { |
|||
margin: 0 2px; |
|||
} |
|||
.mw-indicator img { |
|||
image-rendering: auto !important; |
|||
} |
|||
#mw-indicator-mw-helplink { |
|||
display: none; |
|||
} |
} |
||
Line 312: | Line 228: | ||
} |
} |
||
@media all and (max-width: 1100px) { |
|||
/* wikitable*/ |
|||
.mw-parser-output table img { |
|||
table.wikitable {background:#fff;margin:1em 0;border:1pt solid #007500;border-collapse:collapse;color:black} |
|||
max-width: 100% !important; |
|||
table.wikitable > * > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td, table.wikitable > * > tr > th {border:1pt solid #007500;padding:0.2em 0.4em} |
|||
height: auto !important; |
|||
table.wikitable > * > tr > th {background: #F8A651;} |
|||
} |
|||
.tabber.gocenter { |
|||
width: 100% !important; |
|||
} |
|||
.tabbertab > .wikitable, |
|||
.tabbertab > .sortable { |
|||
width: 100% !important; |
|||
} |
|||
} |
|||
/* |
/* Infobox templates */ |
||
ol.references { |
|||
.infobox { |
|||
margin-top: 0; |
|||
background-color: #fff; |
|||
font-size: 90%; |
|||
border: 1px solid gray; |
|||
} |
|||
float: right; |
|||
ol.references div { |
|||
font-size: 88%; |
|||
display: inline; |
|||
width: 300px; |
|||
} |
|||
margin:0 0 1em 1.15em; |
|||
ol.references span { |
|||
border-radius:1em; |
|||
line-height: 1; |
|||
padding:3px; |
|||
border-spacing:2px; |
|||
} |
} |
||
.infobox th { |
|||
ol.references li:target, sup.reference:target { |
|||
border-radius:1em; |
|||
background-color: transparent; |
|||
font-weight: bold; |
|||
} |
} |
||
.infobox tr { |
|||
/* Captcha spacing */ |
|||
vertical-align: top; |
|||
#editform #wpCaptchaWord { |
|||
margin-top: 2.5px; |
|||
} |
} |
||
.infobox td, .infobox th { |
|||
#userloginForm label:not([for]) + .mw-input { |
|||
padding: 2px; |
|||
} |
} |
||
#userloginForm .mw-ui-vform-field:nth-of-type(7) { |
|||
.infobox > tbody > tr:first-child > td { |
|||
margin-bottom: 5px; |
|||
border-radius:1em; |
|||
} |
} |
||
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input { |
|||
.infobox > tbody > tr:last-of-type > td:first-of-type { |
|||
margin-top: 1px; |
|||
border-bottom-left-radius: 10px; |
|||
border-bottom-right-radius: 10px; |
|||
} |
} |
||
.editOptions .g-recaptcha { |
|||
.infobox.bordered { |
|||
margin-bottom: 10px; |
|||
border-collapse: collapse; |
|||
} |
} |
||
.infobox.bordered td, |
|||
.mw-ui-vform { |
|||
.infobox.bordered th { |
|||
width: 302px; |
|||
border: 1px solid #aaa; |
|||
} |
} |
||
.infobox td, .infobox th, |
|||
/* Diff lines */ |
|||
.infobox.bordered td, .infobox.bordered th { |
|||
.diff-addedline, .diff-deletedline, .diff-context { |
|||
padding: 2px; |
|||
font-size: 88% !important; |
|||
line-height: 1.6 !important; |
|||
vertical-align: top; |
|||
white-space: -moz-pre-wrap; |
|||
white-space: pre-wrap !important; |
|||
border-style: solid; |
|||
border-width: 1px 1px 1px 4px; |
|||
border-radius: 0.33em; |
|||
} |
} |
||
/* Dismissable site notice */ |
|||
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { |
|||
.sitedir-ltr .mw-dismissable-notice-body { |
|||
font: x-small sans-serif; |
|||
margin: 0 60px 0 0; |
|||
} |
|||
.sitedir-rtl .mw-dismissable-notice-body { |
|||
margin: 0 0 0 60px; |
|||
} |
|||
/* Root category */ |
|||
body.page-Category_Dragon_Quest_Wiki.action-view #mw-subcategories h3:last-of-type, |
|||
body.page-Category_Dragon_Quest_Wiki.action-view #mw-subcategories ul:last-of-type, |
|||
body.page-Category_Dragon_Quest_Wiki.action-view #catlinks { |
|||
display: none; |
|||
} |
} |
||
Line 378: | Line 312: | ||
height: 474px; |
height: 474px; |
||
line-height: 1.4em; |
line-height: 1.4em; |
||
} |
|||
.wikiEditor-ui .wikiEditor-ui-view { |
|||
border: 1px solid #007500; |
|||
} |
} |
||
.mw-summary-preview { |
.mw-summary-preview { |
||
Line 392: | Line 323: | ||
margin-right: 3px; |
margin-right: 3px; |
||
} |
} |
||
/* Keep create account benefits up top */ |
|||
.mw-special-CreateAccount #userloginForm { |
|||
margin-right: 90px; |
|||
} |
|||
/* Adjust inputbox button padding in Firefox */ |
|||
@-moz-document url-prefix() { |
|||
.bodySearchWrap .mw-ui-button, .createboxButton { |
|||
padding-top: 4px; |
|||
padding-bottom: 5px; |
|||
} |
|||
} |
|||
/* Mark redirects on Special:AllPages and Special:EditWatchlist */ |
|||
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { |
|||
color: #888 !important; |
|||
} |
|||
/* Media player */ |
|||
#file > .video-js { display: inline-block !important; } |
|||
.thumb .video-js { margin-left: auto; margin-right: auto; } |
|||
.video-js .vjs-progress-control .vjs-mouse-display { z-index: 2; } |
|||
.infobox .video-js { margin-top: 1px; min-width: 200px; width: auto !important; } |
|||
.video-js .vjs-control-bar, .video-js .vjs-volume-vertical { background: #000; } |
|||
.video-js .vjs-mouse-display .vjs-time-tooltip { background: #111; } |
|||
.video-js { overflow-x: clip; display: block !important; } |
|||
/* Newbie bug fix */ |
|||
body.newbie .video-js { overflow: hidden !important; } |
|||
body.newbie .vjs-time-tooltip { display: none !important; } |
|||
/* Edit section */ |
/* Edit section */ |
||
Line 428: | Line 329: | ||
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type), |
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type), |
||
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) { |
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) { |
||
margin: 0; |
|||
color: unset; |
|||
} |
} |
||
.client-js .editButtons .editHelp { |
.client-js .editButtons .editHelp { |
||
display: none; |
display: none; |
||
} |
} |
||
/* remove box-shadow from notifications */ |
|||
/* OOUI fixes */ |
|||
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus { |
|||
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { |
|||
overflow: visible; |
|||
} |
|||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon { |
|||
display:none; |
|||
} |
|||
.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, .oo-ui-tagMultiselectWidget-handle { |
|||
border:1px solid #AAA; |
|||
} |
|||
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus { |
|||
border:1px solid #007500; |
|||
border-radius:0px; |
|||
box-shadow: none; |
|||
} |
|||
.oo-ui-panelLayout-framed { |
|||
border: 1px solid #007500; |
|||
border-radius: 0px; |
|||
} |
|||
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button { |
|||
box-shadow: none !important; |
|||
border: 1px solid #ccc !important; |
|||
} |
|||
.oo-ui-dropdownWidget-handle { |
|||
border: 1px solid gray; |
|||
} |
|||
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea { |
|||
border: 1px solid gray; |
|||
border-radius: 0.25em !important; |
|||
} |
|||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus { |
|||
border-color:#007500; |
|||
box-shadow:none; |
|||
} |
|||
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input { |
|||
border-radius: 0px !important; |
|||
box-shadow: none; |
box-shadow: none; |
||
transition: none; |
|||
} |
} |
||
/* Indicator icons */ |
|||
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout { |
|||
.mw-indicators, |
|||
border-color: #007500; |
|||
#mw-indicator-shortcut { |
|||
} |
|||
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning { |
|||
background-color: #ffc6cd; |
|||
border-color: #b80000; |
|||
} |
|||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { margin-right: 10px; display: block; vertical-align: middle !important; } |
|||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout-group { display: block !important; } |
|||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon { display: none !important; } |
|||
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded .oo-ui-fieldsetLayout.mw-collapsible .oo-ui-fieldsetLayout-header { padding-left: 0 !important; margin-bottom: 0 !important; } |
|||
/* disable calendar widget */ |
|||
.mw-widget-calendarWidget { |
|||
display: none !important; |
|||
} |
|||
.mw-widget-dateInputWidget-handle { |
|||
border-radius: 0px; |
|||
} |
|||
/* Formatting fixes */ |
|||
.mw-parser-output table sup { white-space: nowrap; } |
|||
div[style*="column-count"] > p { margin: 0 !important; } |
|||
span.comment, .mw-parser-output a.external.free, .filehistory.wikitable td[dir] { |
|||
word-wrap: anywhere; |
|||
} |
|||
/* Scrollable tables */ |
|||
table.scrollable { |
|||
display: block; |
|||
overflow: auto; |
|||
max-width: max-content; |
|||
border: 0; |
|||
} |
|||
/* Show/hide toggles */ |
|||
.navbox .mw-collapsible-toggle { |
|||
text-align: right; |
|||
min-width: 3.729em; |
|||
} |
|||
.wikitable.mw-collapsed .mw-collapsible-toggle { |
|||
margin-left: 10px; |
|||
} |
|||
/* Horizontal rule */ |
|||
hr { overflow: hidden; } |
|||
/* Self-link color */ |
|||
a.mw-selflink { color: inherit !important; } |
|||
/* Special:Preferences */ |
|||
#mw-htmlform-mobile .oo-ui-inline-help { display: none; } |
|||
/* fake links */ |
|||
span.fakelink { |
|||
color: #002bb8; |
|||
cursor: pointer; |
|||
} |
|||
span.fakelink:hover { |
|||
text-decoration: underline; |
|||
} |
|||
/* Miscellaneous */ |
|||
pre { |
|||
background-color: #fff; |
|||
border: 1px dashed #007500; |
|||
color: #000; |
|||
overflow:auto; |
|||
} |
|||
.mw_metadata { |
|||
margin-top: 5px; |
|||
} |
|||
#bodyContent { |
|||
position: relative; |
position: relative; |
||
} |
} |
||
.mw- |
.mw-indicator { |
||
margin: 0 2px; |
|||
} |
|||
.top-right { |
|||
position: absolute; |
|||
top: -31px; |
|||
right: 1px; |
|||
} |
|||
.top-right-text { |
|||
position: absolute; |
|||
top: -17px; |
|||
right: 1px; |
|||
} |
} |
||
/* Explain text */ |
|||
fieldset { |
|||
.explain[title] { |
|||
border: 1px solid #007500; |
|||
text-decoration: none; |
|||
border-bottom: 1px dotted; |
|||
} |
} |
||
/* New user message box */ |
|||
div.tleft, div.tright { |
|||
.usermessage { |
|||
margin-top: 0.2em; |
|||
margin-top: 1em; |
|||
} |
} |
||
/* search feature fixes */ |
|||
blockquote { |
|||
.searchresults { |
|||
border-left: 3px solid #007500; |
|||
margin: 1em 0 1em 0.4em; |
|||
padding-left: 1em; |
|||
} |
} |
||
.searchresults .mw-search-exists { |
|||
#disambig { |
|||
margin-bottom: 3px; |
|||
border-top: 3px double #cccccc; |
|||
border-bottom: 3px double #cccccc; |
|||
margin-top:5px; |
|||
} |
} |
||
/* Width fixes */ |
|||
p { |
|||
table { |
|||
margin: 0.6em 0 0.7em 0; |
|||
max-width: 100%; |
|||
} |
} |
||
@media all and (max-width: 1100px) { |
|||
.mw-parser-output table { |
|||
.portlet { |
|||
min-width: 0 !important; |
|||
} |
|||
} |
} |
||
/* Multimedia viewer */ |
|||
#pagehistory li { |
|||
.mw-mmv-image img { |
|||
padding: 2px; |
|||
background: #fff !important; |
|||
} |
} |
||
.mw-mmv-filepage-buttons, |
|||
.mw-ui- |
.mw-mmv-reuse-pane .oo-ui-widget-disabled { |
||
display: none !important; |
|||
color: #000; |
|||
margin-bottom: 0.25em; |
|||
} |
} |
||
.mw-mmv-overlay { |
|||
z-index: 10000000000; |
|||
#localNotice { |
|||
margin-bottom: 0.4em; |
|||
} |
} |
||
.mw-mmv-wrapper { |
|||
z-index: 10000000001; |
|||
.mw-customtoggle, .mw-collapsible-toggle { |
|||
font-size: medium; |
|||
cursor: default; |
|||
} |
} |
||
/* Mobile only */ |
|||
.mw-collapsible-toggle { |
|||
.mobileonly { |
|||
padding-right: 0.3em; |
|||
display: none; |
|||
} |
} |
||
/* <h3> Misc / Unsorted </h2> */ |
|||
.mw-prefs-buttons { |
|||
background:transparent; |
|||
position:inherit; |
|||
padding:5px; |
|||
} |
|||
. |
.special li { |
||
line-height: 19px; |
|||
} |
} |
||
#preftoc a:active { |
#preftoc a:active { |
||
color: #00c; |
color: #00c; |
||
} |
} |
||
.easywrap { |
|||
width: 100%; |
|||
.special li { |
|||
table-layout: fixed; |
|||
word-wrap: break-word; |
|||
overflow: hidden; |
|||
} |
} |
||
.right { |
|||
text-align: right; |
|||
a.mw-selflink:hover { |
|||
color: inherit; |
|||
} |
} |
||
#editpage-copywarn { |
|||
span#mw-editform-cancel { |
|||
margin: 0.6em 0 0.7em 0; |
|||
} |
|||
.contentbox > .mw-collapsible-toggle { |
|||
float: none !important; |
|||
} |
|||
.successbox { |
|||
border-color: #008000; |
|||
} |
|||
.errorbox { |
|||
border-color: #d33d33; |
|||
} |
|||
.messagebox, .errorbox, .warningbox, .successbox { |
|||
padding:12px; |
|||
} |
|||
div.noarticletext { |
|||
border: 1px solid #007500; |
|||
background: transparent; |
|||
padding-left: 7px; |
|||
font-size: 95%; |
|||
} |
|||
.thumb .mediaContainer { |
|||
margin: 4px auto 2px; |
|||
} |
|||
.thumb .multiVert .mediaContainer { |
|||
margin: 3px auto -1px; |
|||
} |
|||
.mw-changeslist-legend { |
|||
border: 1px solid #aaa; |
|||
} |
|||
.mw-highlight pre { |
|||
border: 1px dashed gray; |
|||
} |
|||
#toc, .toc { |
|||
margin-bottom: 3px; |
|||
} |
|||
.suggestions-result-current { |
|||
background-color:#7C2411; |
|||
} |
|||
#editpage-specialchars { |
|||
background:#fff; |
|||
} |
|||
.mw-editinginterface { |
|||
color:red; |
|||
} |
} |
||
div.mw-translatenotice, div.mw-editinginterface, div.mw-translateinterface { |
|||
#pagehistory li.selected { |
|||
margin: 0.4em 0 0.5em 0; |
|||
} |
} |
Latest revision as of 00:35, January 26, 2023
/* CSS placed here will be applied to all skins */
/* <h3> Shared interface </h3> */
#toc, .toc {
margin-bottom: 3px;
}
div.tleft, div.tright {
margin-top: 0.2em;
margin-bottom: 0.8em;
}
.thumb .mediaContainer {
margin: 4px auto 2px;
}
.thumb .multiVert .mediaContainer {
margin: 3px auto -1px;
}
.ns-104 div.thumb {
border-color: transparent;
}
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
li.gallerycaption {
text-align: unset;
}
.mw_metadata {
margin-top: 5px;
}
#catlinks li {
margin: 0.28em 0;
line-height: 1em;
}
blockquote {
border-left: 3px solid #06f;
margin-left: 2em;
padding-left: 1em;
}
.mw-collapsible-toggle {
padding-right: 0.3em;
}
.infobox .mw-collapsible-toggle {
min-width: 39px;
text-align: right;
}
.contentbox > .mw-collapsible-toggle {
float: none !important;
}
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
color: #888 !important;
}
/* main page */
body.page-Croc_Wiki.action-view h1.firstHeading,
body.page-Croc_Wiki.action-view #contentSub > *,
body.page-Croc_Wiki.action-view #siteSub,
body.page-Croc_Wiki.action-view #catlinks,
body.page-Croc_Wiki.action-view #lastmod {
display: none !important;
}
body.page-Pokémon_Wiki.action-view #bodyContent {
margin-top: 16px;
}
body.page-Pokémon_Wiki.action-view .usermessage {
margin-top: 43px;
}
/* revision info */
.mw-revision.warningbox, div.mw-message-box-warning.mw-revision.mw-message-box {
margin-top:0px;
padding:0px;
border:0px;
background:none;
}
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
color: #54595d;
}
/* forum formatting */
.forumheader {
border: 1px solid #88A;
background-color: #F8F8FF;
margin-top: 1em;
margin-bottom: 1em;
padding: 8px;
}
.forumlist td.forum_edited a {
color: #000;
text-decoration: none;
}
.forumlist td.forum_title a {
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold;
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
background: none;
font-weight: normal;
padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* References */
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
/* User pages */
.ns-2 #mw-content-text p > img {
max-width: 100% !important;
height: auto !important;
}
/* User talk pages */
.ns-3 [style*="position:fixed"],
.ns-3 [style*="position: fixed"] {
display: none;
}
/* <h3> All pages </h3> */
#bodyContent {
position: relative;
}
/* Diff text */
.diffchange { font-weight: normal; }
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 92%;
}
/* OOUI fix */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
overflow: visible;
}
/* Video widget */
.infobox .videoWidget,
.infobox .videoWidget iframe {
display: block !important;
}
.infobox .autoResize {
margin: 0 auto !important;
}
.autoResize:not(.thumbinner) .thumbcaption {
margin: 0;
padding: 0;
}
.videoWidget + p {
margin: 0;
}
/* Keep create account benefits up top */
.mw-special-CreateAccount #userloginForm {
margin-right: 90px;
}
/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() {
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 4px;
padding-bottom: 5px;
}
}
/* Media player fix */
.wikitable .mediaContainer {
margin-top: 2px;
}
/* remove box-shadow from notifications */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
box-shadow: none;
}
/* Tabber */
.infobox .tabbernav {
font-size: 90%;
}
.tabber.info {
display: block;
float: right;
margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
max-width: 100% !important;
height: auto !important;
}
.tabber.info table {
display: block !important;
float: none !important;
width: auto !important;
max-width: none !important;
margin: 0 !important;
overflow-x: auto !important;
}
.tabber.info tbody {
display: table !important;
width: 100% !important;
}
@media all and (max-width: 1100px) {
.mw-parser-output table img {
max-width: 100% !important;
height: auto !important;
}
.tabber.gocenter {
width: 100% !important;
}
.tabbertab > .wikitable,
.tabbertab > .sortable {
width: 100% !important;
}
}
/* Infobox templates */
.infobox {
background-color: #fff;
border: 1px solid gray;
float: right;
font-size: 88%;
width: 300px;
margin:0 0 1em 1.15em;
border-radius:1em;
padding:3px;
border-spacing:2px;
}
.infobox th {
border-radius:1em;
}
.infobox tr {
vertical-align: top;
}
.infobox td, .infobox th {
padding: 2px;
}
.infobox > tbody > tr:first-child > td {
border-radius:1em;
}
.infobox > tbody > tr:last-of-type > td:first-of-type {
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox td, .infobox th,
.infobox.bordered td, .infobox.bordered th {
padding: 2px;
}
/* Dismissable site notice */
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0 60px 0 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
margin: 0 0 0 60px;
}
/* Root category */
body.page-Category_Dragon_Quest_Wiki.action-view #mw-subcategories h3:last-of-type,
body.page-Category_Dragon_Quest_Wiki.action-view #mw-subcategories ul:last-of-type,
body.page-Category_Dragon_Quest_Wiki.action-view #catlinks {
display: none;
}
/* Edit box */
.wikiEditor-ui-toolbar .section-main,
.wikiEditor-ui-toolbar .tabs {
height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.mw-summary-preview {
margin-bottom: 0.5em;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: 3px;
}
/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
margin: 0;
color: unset;
}
.client-js .editButtons .editHelp {
display: none;
}
/* remove box-shadow from notifications */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
box-shadow: none;
}
/* Indicator icons */
.mw-indicators,
#mw-indicator-shortcut {
position: relative;
}
.mw-indicator {
margin: 0 2px;
}
/* Explain text */
.explain[title] {
text-decoration: none;
border-bottom: 1px dotted;
}
/* New user message box */
.usermessage {
margin-top: 1em;
}
/* search feature fixes */
.searchresults {
margin: 1em 0 1em 0.4em;
}
.searchresults .mw-search-exists {
margin-bottom: 3px;
}
/* Width fixes */
table {
max-width: 100%;
}
@media all and (max-width: 1100px) {
.mw-parser-output table {
min-width: 0 !important;
}
}
/* Multimedia viewer */
.mw-mmv-image img {
background: #fff !important;
}
.mw-mmv-filepage-buttons,
.mw-mmv-reuse-pane .oo-ui-widget-disabled {
display: none !important;
}
.mw-mmv-overlay {
z-index: 10000000000;
}
.mw-mmv-wrapper {
z-index: 10000000001;
font-size: medium;
}
/* Mobile only */
.mobileonly {
display: none;
}
/* <h3> Misc / Unsorted </h2> */
.special li {
line-height: 19px;
}
#preftoc a:active {
color: #00c;
}
.easywrap {
width: 100%;
table-layout: fixed;
word-wrap: break-word;
overflow: hidden;
}
.right {
text-align: right;
}
#editpage-copywarn {
margin: 0.6em 0 0.7em 0;
}
div.mw-translatenotice, div.mw-editinginterface, div.mw-translateinterface {
margin: 0.4em 0 0.5em 0;
}