Be sure to read our policy on citing sources before editing!

Difference between revisions of "MediaWiki:Common.css"

From Jiggywikki, a Banjo-Kazooie wiki
Jump to navigationJump to search
2,803 bytes added ,  19:29, March 14, 2022
no edit summary
(add back)
 
(24 intermediate revisions by one other 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 */
/* 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;
}


/* links */
/* links */
Line 119: Line 137:
}
}


/* Forum formatting -Algorithm & -Splaka */
.forumheader {
    background: #FFE79F;
border: 1px solid #7F5F00;
margin: 1em 0 15px;
padding: 12px;
}
.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:visited {
background: none;
font-weight: normal;
padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}


/* jiggywikki colors */  
/* jiggywikki colors */  
Line 163: Line 205:
ol.references span {
ol.references span {
line-height: 1;
line-height: 1;
}
ol.references li:target, sup.reference:target {
    background-color: transparent;
    font-weight: bold;
}
}


Line 174: Line 211:
margin-top: 2.5px;
margin-top: 2.5px;
}
}
.mw-ui-vform-field:nth-of-type(6) .mw-input {
#userloginForm label:not([for]) + .mw-input {
margin-top: 10px;
margin-top: 10px;
}
}
#userloginForm .mw-ui-vform-field:nth-of-type(6) {
#userloginForm .mw-ui-vform-field:nth-of-type(7) {
margin-bottom: 5px;
margin-bottom: 5px;
}
.mw-input img, #editform img, label img {
image-rendering: auto !important;
}
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
Line 238: Line 272:


/* main page */
/* main page */
body.page-Main_Page.action-view h1.firstHeading,
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 #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod,
body.page-Main_Page.action-view #lastmod {
body.page-Main_Page.action-view .mw-revision {  
display: none !important;
display: none;
}
}
body.page-Main_Page.action-view #bodyContent {
body.page-Main_Page.action-view #bodyContent {
Line 251: Line 286:
margin-top: 43px;
margin-top: 43px;
}
}
body.page-Main_Page.action-view #bodyContent {
 
margin-top: -20px;
.mainpagebox {
}
border: 2px solid #FBC21C;
body.page-Main_Page.action-view #siteNotice {
padding: 2px;
margin-bottom: 28px;
background: #F8F5C1;
border-radius: 1em;
}
}


hr {
.header {
  background-color:#a58f4c;
  background:#FBC21C;
  border-radius:10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  font-size:110%;
  font-weight:bold;
  text-align:center;
  padding:5px;
  margin-bottom:5px;
}
}


/* Media player fix */
/* Media player */
.wikitable .mediaContainer {
#file > .video-js { display: inline-block !important; }
margin-top: 2px;
.thumb .video-js { margin-left: auto; margin-right: auto; }
}
.video-js .vjs-progress-control .vjs-mouse-display { z-index: 2; }
.video-js {
.infobox .video-js { margin-top: 1px; min-width: 200px; width: auto !important; }
overflow: hidden;
.video-js .vjs-control-bar, .video-js .vjs-volume-vertical { background: #000; }
display: block !important;
.video-js .vjs-mouse-display .vjs-time-tooltip { background: #111; }
}
.video-js { overflow-x: clip; display: block !important; }
.vjs-time-tooltip {
/* Newbie bug fix */
display: none !important;
body.newbie .video-js { overflow: hidden !important; }
}
body.newbie .vjs-time-tooltip { display: none !important; }
#file > .video-js {
display: inline-block !important;
}
.thumb .video-js {
margin-left: auto;
margin-right: auto;
}
.infobox .video-js {
margin-top: 1px;
min-width: 200px;
width: auto !important;
}


/* Multimedia viewer */
/* Multimedia viewer */
Line 324: Line 356:
li.gallerycaption {
li.gallerycaption {
text-align: unset;
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;
}
/* 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;
}
}


Line 331: Line 391:
}
}


.oo-ui-textInputWidget .oo-ui-pendingElement-pending {
display:none;
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected .oo-ui-menuOptionWidget-checkIcon {
Line 361: Line 418:
.oo-ui-dropdownWidget-handle {
.oo-ui-dropdownWidget-handle {
     border: 1px solid gray;
     border: 1px solid gray;
    border-radius:0px;
}
}


Line 392: Line 450:
     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 414: Line 518:
top: -17px;
top: -17px;
right: 1px;
right: 1px;
}
img, .results .list-thumb:not(.list-thumb-none),
.ext-related-articles-card-thumb:not(.ext-related-articles-card-thumb-placeholder) {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
}


Line 438: Line 536:
border-top: 3px double #cccccc;  
border-top: 3px double #cccccc;  
border-bottom: 3px double #cccccc;
border-bottom: 3px double #cccccc;
        margin-top:5px;
}
}


Line 475: Line 574:
}
}


.mw-editform .editOptions
.mw-editform .editOptions {
   border-radius:0px;
   border-radius:0px;
}
}
Line 528: Line 627:
.mw-editinginterface {
.mw-editinginterface {
     color:red;
     color:red;
}
hr {
  background-color:#a58f4c;
}
.catlinks {
    margin-top:10px;
}
}
5,287

edits

Navigation menu