MediaWiki:Common.css: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(main page header) |
(attempting mobile display fixes.... moving) |
||
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; |
|||
} |
|||
/* Gallery */ |
/* Gallery */ |
||
Line 30: | Line 12: | ||
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; |
|||
} |
} |
||
Line 54: | Line 21: | ||
.mw-parser-output a.external { color: #06f; } |
.mw-parser-output a.external { color: #06f; } |
||
.mw-parser-output a.external:visited { color: #0044CC; } |
.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%; |
|||
} |
|||
.infobox tr { |
|||
vertical-align: top; |
|||
} |
|||
.infobox td, .infobox th { |
|||
padding: 2px; |
|||
} |
|||
.infobox .mw-collapsible-toggle { |
|||
min-width: 39px; |
|||
text-align: right; |
|||
} |
|||
/* edit options */ |
/* edit options */ |
||
Line 107: | Line 51: | ||
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav { |
#mw-revision-info, #mw-revision-info-current, #mw-revision-nav { |
||
color: #54595d; |
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, |
|||
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; |
|||
} |
} |
||
Line 190: | Line 118: | ||
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a { |
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a { |
||
color: black !important; |
color: black !important; |
||
} |
|||
/* 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; |
|||
} |
} |
||
Line 353: | Line 257: | ||
color: #888 !important; |
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 */ |
/* Edit section */ |
||
Line 478: | Line 370: | ||
.mw-widget-dateInputWidget-handle { |
.mw-widget-dateInputWidget-handle { |
||
border-radius: 0px; |
border-radius: 0px; |
||
} |
|||
/* 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; |
|||
} |
} |
||
Line 505: | Line 386: | ||
border: 0; |
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 */ |
/* Special:Preferences */ |