MediaWiki:Common.css: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
cleanup css
(cleanup css)
Line 1:
/* 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 {
margin-bottom: 0;
Line 14 ⟶ 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-left: 1px3px solid #135B0906f;
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-Dragon_Quest_Wiki.action-view h1.firstHeading,
border: 2px solid #135B09;
body.page-Dragon_Quest_Wiki.action-view #contentSub > *,
body.page-Dragon_Quest_Wiki.action-view #siteSub,
body.page-Dragon_Quest_Wiki.action-view #catlinks,
body.page-Dragon_Quest_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 {info */
.mw-revision.warningbox, div.mw-message-box-warning.mw-revision.mw-message-box {
margin-top:0px;
padding:0px;
border:0px;
background:transparentnone;
}
 
Line 53 ⟶ 91:
}
 
/* rcforum display adjustmentformatting */
.forumheader {
.client-js .mw-input-hidden {
displayborder:inline-block 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 {
fontpadding-sizeleft: 90%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 ⟶ 131:
}
 
/* CaptchaUser spacingpages */
.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 linestext */
.diffchange { font-weight: normal; }
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 8892% !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;
}
 
/* 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;
}
 
/* EditVideo boxwidget */
.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;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: 3px;
}
 
Line 183 ⟶ 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 noticeTabber */
.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-radiusfloat:0px 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-radius: 1px solid gray1em;
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-colorradius: #135B091em;
}
 
.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-colorbottom-right-radius: #b8000010px;
}
 
.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;
}
 
/* MiscellaneousEdit 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 {
paddingmargin-bottom: 2px3px;
}
 
/* 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 {
textfont-alignsize: rightmedium;
}
 
/* Mobile only */
#preftoc a:active {
.mobileonly {
color: #00c;
display: none;
}
 
/* <h3> Misc / Unsorted </h2> */
 
.special li {
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 ⟶ 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;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu