MediaWiki:Common.css: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
crocwiki
(fixing this then)
(crocwiki)
 
(12 intermediate revisions by the same user not shown)
Line 1:
/* CSS placed here will be applied to all skins */
 
/* Image<h3> thumbsShared 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 {
margin-bottom: 0;
Line 32 ⟶ 33:
}
 
.mw_metadata {
.gallery.center {
margin-lefttop: auto !important5px;
margin-right: auto !important;
}
.gallery.centertext .gallerytext {
text-align: center !important;
}
 
#catlinks li {
.mw-gallery-slideshow .gallerybox + .gallerybox {
displaymargin: none0.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 {
verticalpadding-alignright: top0.3em;
}
.infobox td, .infobox th {
padding: 2px;
}
 
.infobox .mw-collapsible-toggle {
min-width: 39px;
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;
}
 
/* warningmain boxpage */
 
.messagebox, .errorbox, .warningbox, .successbox {
padding:12px;
}
 
div.mw-warning-with-logexcerpt {
border: 2px solid #007f20;
}
 
.mw-revision.warningbox {
margin-top:0px;
padding:0px;
border:0px;
background:transparent;
}
 
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
color: #54595d;
}
 
/* main page, adapted from Super Mario Wiki */
 
body.page-Croc_Wiki.action-view h1.firstHeading,
body.page-Croc_Wiki.action-view .mw-revision#contentSub > *,
body.page-Croc_Wiki.action-view #siteSub,
body.page-Croc_Wiki.action-view #catlinks,
Line 118 ⟶ 72:
display: none !important;
}
body.page-Croc_WikiPokémon_Wiki.action-view #bodyContent {
margin-top: 16px;
}
body.page-Croc_WikiPokémon_Wiki.action-view .usermessage {
margin-top: 43px;
}
 
/* revision info */
/* <h3> Navigation templates </h3> */
.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 {
.navbox {
color: #54595d;
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,
/* forum formatting */
.navbox .navbox {
.forumheader {
margin-top: 0;
border: 1px solid #88A;
background-color: #F8F8FF;
margin-top: 1em;
margin-bottom: 1em;
padding: 8px;
}
.forumlist td.forum_edited a {
.navbox .mw-collapsible-toggle-expanded {
color: #000;
padding-left: 7px;
text-decoration: none;
}
.forumlist td.forum_title a {
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th {
padding-left: 42px20px;
}
.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;
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;
}
.navbox trforumlist 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]) {
/* References */
background: none repeat scroll 0 0 #E6E6E6;
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
.navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited {
colordisplay: #000000inline;
}
ol.references span {
.navbox tr:nth-child(2n) td {
line-height: 1;
background: none repeat scroll 0 0 #F6F6F6;
}
 
.navbox tr td {
/* User pages */
background: none repeat scroll 0 0 #FCFCFC;
.ns-2 #mw-content-text p > img {
max-width: 100% !important;
height: auto !important;
}
 
.navbox td a {
/* User talk pages */
color: #0000FF;
.ns-3 [style*="position:fixed"],
.ns-3 [style*="position: fixed"] {
display: none;
}
 
.navbox td a:visited {
/* <h3> All pages </h3> */
color: #0000CC;
 
#bodyContent {
position: relative;
}
 
.navbox td a.new {
/* Diff text */
color: #CC2200;
.diffchange { font-weight: normal; }
}
.diff-addedline, .diff-deletedline, .diff-context {
.navbox td a.new:visited {
font-size: 92%;
color: #A55858;
}
.navbox td a.selflink {
color: #000;
}
 
/* OOUI fix */
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a {
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
color: black !important;
overflow: visible;
}
 
/* NoticeVideo templateswidget */
.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-top: 0.75em auto !important;
}
.autoResize:not(.thumbinner) .thumbcaption {
#mw-imagepage-content .notice-template:not(#aboutfile) {
margin-top: 0.75em !important;
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;
}
}
 
/* IndicatorMedia iconsplayer fix */
.wikitable .mediaContainer {
.mw-indicators,
margin-top: 2px;
#mw-indicator-shortcut {
position: relative;
}
 
.mw-indicator {
/* remove box-shadow from notifications */
margin: 0 2px;
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
}
box-shadow: none;
.mw-indicator img {
image-rendering: auto !important;
}
#mw-indicator-mw-helplink {
display: none;
}
 
Line 265 ⟶ 228:
}
 
@media all and (max-width: 1100px) {
/* References */
.mw-parser-output table img {
ol.references {
max-width: 100% !important;
margin-top: 0;
height: auto !important;
font-size: 90%;
}
.tabber.gocenter {
width: 100% !important;
}
.tabbertab > .wikitable,
.tabbertab > .sortable {
width: 100% !important;
}
}
 
ol.references div {
/* Infobox templates */
display: inline;
 
}
.infobox {
ol.references span {
background-color: #fff;
line-height: 1;
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 {
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 {
margin-toppadding: 10px2px;
}
 
#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 326 ⟶ 312:
height: 474px;
line-height: 1.4em;
}
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #007500;
}
.mw-summary-preview {
Line 340 ⟶ 323:
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 */
Line 376 ⟶ 329:
.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 */
/* 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;
border-radius:0px;
}
 
.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;
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;
}
 
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
background-color:#d2f8d2;
color:black !important;
}
 
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
background-color:#90EE90;
color:black !important;
}
 
.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 {
background-color:#90EE90;
color:black !important;
}
 
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
background-color: #e7f4cd;
background-image: -webkit-linear-gradient(top,#f4faea 0,#d9eeb0 100%);
background-image: linear-gradient(to bottom,#f4faea 0,#d9eeb0 100%);
border: 1px solid #cee1a6;
}
 
.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;
}
 
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;
}
.mw-newarticletextindicator {
margin-bottom: 10px0 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-bottomtop: 0.8em1em;
}
 
/* search feature fixes */
blockquote {
.searchresults {
border-left: 3px solid #007500;
margin-left: 2em1em 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: 11.8em0 !important;
}
}
 
/* Multimedia viewer */
#pagehistory li {
.mw-mmv-image img {
padding: 2px;
background: #fff !important;
}
.mw-mmv-filepage-buttons,
 
.mw-mmv-reuse-pane .oo-ui-buttonwidget-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;
}
 
.rightspecial li {
textline-alignheight: right19px;
}
 
#preftoc a:active {
color: #00c;
}
.easywrap {
 
width: 100%;
.special li {
linetable-heightlayout: 19pxfixed;
word-wrap: break-word;
overflow: hidden;
}
.right {
 
text-align: right;
a.mw-selflink:hover {
color: inherit;
}
 
#editpage-copywarn {
span#mw-editform-cancel {
displaymargin:none 0.6em 0 0.7em 0;
}
 
div.mw-translatenotice, div.mw-editinginterface, div.mw-translateinterface {
.contentbox > .mw-collapsible-toggle {
margin: 0.4em 0 0.5em 0;
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;
}
 
.catlinks {
margin-top:10px;
}
 
#pagehistory li.selected {
outline: 1px dashed #007500;
}
 
.suggestions-result-current {
background-color:#007500;
}
 
.whitelinks a {
color:#FFF !important;
}
 
/* remove box-shadow from notifications */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
box-shadow: none;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu