MediaWiki:Common.css: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(crocwiki)
 
(One intermediate revision 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> */
/* Gallery */

#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 {
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
margin-bottom: 0;
Line 14: Line 33:
}
}


.mw_metadata {
/* link colors */
margin-top: 5px;
a { color: #00f; }
}
a:visited { color: #00c; }
.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; }


#catlinks li {
/* edit options */
margin: 0.28em 0;
.mw-editform .editOptions {
line-height: 1em;
border-radius:0px;
}
}


blockquote {
.editOptions {
border: 1px solid #135B09;
border-left: 3px solid #06f;
margin-left: 2em;
border-top:none;
padding-left: 1em;
}
}


.mw-collapsible-toggle {
/* warning box */
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 */
.messagebox, .errorbox, .warningbox, .successbox {
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
padding:12px;
color: #888 !important;
}
}


/* main page */
div.mw-warning-with-logexcerpt {
body.page-Croc_Wiki.action-view h1.firstHeading,
border: 2px solid #135B09;
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;
}
}


.mw-revision.warningbox {
/* 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:transparent;
background:none;
}
}


Line 53: Line 91:
}
}


/* rc display adjustment */
/* forum formatting */
.forumheader {
.client-js .mw-input-hidden {
display:inline-block;
border: 1px solid #88A;
background-color: #F8F8FF;
margin-top: 1em;
margin-bottom: 1em;
padding: 8px;
}
}
.forumlist td.forum_edited a {

color: #000;
/* Indicator icons */
text-decoration: none;
.mw-indicators,
#mw-indicator-shortcut {
position: relative;
}
}
.forumlist td.forum_title a {
.mw-indicator {
padding-left: 20px;
margin: 0 2px;
}
}
.forumlist td.forum_title a.forum_new {
.mw-indicator img {
font-weight: bold;
image-rendering: auto !important;
padding-left: 20px;
}
}
.forumlist td.forum_title a.forum_new:visited {

background: none;
/* Tabber */
font-weight: normal;
.infobox .tabbernav {
font-size: 90%;
padding-left: 20px;
}
}
.forumlist th.forum_title {
.tabber.info {
padding-left: 20px;
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;
}
}


Line 111: Line 131:
}
}


/* Captcha spacing */
/* User pages */
.ns-2 #mw-content-text p > img {
#editform #wpCaptchaWord {
max-width: 100% !important;
margin-top: 2.5px;
height: auto !important;
}
}

#userloginForm label:not([for]) + .mw-input {
/* User talk pages */
margin-top: 10px;
.ns-3 [style*="position:fixed"],
.ns-3 [style*="position: fixed"] {
display: none;
}
}

#userloginForm .mw-ui-vform-field:nth-of-type(7) {
/* <h3> All pages </h3> */
margin-bottom: 5px;

}
#bodyContent {
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
position: relative;
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
}


/* Diff lines */
/* Diff text */
.diffchange { font-weight: normal; }
.diff-addedline, .diff-deletedline, .diff-context {
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 88% !important;
font-size: 92%;
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;
}
}


/* OOUI fix */
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
font: x-small sans-serif;
overflow: visible;
}
}


/* Edit box */
/* Video widget */
.infobox .videoWidget,
.wikiEditor-ui-toolbar .section-main,
.infobox .videoWidget iframe {
.wikiEditor-ui-toolbar .tabs {
display: block !important;
height: auto;
}
}
.infobox .autoResize {
.wikiEditor-ui textarea#wpTextbox1 {
margin: 0 auto !important;
height: 474px;
line-height: 1.4em;
}
}
.autoResize:not(.thumbinner) .thumbcaption {
.wikiEditor-ui .wikiEditor-ui-view {
margin: 0;
border: 1px solid #135B09;
padding: 0;
}
}
.videoWidget + p {
.mw-summary-preview {
margin-bottom: 0.5em;
margin: 0;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: 3px;
}
}


Line 183: Line 189:
}
}


/* Media player fix */
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.wikitable .mediaContainer {
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
margin-top: 2px;
color: #888 !important;
}
}


/* remove box-shadow from notifications */
/* Edit section */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
box-shadow: none;
.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;
}
}


