MediaWiki:Gadget-GlobalStyle.css: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(like mariowiki) |
(updates) |
||
Line 48: | Line 48: | ||
margin-left: 10px; |
margin-left: 10px; |
||
} |
} |
||
/* Horizontal rule */ |
|||
⚫ | |||
/* Self-links */ |
/* Self-links */ |
||
Line 57: | Line 60: | ||
} |
} |
||
/* |
/* Inline link colors */ |
||
a font:hover, a span:hover { |
|||
⚫ | |||
text-decoration: inherit; |
|||
} |
|||
/* Infobox templates */ |
/* Infobox templates */ |
||
Line 108: | Line 112: | ||
} |
} |
||
/* |
/* main page */ |
||
body.page-Croc_Wiki.action-view h1.firstHeading, |
body.page-Croc_Wiki.action-view h1.firstHeading, |
||
body.page-Croc_Wiki.action-view |
body.page-Croc_Wiki.action-view #contentSub > *, |
||
body.page-Croc_Wiki.action-view #siteSub, |
body.page-Croc_Wiki.action-view #siteSub, |
||
body.page-Croc_Wiki.action-view #catlinks, |
body.page-Croc_Wiki.action-view #catlinks, |
Revision as of 17:22, February 18, 2022
/* 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;
}
/* Gallery classes */
.gallery.center {
margin-left: auto !important;
margin-right: auto !important;
}
.gallery.centertext .gallerytext {
text-align: center !important;
}
/* Gallery slideshow */
.mw-gallery-slideshow .gallerybox + .gallerybox {
display: none;
}
.mw-gallery-slideshow-thumbnails-toggled ~ .gallerybox {
display: inline-block !important;
}
/* 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-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;
}
/* Infobox templates */
.infobox {
background: ghostwhite;
border: 1px solid black;
float: right;
margin: 0 0 1em 1.15em;
width: 300px;
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;
}
/* Notice templates */
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;
}
.notice-template.copyright {
background: #fff9f9;
border: 1px solid #C55;
width: 90%;
margin: 5px auto;
padding: 5px;
}
/* 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-Croc_Wiki.action-view #bodyContent {
margin-top: 16px;
}
body.page-Croc_Wiki.action-view .usermessage {
margin-top: 43px;
}
/* main page header */
.mpheader {
padding:0.2em 0.4em;
margin:0 0 10px 0;
border:1px solid #1F481C;
background:#B3D5BB;
color:#000000;
font-size:120%;
font-weight:bold;
}
/* Show/hide toggles */
.navbox .mw-collapsible-toggle {
text-align: right;
min-width: 3.729em;
}
.wikitable.mw-collapsed .mw-collapsible-toggle {
margin-left: 10px;
}
/* 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-volume-vertical, .vjs-mouse-display .vjs-time-tooltip { background: #111; }
.video-js { overflow-x: clip; display: block !important; }
.video-js .vjs-control-bar { background: #000; }
/* Newbie bug fix */
body.newbie .video-js { overflow: hidden !important; }
body.newbie .vjs-time-tooltip { display: none !important; }
/* Pixelated gallery/interface image upscaling */
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;
}