There are currently 0 stubs. You can help us by expanding these articles!
Difference between revisions of "MediaWiki:Common.css"
From the Conker Wiki, the Conker encyclopedia
Jump to navigationJump to search
Limp Bizkit (talk | contribs) (fix again) |
Metalex123 (talk | contribs) |
||
(19 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | |||
/* Image thumbs */ | |||
html .thumbimage { background-color: #fff; } | |||
/* Image/gallery classes */ | |||
img.blackbg, .gallery.blackbg img { background: #000 !important; } | |||
img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img { | |||
background: #808080 !important; | |||
} | |||
ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img { | |||
image-rendering: crisp-edges; | |||
image-rendering: pixelated; | |||
} | |||
.pixelated, .pixelart, .sprites, .sprite { | |||
image-rendering: crisp-edges; image-rendering: pixelated; | |||
} | |||
/* Gallery */ | |||
ul.gallery, li.gallerybox div.thumb { | |||
margin-bottom: 0; | |||
padding-bottom: 0; | |||
} | |||
#bodyContent ul.gallery { | |||
margin: 2px; | |||
padding: 2px; | |||
} | |||
li.gallerycaption { | |||
text-align: unset; | |||
} | |||
.gallery.center { | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | |||
.gallery.centertext .gallerytext { | |||
text-align: center !important; | |||
} | |||
.mw-gallery-slideshow .gallerybox + .gallerybox { | |||
display: none; | |||
} | |||
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox { | |||
display: inline-block !important; | |||
} | |||
/* links */ | /* links */ | ||
a { color: #00f; } | a { color: #00f; } | ||
Line 36: | Line 84: | ||
} | } | ||
.infobox .mw-collapsible-toggle- | .infobox .mw-collapsible-toggle { | ||
min-width: 39px; | |||
text-align: right; | |||
} | } | ||
Line 123: | Line 172: | ||
ol.references span { | ol.references span { | ||
line-height: 1; | line-height: 1; | ||
} | } | ||
Line 243: | Line 287: | ||
/* login */ | /* login */ | ||
.mw-ui-button.mw-ui-progressive { | .mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:not(:disabled) { | ||
background-color: darkolivegreen; | background-color: darkolivegreen; | ||
color: #fff; | color: #fff; | ||
Line 249: | Line 293: | ||
} | } | ||
.mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.is-on { | .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.is-on, .mw-ui-button.mw-ui-progressive:not(:disabled):active, .mw-ui-button.mw-ui-progressive:not(:disabled).is-on { | ||
background-color: darkolivegreen; | background-color: darkolivegreen; | ||
border-color: darkolivegreen; | border-color: darkolivegreen; | ||
Line 255: | Line 299: | ||
} | } | ||
.mw-ui-button.mw-ui-progressive:hover { | .mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:not(:disabled):hover { | ||
background-color: #718e3f; | background-color: #718e3f; | ||
border-color: #718e3f; | border-color: #718e3f; | ||
Line 270: | Line 314: | ||
/* main page */ | /* main page */ | ||
body.page- | body.page-Main_Page.action-view h1.firstHeading, | ||
body.page- | body.page-Main_Page.action-view #contentSub > *, | ||
body.page- | body.page-Main_Page.action-view #siteSub, | ||
body.page- | body.page-Main_Page.action-view #catlinks, | ||
body.page- | body.page-Main_Page.action-view #lastmod { | ||
display: none; | display: none !important; | ||
} | } | ||
body.page- | body.page-Main_Page.action-view #bodyContent { | ||
margin-top: 16px; | margin-top: 16px; | ||
} | } | ||
body.page- | body.page-Main_Page.action-view .usermessage { | ||
margin-top: 43px; | margin-top: 43px; | ||
} | } | ||
/* Edit box */ | /* Edit box */ | ||
Line 362: | Line 399: | ||
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { | .oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label { | ||
overflow: visible; | overflow: visible; | ||
} | } | ||
Line 394: | Line 427: | ||
.oo-ui-dropdownWidget-handle { | .oo-ui-dropdownWidget-handle { | ||
border: 1px solid gray; | border: 1px solid gray; | ||
border-radius:0px; | |||
} | } | ||
Line 410: | Line 444: | ||
box-shadow: none; | box-shadow: none; | ||
transition: none; | transition: none; | ||
} | |||
.mw-ui-button.mw-ui-progressive:focus, .mw-ui-button.mw-ui-progressive:not(:disabled):focus { | |||
box-shadow: inset 0 0 0 1px darkolivegreen,inset 0 0 0 2px #ffffff; | |||
} | |||
.mw-ui-input:focus { | |||
border-color: darkolivegreen; | |||
box-shadow: inset 0 0 0 1px darkolivegreen; | |||
} | } | ||
Line 429: | Line 472: | ||
border-radius: 0px; | border-radius: 0px; | ||
} | } | ||
/* Formatting fixes */ | |||
li ul, li ol { margin-top: 0.1em !important; } | |||
dl + ul, dl + ol { margin-top: -0.3em !important; } | |||
ul + dl, ol + dl { margin-top: 0.3em !important; } | |||
.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-links */ | |||
body.mediawiki a.mw-selflink { | |||
color: inherit !important; | |||
cursor: inherit !important; | |||
text-decoration: inherit !important; | |||
font-weight: bold !important; | |||
} | |||
/* Inline link colors */ | |||
a font:hover, a span:hover { | |||
text-decoration: inherit; | |||
} | |||
/* Special:Preferences */ | |||
#mw-htmlform-mobile .oo-ui-inline-help { display: none; } | |||
/* Miscellaneous */ | /* Miscellaneous */ | ||
Line 457: | Line 546: | ||
top: -17px; | top: -17px; | ||
right: 1px; | right: 1px; | ||
} | } | ||
Line 594: | Line 677: | ||
.mw-editinginterface { | .mw-editinginterface { | ||
color:red; | color:red; | ||
} | |||
.catlinks { | |||
margin-top:10px; | |||
} | } |
Latest revision as of 19:30, March 14, 2022
/* CSS placed here will be applied to all skins */
/* Image thumbs */
html .thumbimage { background-color: #fff; }
/* Image/gallery classes */
img.blackbg, .gallery.blackbg img { background: #000 !important; }
img.graybg, img.greybg, .gallery.graybg img, .gallery.greybg img {
background: #808080 !important;
}
ul.gallery img, table.filehistory img, table.listfiles img, table.searchResultImage img {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
.pixelated, .pixelart, .sprites, .sprite {
image-rendering: crisp-edges; image-rendering: pixelated;
}
/* Gallery */
ul.gallery, li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
#bodyContent ul.gallery {
margin: 2px;
padding: 2px;
}
li.gallerycaption {
text-align: unset;
}
.gallery.center {
margin-left: auto !important;
margin-right: auto !important;
}
.gallery.centertext .gallerytext {
text-align: center !important;
}
.mw-gallery-slideshow .gallerybox + .gallerybox {
display: none;
}
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox {
display: inline-block !important;
}
/* links */
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; }
/* edit options */
.mw-editform .editOptions {
border-radius:0px;
}
.editOptions {
background-color:#e4eae5;
border: 1px solid #778870;
border-top:none;
}
/* Infobox templates */
.infobox {
float: right;
margin: 0 0 1em 1.15em;
width: 300px;
border: 1px solid black;
padding: 3px;
font-size: 88%;
}
.infobox tr {
vertical-align: top;
}
.infobox td, .infobox th {
padding: 2px;
}
.infobox .mw-collapsible-toggle {
min-width: 39px;
text-align: right;
}
.infobox.orange { border: 1px solid saddlebrown; background: #FFF6E5; }
.infobox.orange > tbody > tr:first-child > td { background: #FFA500; }
.infobox.orange > tbody > tr:nth-child(2n+3) { background: #FFC966; }
/* warning box */
.successbox, .warningbox {
background-color: #E4EAE5;
margin-bottom: 10px;
border: 1px solid #778870;
padding: 12px;
}
div.mw-warning-with-logexcerpt {
border: 2px solid #778870;
}
.mw-revision.warningbox {
margin-top:0px;
padding:0px;
border:0px;
background:transparent;
}
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
color: #54595d;
}
/* Black border & cell tables */
table.blacktable, table.blacktable {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
table.blacktable > * > tr > td, table.blacktable > * > tr > th, table.blacktable > * > tr > td, table.blacktable > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}
/* notice templates */
.notice-template.image,
.notice-template.copyright {
padding: 5px;
}
.notice-template.image,
.notice-template#aboutfile,
.notice-template.copyright {
width: 90%;
margin: 5px auto;
}
.notice-template#aboutfile,
.notice-template.copyright {
font-size: 95%;
}
.notice-template.copyright {
background: #FFF;
border: 2px solid #FFA500;
}
body:not(.ns-6) .notice-template + .notice-template {
margin-top: -0.375em !important;
}
#mw-imagepage-content .notice-template + #aboutfile {
margin-top: 0.75em !important;
}
#mw-imagepage-content .notice-template:not(#aboutfile) {
margin-top: 0.75em !important;
margin-bottom: 2.5px !important;
}
.notice-template p {
margin: 0.6em 0;
}
/* rc display adjustment */
.client-js .mw-input-hidden {
display:inline-block;
}
/* References */
ol.references {
margin-top: 0;
font-size: 90%;
}
ol.references div {
display: inline;
}
ol.references span {
line-height: 1;
}
/* Captcha spacing */
#editform #wpCaptchaWord {
margin-top: 2.5px;
}
#userloginForm label:not([for]) + .mw-input {
margin-top: 10px;
}
#userloginForm .mw-ui-vform-field:nth-of-type(7) {
margin-bottom: 5px;
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
/* Diff lines */
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 88% !important;
line-height: 1.6 !important;
vertical-align: top;
white-space: -moz-pre-wrap;
white-space: pre-wrap;
border-style: solid;
border-width: 1px 1px 1px 4px;
border-radius: 0.33em;
}
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context {
font: x-small sans-serif;
}
/* <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;
}
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th {
padding-left: 42px;
}
.navbox tr:first-child th {
background: none repeat scroll 0 0 #999999;
color: white;
font-size: 12px;
font-weight: bold;
}
.navbox tr:first-child th, .navbox tr:first-child th a {
color: #FFFFFF !important;
}
.navbox tr th {
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;
}
/* <h4> conker </h4> */
.navbox.conker tr:first-child th, .navbox.conker tr:first-child th a {
background-color: #FFA500;
color:#000 !important;
}
.navbox.conker tr:nth-child(2n) td {
background-color: #FFC966;
}
.navbox.conker tr td {
background-color: #F5F5F5;
}
/* login */
.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:not(:disabled) {
background-color: darkolivegreen;
color: #fff;
border: 1px solid darkolivegreen;
}
.mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.is-on, .mw-ui-button.mw-ui-progressive:not(:disabled):active, .mw-ui-button.mw-ui-progressive:not(:disabled).is-on {
background-color: darkolivegreen;
border-color: darkolivegreen;
box-shadow: none;
}
.mw-ui-button.mw-ui-progressive:hover, .mw-ui-button.mw-ui-progressive:not(:disabled):hover {
background-color: #718e3f;
border-color: #718e3f;
}
.mw-ui-button:not(:disabled) {
transition:none;
}
#mw-createaccount-join {
background-color: ghostwhite;
color: #d76f00 !important;
}
/* main page */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-view #contentSub > *,
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod {
display: none !important;
}
body.page-Main_Page.action-view #bodyContent {
margin-top: 16px;
}
body.page-Main_Page.action-view .usermessage {
margin-top: 43px;
}
/* Edit box */
.wikiEditor-ui-toolbar .section-main,
.wikiEditor-ui-toolbar .tabs {
height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #778870;
}
.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;
}
/* 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;
}
}
/* Indicator icons */
.mw-indicators,
#mw-indicator-shortcut {
position: relative;
}
.mw-indicator {
margin: 0 2px;
}
.mw-indicator img {
image-rendering: auto !important;
}
#mw-indicator-mw-helplink {
display: none;
}
/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
color: #888 !important;
}
/* 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;
}
/* OOUI fixes */
.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 #778870;
border-radius:0px;
box-shadow: none;
}
.oo-ui-panelLayout-framed {
border: 1px solid #778870;
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:#778870;
box-shadow:none;
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input {
border-radius: 0px !important;
box-shadow: none;
transition: none;
}
.mw-ui-button.mw-ui-progressive:focus, .mw-ui-button.mw-ui-progressive:not(:disabled):focus {
box-shadow: inset 0 0 0 1px darkolivegreen,inset 0 0 0 2px #ffffff;
}
.mw-ui-input:focus {
border-color: darkolivegreen;
box-shadow: inset 0 0 0 1px darkolivegreen;
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
border-color: #778870;
}
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 */
li ul, li ol { margin-top: 0.1em !important; }
dl + ul, dl + ol { margin-top: -0.3em !important; }
ul + dl, ol + dl { margin-top: 0.3em !important; }
.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-links */
body.mediawiki a.mw-selflink {
color: inherit !important;
cursor: inherit !important;
text-decoration: inherit !important;
font-weight: bold !important;
}
/* Inline link colors */
a font:hover, a span:hover {
text-decoration: inherit;
}
/* Special:Preferences */
#mw-htmlform-mobile .oo-ui-inline-help { display: none; }
/* Miscellaneous */
pre {
background-color: #fff;
border: 1px dashed #778870;
color: #000;
overflow:auto;
}
.mw_metadata {
margin-top: 5px;
}
#bodyContent {
position: relative;
}
.mw-newarticletext {
margin-bottom: 10px;
}
.top-right {
position: absolute;
top: -31px;
right: 1px;
}
.top-right-text {
position: absolute;
top: -17px;
right: 1px;
}
fieldset {
border: 1px solid #778870;
}
div.tleft, div.tright {
margin-top: 0.2em;
margin-bottom: 0.8em;
}
blockquote {
border-left: 3px solid darkolivegreen;
margin-left: 2em;
padding-left: 1em;
}
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
margin-top:5px;
}
p {
margin: 0.6em 0 0.7em 0;
}
.portlet {
width: 11.8em;
}
#pagehistory li {
padding: 2px;
}
.mw-ui-button {
color: #000;
margin-bottom: 0.25em;
}
#localNotice {
margin-bottom: 0.4em;
}
.mw-customtoggle, .mw-collapsible-toggle {
cursor: default;
}
.mw-collapsible-toggle {
padding-right: 0.3em;
}
.mw-prefs-buttons {
background:transparent;
position:inherit;
padding:5px;
}
.right {
text-align: right;
}
#preftoc a:active {
color: #00c;
}
.special li {
line-height: 19px;
}
a.mw-selflink:hover {
color: inherit;
}
span#mw-editform-cancel {
display:none;
}
.contentbox > .mw-collapsible-toggle {
float: none !important;
}
.successbox {
border-color: #008000;
}
.errorbox {
border-color: #d33d33;
}
.messagebox, .errorbox, .warningbox, .successbox {
padding:12px;
}
div.noarticletext {
border: 2px solid #ff8c4e;
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:darkolivegreen;
}
#editpage-specialchars {
background:#fff;
}
.mw-editinginterface {
color:red;
}
.catlinks {
margin-top:10px;
}