/* Dismissable site notice */
/* Tabber */
.infobox .tabbernav {
.sitedir-ltr .mw-dismissable-notice-body {
font-size: 90%;
margin: 0 60px 0 0;
}
}
.tabber.info {
.sitedir-rtl .mw-dismissable-notice-body {
display: block;
margin: 0 0 0 60px;
float: right;
margin: 0 0 0.5em 1em;
}
}
.tabber.info .nav {

display: block !important;
/* OOUI fixes */
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
overflow: visible;
}
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {

max-width: 100% !important;
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
height: auto !important;
display:none;
}
}
.tabber.info table {

display: block !important;
.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle, .oo-ui-tagMultiselectWidget-handle {
float: none !important;
border:1px solid #AAA;
width: auto !important;
max-width: none !important;
margin: 0 !important;
overflow-x: auto !important;
}
}
.tabber.info tbody {

display: table !important;
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
width: 100% !important;
border:1px solid #135B09;
border-radius:0px;
box-shadow: none;
}
}


@media all and (max-width: 1100px) {
.oo-ui-panelLayout-framed {
.mw-parser-output table img {
border: 1px solid #135B09;
max-width: 100% !important;
border-radius: 0px;
height: auto !important;
}
.tabber.gocenter {
width: 100% !important;
}
.tabbertab > .wikitable,
.tabbertab > .sortable {
width: 100% !important;
}
}
}


/* Infobox templates */
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
box-shadow: none !important;
border: 1px solid #ccc !important;
}


.infobox {
.oo-ui-dropdownWidget-handle {
background-color: #fff;
border: 1px solid gray;
border: 1px solid gray;
border-radius:0px;
float: right;
font-size: 88%;
width: 300px;
margin:0 0 1em 1.15em;
border-radius:1em;
padding:3px;
border-spacing:2px;
}
}


.infobox th {
.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea {
border: 1px solid gray;
border-radius:1em;
border-radius: 0.25em !important;
}
}


.infobox tr {
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
vertical-align: top;
border-color:#135B09;
box-shadow:none;
}
}
.infobox td, .infobox th {

padding: 2px;
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
border-radius: 0px !important;
box-shadow: none;
transition: none;
}
}


.infobox > tbody > tr:first-child > td {
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
border-color: #135B09;
border-radius:1em;
}
}


.infobox > tbody > tr:last-of-type > td:first-of-type {
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
border-bottom-left-radius: 10px;
background-color: #ffc6cd;
border-color: #b80000;
border-bottom-right-radius: 10px;
}
}


.infobox.bordered {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
border-collapse: collapse;
background-color:#d2f8d2;
color:black !important;
}
}
.infobox.bordered td,

.infobox.bordered th {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
border: 1px solid #aaa;
background-color:#90EE90;
color:black !important;
}
}


.infobox td, .infobox th,
.oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed, .oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed.oo-ui-optionWidget-highlighted, .oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
.infobox.bordered td, .infobox.bordered th {
background-color:#90EE90;
padding: 2px;
color:black !important;
}
}


/* Dismissable site notice */
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
.sitedir-ltr .mw-dismissable-notice-body {
background-color: #e7f4cd;
margin: 0 60px 0 0;
background-image: -webkit-linear-gradient(top,#f4faea 0,#d9eeb0 100%);
background-image: linear-gradient(to bottom,#f4faea 0,#d9eeb0 100%);
border: 1px solid #cee1a6;
}
}
.sitedir-rtl .mw-dismissable-notice-body {

margin: 0 0 0 60px;
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
background-color: #e7f4cd;
background-image: -webkit-linear-gradient(top,#d9eeb0 0,#f4faea 100%);
background-image: linear-gradient(to bottom,#d9eeb0 0,#f4faea 100%);
border: 1px solid #cee1a6;
}
}


/* Root category */
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { margin-right: 10px; display: block; vertical-align: middle !important; }
body.page-Category_Dragon_Quest_Wiki.action-view #mw-subcategories h3:last-of-type,
body:not(.mw-special-Export) .mw-htmlform-ooui-wrapper .oo-ui-fieldsetLayout-group { display: block !important; }
body.page-Category_Dragon_Quest_Wiki.action-view #mw-subcategories ul:last-of-type,
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.page-Category_Dragon_Quest_Wiki.action-view #catlinks {
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; }
display: none;

/* disable calendar widget */
.mw-widget-calendarWidget {
display: none !important;
}
}


/* Edit box */
.mw-widget-dateInputWidget-handle {
.wikiEditor-ui-toolbar .section-main,
border-radius: 0px;
.wikiEditor-ui-toolbar .tabs {
height: auto;
}
}
.wikiEditor-ui textarea#wpTextbox1 {

