VOOZH about

URL: https://minecraft.wiki/w/MediaWiki:Minerva.css

⇱ MediaWiki:Minerva.css – Minecraft Wiki


MediaWiki:Minerva.css

From Minecraft Wiki
Jump to navigation Jump to search
In other languages

Note: After saving, you have to bypass your browser's cache to see the changes.

Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/* All CSS here will be loaded for users of the MinervaNeue skin */
/**
 * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
 *
 * See [[MediaWiki:Vector.css]] for desktop theme related styles.
 * See [[MediaWiki:Vector-theme-dark.css]] for desktop dark theme related styles.
 *
 * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
 */
/* Default styles [[File:Mobile-header.png]] */
:root{
--base-background:url('filepath://Background.png');
--header-background:url('filepath://Header-background.png');
--mobile-header-background:url('filepath://Mobile-header.png');
--mobile-header-background-color:#58B5FE;
--content-background-color:#E6EFF4;
--content-text-color:#202122;
}
/* Dungeons [[File:Mobile-header-dungeons.png]] */
htmlbody.rootpage-Minecraft_Dungeons,
htmlbody.rootpage-Talk_Minecraft_Dungeons,
htmlbody.ns-10000,
htmlbody.ns-10001{
--header-background:url('filepath://Header-background-dungeons.png');
--mobile-header-background:url('filepath://Mobile-header-dungeons.png');
--mobile-header-background-color:#FEA158;
--content-background-color:#F2EEE7;
}
/* Dungeons 2 [[File:Mobile-header-dungeons2.png]] */
htmlbody.rootpage-Minecraft_Dungeons_II,
htmlbody.rootpage-Talk_Minecraft_Dungeons_II,
htmlbody.ns-10014,
htmlbody.ns-10015{
--header-background:url('filepath://Header-background-dungeons2.png');
--mobile-header-background:url('filepath://Mobile-header-dungeons2.png');
--mobile-header-background-color:#343434;
--content-background-color:#E3E8F1;
}
/* Earth [[File:Mobile-header-earth.png]] */
htmlbody.rootpage-Minecraft_Earth,
htmlbody.rootpage-Talk_Minecraft_Earth,
htmlbody.ns-10002,
htmlbody.ns-10003{
--header-background:url('filepath://Header-background-earth.png');
--mobile-header-background:url('filepath://Mobile-header-earth.png');
--mobile-header-background-color:#58B5FE;
--content-background-color:#E5EDFF;
}
/* Legends [[File:Mobile-header-legends.png]] */
htmlbody.rootpage-Minecraft_Legends,
htmlbody.rootpage-Talk_Minecraft_Legends,
htmlbody.ns-10006,
htmlbody.ns-10007{
--header-background:url('filepath://Header-background-legends.png');
--mobile-header-background:url('filepath://Mobile-header-legends.png');
--mobile-header-background-color:#58B5FE;
--content-background-color:#DAEAE9;
}
/* Story Mode [[File:Mobile-header-storymode.png]] */
body.rootpage-Minecraft_Story_Mode,
body.rootpage-Talk_Minecraft_Story_Mode,
body.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.ns-10004,
body.ns-10005{
--header-background:url('filepath://Header-background-storymode.png');
--mobile-header-background:url('filepath://Mobile-header-storymode.png');
--mobile-header-background-color:#9E9AE4;
--content-background-color:#f9eddc;
}
/* Movie [[File:Mobile-header-movie.png]] */
body.rootpage-A_Minecraft_Movie,
body.rootpage-Talk_A_Minecraft_Movie,
body.rootpage-A_Minecraft_Movie_Squared,
body.rootpage-Talk_A_Minecraft_Movie_Squared,
body.ns-10012,
body.ns-10013{
--header-background:url('filepath://Header-background-movie.png');
--mobile-header-background:url('filepath://Mobile-header-movie.png');
--mobile-header-background-color:#70A8E6;
--content-background-color:#E8E3E1;
}
/** Minecraft skin **/
.overlay.search-overlay,
.overlay.editor-overlay{
padding-top:90px;
}
/* Grass header background */
.skin-minerva#mw-mf-page-center.header-container,
.skin-minerva.search-overlay.header-container{
position:relative;
background:var(--mobile-header-background)leftbottomrepeat-x,linear-gradient(0deg,var(--content-background-color)50%,var(--mobile-header-background-color)50%);
background-size:48pxauto;
right:0;
left:0;
height:96px;
}
.skin-minerva.header-container{
background-color:transparent;
box-shadow:none;
}
.overlay-header,
.minerva-header{
padding-top:7px;
}
/* Hide grass when editing on small screens to maximise editing space */
@mediaalland(max-width:999px){
.overlay-enabled.editor-overlay{
padding-top:3.35em;
}
.overlay-enabled.overlay.editor-overlay.header-container:after{
bottom:0;
background-position:leftbottom-29px;
}
}
.overlay.overlay-header-container.header-container{
z-index:2;
}
.minerva-header.branding-box{
opacity:1;
}
.notification-count{
background:none;
}
/* Background color */
.overlay-enabled,
.overlay-content,
.mw-body{
background-color:var(--content-background-color);
}
/* Fix editor colour */
/*#wikitext-editor {*/
/*	background-color: #FFF;*/
/*}*/
/* Give the footer the stone texture: [[File:Mobile-background.png]] */
.minerva-footer{
background:url('filepath://Mobile-background.png')#202020;
}
footer,
footera:active,
#footer,
#footera:active{
color:#FFF;
}
footera,
#footera,
footera:visited,
#footera:visited{
color:#BFBFBF;
}
.last-modified-bar{
background-color:#EAECF0;
}
/* Fix dumb default styling */
/*.content code,*/
/*.content pre {*/
/*	background-color: #f9f9f9;*/
/*	border: 1px solid #ddd;*/
/*	color: black;*/
/*}*/
.contentcode{
border-radius:2px;
}
@mediaalland(max-width:768px){
.gallerybox.thumb>div{
margin:15px!important;
width:auto!important;
}
}
@mediaalland(max-width:720px){
.gallery.mw-gallery-traditional.gallerybox{
width:155px!important;
}
.gallery.mw-gallery-traditional.gallerybox.thumb{
width:150px!important;
}
.gallery.mw-gallery-nolines.gallerybox{
width:125px!important;
}
.gallery.mw-gallery-nolines.gallerybox.thumb{
width:120px!important;
}
}
/*.wikitable > tbody {*/
/*	background-color: #f8f9fa;*/
/*}*/
/* Fix footer hlist separator colour */
.footer-content.hlist-separatedli:after{
color:#FFF;
}
/* Fix hlist gaps being too wide */
.hlist>ulli{
margin-right:0;
}
/* Fix changes autocollapsing in recent changes */
.mw-changeslist-edit,.mw-changeslist-line{
display:table-row!important;
}
.mw-changeslist-line-inner{
padding-top:1.5em;
}
.mw-enhanced-rc-nested{
padding-top:0.5em;
}
/* Rollback link as a button */
.mw-rollback-linka{
padding:5px12px;
border:1pxsolidvar(--border-color-base);
font-weight:bold;
}
/* Width is based on existing minerva calculations */
@mediaalland(max-width:639px){
/* Display rollback button on own line to stop clipping */
.mw-rollback-link{
display:block;
}
}
/* Alternating cell background */
.alternatecells:nth-child(odd){
background-color:#F9F9F9;
}
/* Alternating table rows, primarily used with [[Template:Infobox row]] */
/* .alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(even),
.alternaterows tr:nth-child(even) td,
.infobox-rows tr:nth-child(even) td {
	background-color: #F9F9F9;
} */
/* Show TOC */
@media(max-width:512px){
.skin-minerva.toc-mobile{
display:block;
}
}
/* Turn a list into a tree view style (See [[.minecraft]]) */
.treeview{
margin-top:0.3em;
}
.treeview.treeview-header{
padding-left:3px;
font-weight:bold;
}
.treeview.treeview-header:last-child{
border-color:#636363!important;
border-left-style:dotted;
}
.treeview.treeview-header:not(:last-child):before{
content:none;
}
.treeview.treeview-header:last-child:before{
border-bottom:0;
}
.treeviewul,
.treeviewli{
margin:0;
padding:0;
list-style-type:none;
list-style-image:none;
}
.treeviewlili{
position:relative;
padding-left:13px;
margin-left:7px;
border-left:1pxsolid#636363;
}
.treeviewlili:before{
content:"";
position:absolute;
top:0;
left:-1px;
width:11px;
height:11px;
border-bottom:1pxsolid#636363;
}
.treeviewlili:last-child:not(.treeview-continue){
border-color:transparent;
}
.treeviewlili:last-child:not(.treeview-continue):before{
border-left:1pxsolid#636363;
width:10px;
}
.nbttree-inherited{
background-color:#E6E6FA;
}
/* Try to use nearest neighbour scaling for pixelated images */
.pixel-image,
.invslot-item-image,
.sprite{
image-rendering:optimizeSpeed;
image-rendering:-webkit-optimize-contrast;
image-rendering:optimize-contrast;
image-rendering:-moz-crisp-edges;
image-rendering:-o-crisp-edges;
image-rendering:crisp-edges;
image-rendering:pixelated;
-ms-interpolation-mode:nearest-neighbor;
}
/* Hatnotes and disambiguation notices */
.hatnote{
font-style:italic;
}
.hatnotei{
font-style:normal;
}
div.hatnote{
padding-left:0;
margin-bottom:0.5em;
font-size:0.8125rem;
}
div.hatnote+div.hatnote{
margin-top:-0.5em;
}
div.msgbox{
font-size:0.8125rem;
max-width:revert!important;
}
@mediaalland(min-width:511px){
div.msgbox-subtle{
max-width:306px!important;
}
}
/* Different layout for msgbox */
.msgbox{
display:block;
}
.msgbox.msgbox-icon{
float:right;
}
.msgbox.msgbox-image{
margin:0;
}
/* Fix animated infobox images shifting the screen when images have different dimensions */
.contentspan.animateda>img,
.contentspan.animateda>.lazy-image-placeholder,
.contentnoscriptspan.animated>img{
max-width:initial!important;
}
/* Fix infobox text being way too large */
#mw-mf-viewport.notaninfoboxp{
font-size:100%;
padding:0.2em0;
}
body.page-Main_Page#firstHeading{
display:none;
}
/* Hide nomobile */
.nomobile{
display:none;
}
/* Remove blank space when editing */
.action-edit.overlay-header-container+.overlay-content{
padding-top:0;
}
.editor-overlay.content{
margin-top:0;
}
/* Add a background color to the overlay header and remove the padding */
.overlay-header{
background-color:var(--content-background-color);
padding-top:0;
}
.contentli{
margin-bottom:2px;
}
.content.mw-parser-output>h2,.content.section-heading{
border-bottom:1pxsolid#c8ccd1;
}
dl{
margin-bottom:5px;
}
.mcw-mainpage-icons{
padding:0;
}
/* Force collapsed navbox headers to full width */
.contenttable.navbox{
display:table;
border-collapse:separate;
}
/* Margin is too big */
.page-heading{
margin-bottom:0;
}
/* Hide page title on all main pages */
body.rootpage-Minecraft_Wiki.page-heading,
body.rootpage-Movie_Wiki.page-heading,
body.rootpage-Dungeons_Wiki.page-heading,
body.rootpage-Legends_Wiki.page-heading,
body.rootpage-Story_Mode_Wiki.page-heading,
body.rootpage-Earth_Wiki.page-heading{
display:none;
}
/* Hide page/talk and edit bar links to match normal main page */
body.rootpage-Movie_Wiki.minerva__tab-container,
body.rootpage-Movie_Wiki.page-actions-menu,
body.rootpage-Dungeons_Wiki.minerva__tab-container,
body.rootpage-Dungeons_Wiki.page-actions-menu,
body.rootpage-Legends_Wiki.minerva__tab-container,
body.rootpage-Legends_Wiki.page-actions-menu,
body.rootpage-Story_Mode_Wiki.minerva__tab-container,
body.rootpage-Story_Mode_Wiki.page-actions-menu,
body.rootpage-Earth_Wiki.minerva__tab-container,
body.rootpage-Earth_Wiki.page-actions-menu{
display:none;
}
/* re-add undo button */
.mw-diff-undo{
display:inline!important;
}
/* Hide vanilla MW theme settings */
#skin-client-prefs-skin-theme{
display:none;
}
.wgl-theme-darkimg{
background-color:transparent!important;
}
/* Adjust display position of edit byte size on watchlist */
.mw-plusminus-pos,
.mw-plusminus-neg,
.mw-plusminus-null{
position:static!important;
display:inline!important;
float:none!important;
margin-left:0.4em;
}
.mw-changeslist-date{
position:static!important;
display:inline!important;
margin-left:0.6em;
}
.mw-changeslist-line-inner{
position:relative!important;
}
/* Minerva defaults to inverting images used in references */
.drawer.references-drawerimg{
filter:invert(0);
}
Retrieved from "https://minecraft.wiki/w/MediaWiki:Minerva.css?oldid=3601289"

Navigation menu