MediaWiki:Mobile.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 18: Line 18:
}   
}   
*/
*/
/* Default styles [[File:Mobile-header.png]] */
:root {
--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]] */
html body.rootpage-Minecraft_Dungeons,
html body.rootpage-Talk_Minecraft_Dungeons,
html body.ns-10000,
html body.ns-10001  {
--mobile-header-background: url('filepath://Mobile-header-dungeons.png');
--mobile-header-background-color: #FEA158;
--content-background-color: #F2EEE7;
}
/* Earth [[File:Mobile-header-earth.png]] */
html body.rootpage-Minecraft_Earth,
html body.rootpage-Talk_Minecraft_Earth,
html body.ns-10002,
html body.ns-10003 {
--mobile-header-background: url('filepath://Mobile-header-earth.png');
--mobile-header-background-color: #58B5FE;
--content-background-color: #E5EDFF;
}
/* Legends [[File:Mobile-header-legends.png]] */
html body.rootpage-Minecraft_Legends,
html body.rootpage-Talk_Minecraft_Legends,
html body.ns-10006,
html body.ns-10007 {
--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 {
--mobile-header-background: url('filepath://Mobile-header-storymode.png');
--mobile-header-background-color: #9E9AE4;
--content-background-color: #e5edff;
}
/** 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) left bottom repeat-x var(--mobile-header-background-color);
    background-size: 48px auto;
    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 */
@media all and (max-width: 999px) {
.overlay-enabled .editor-overlay {
padding-top: 3.35em;
}
.overlay-enabled .overlay.editor-overlay .header-container:after {
bottom: 0;
background-position: left bottom -29px;
}
}
.overlay .overlay-header-container.header-container {
z-index: 2;
}
.minerva-header .branding-box {
    opacity: 1;
}
/* Background color */
.overlay-enabled,
.overlay-content,
.mw-body {
background-color: var(--content-background-color);
}
/* Hide duplicate sidebar entries */
.mw-ui-icon-minerva-home,
.mw-ui-icon-minerva-random {
display: none;
}
/* 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,
footer a:active,
#footer,
#footer a:active {
color: #FFF;
}
footer a,
#footer a,
footer a:visited,
#footer a:visited {
    color: #BFBFBF;
}
.last-modified-bar {
background-color: #EAECF0;
}


/* Fix dumb default styling */
/* Fix dumb default styling */

Navigation menu