height: 474px;
/* Formatting fixes */
line-height: 1.4em;
.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;
}
}
.mw-summary-preview {

margin-bottom: 0.5em;
/* Scrollable tables */
table.scrollable {
display: block;
overflow: auto;
max-width: max-content;
border: 0;
}
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,

#wpSummaryLabel .oo-ui-textInputWidget input {
/* Special:Preferences */
padding-bottom: 0.5em;
#mw-htmlform-mobile .oo-ui-inline-help { display: none; }

/* fake links */
span.fakelink {
color: #002bb8;
cursor: pointer;
}
}
#wpSummaryWidget .oo-ui-labelElement-label {
span.fakelink:hover {
margin-right: 3px;
text-decoration: underline;
}
}


/* Miscellaneous */
/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,

.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.mw_metadata {
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
margin-top: 5px;
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
margin: 0;
color: unset;
}
}


.client-js .editButtons .editHelp {
#bodyContent {
display: none;
position: relative;
}
.mw-newarticletext {
margin-bottom: 10px;
}
.top-right {
position: absolute;
top: -31px;
right: 1px;
}
.top-right-text {
position: absolute;
top: -17px;
right: 1px;
}
}


/* remove box-shadow from notifications */
fieldset {
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
border: 1px solid #135B09;
box-shadow: none;
}
}


/* Indicator icons */
div.tleft, div.tright {
.mw-indicators,
margin-top: 0.2em;
#mw-indicator-shortcut {
margin-bottom: 0.8em;
position: relative;
}
}
.mw-indicator {

margin: 0 2px;
blockquote {
border-left: 3px solid #135B09;
margin-left: 2em;
padding-left: 1em;
}
}


/* Explain text */
#disambig {
.explain[title] {
border-top: 3px double #cccccc;
text-decoration: none;
border-bottom: 3px double #cccccc;
border-bottom: 1px dotted;
margin-top:5px;
}
}


/* New user message box */
p {
.usermessage {
margin: 0.6em 0 0.7em 0;
margin-top: 1em;
}
}


/* search feature fixes */
.portlet {
.searchresults {
width: 11.8em;
margin: 1em 0 1em 0.4em;
}
}


.searchresults .mw-search-exists {
#pagehistory li {
padding: 2px;
margin-bottom: 3px;
}
}


/* Width fixes */
.mw-ui-button {
table {
color: #000;
max-width: 100%;
margin-bottom: 0.25em;
}
}
@media all and (max-width: 1100px) {

.mw-parser-output table {

min-width: 0 !important;
#localNotice {
}
margin-bottom: 0.4em;
}
}


/* Multimedia viewer */
.mw-customtoggle, .mw-collapsible-toggle {
.mw-mmv-image img {
cursor: default;
background: #fff !important;
}
}
.mw-mmv-filepage-buttons,

.mw-mmv-reuse-pane .oo-ui-widget-disabled {
.mw-collapsible-toggle {
display: none !important;
padding-right: 0.3em;
}
}
.mw-mmv-overlay {

z-index: 10000000000;
.mw-prefs-buttons {
background:transparent;
position:inherit;
padding:5px;
}
}
.mw-mmv-wrapper {

z-index: 10000000001;
.right {
text-align: right;
font-size: medium;
}
}


/* Mobile only */
#preftoc a:active {
.mobileonly {
color: #00c;
display: none;
}
}

/* <h3> Misc / Unsorted </h2> */


.special li {
.special li {
line-height: 19px;
line-height: 19px;
}
}
#preftoc a:active {

color: #00c;
a.mw-selflink:hover {
color: inherit;
}
}
.easywrap {

width: 100%;
span#mw-editform-cancel {
table-layout: fixed;
display:none;
word-wrap: break-word;
overflow: hidden;
}
}
.right {

text-align: right;
.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 #135B09;
background: #FFF;
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;
}

.catlinks {
margin-top:10px;
}

#pagehistory li.selected {
outline: 1px dashed #135B09;
}

.suggestions-result-current {
background-color:#135B09;
}

.whitelinks a {
color:#FFF !important;
}
}


Line 511: Line 424:
}
}


div.mw-translatenotice, div.mw-editinginterface, div.mw-translateinterface {
/* remove box-shadow from notifications */
margin: 0.4em 0 0.5em 0;
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
box-shadow: none;
}
}

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;
}