MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 17: | Line 17: | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
padding-left: 1rem !important; | padding-left: 1rem !important; | ||
} | |||
} | |||
/* Tame the Minerva logo/title and make the clickable area comfortable */ | |||
@media (max-width: 800px) { | |||
.minerva-logo, .minerva-logo-link img, .mw-logo { | |||
max-height: 36px !important; | |||
width: auto !important; | |||
display: inline-block !important; | |||
vertical-align: middle !important; | |||
} | |||
.minerva-header .site-title, .minerva-header .minerva-title { | |||
font-size: 1rem !important; | |||
line-height: 1.2 !important; | |||
padding: 0.15rem 0.35rem !important; | |||
background: transparent !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
.minerva-logo-link { | |||
display: inline-block; | |||
padding: 4px 6px; | |||
text-decoration: none; | |||
} | } | ||
} | } | ||
Revision as of 22:18, 31 March 2026
h2, h3, h4 {color:red;background-color:blue}
body {
background-color: lightgrey;
color: blue;
}
h1 {
background-color: black;
color: white;
}
@media (max-width: 800px) {
#mw-panel, .mw-sidebar, .vectorSidebar {
display: none !important;
}
#content, #mw-content-text {
margin-left: 0 !important;
padding-left: 1rem !important;
}
}
/* Tame the Minerva logo/title and make the clickable area comfortable */
@media (max-width: 800px) {
.minerva-logo, .minerva-logo-link img, .mw-logo {
max-height: 36px !important;
width: auto !important;
display: inline-block !important;
vertical-align: middle !important;
}
.minerva-header .site-title, .minerva-header .minerva-title {
font-size: 1rem !important;
line-height: 1.2 !important;
padding: 0.15rem 0.35rem !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
.minerva-logo-link {
display: inline-block;
padding: 4px 6px;
text-decoration: none;
}
}