User:Monteirobrena/common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Override */
.page-MediaWiki_Homepage_redesign_Preview #p-logo a{
background-image: url(//upload.wikimedia.org/wikipedia/commons/5/54/MediaWiki_logo_1.svg) !important;
background-size: contain;
}
.page-MediaWiki_Homepage_redesign_Preview #firstHeading {
display: none;
}
.page-MediaWiki_Homepage_redesign_Preview #contentSub {
display: none;
}
/* Banner - Wikivoyage */
.banner-image {
position: relative;
overflow: hidden;
max-width: 1800px;
height: auto;
margin-bottom: .6em;
}
.banner-image img {
max-width: 100%;
height: auto;
width: auto\9;
}
.banner-box {
position: absolute;
z-index: 2;
margin-top: 2.5em;
color: white;
width: 50%;
min-width: 20em;
text-shadow: black 0.3em 0.3em 1em,black -0.1em -0.1em 1em;
}
.banner-box-wide { width: 80% }
.banner-box-left {
left: 5%;
text-align: left;
}
.banner-box-right {
right: 5%;
text-align: right;
}
.banner-box .name {
font-size: 3em;
white-space: nowrap;
line-height: 1.2em;
}
.banner-box .type {
font-size: 2em;
line-height: 1.2em;
}
.mf-mobile-only {
display: none;
}
/* Classes of MediaWiki Homepage Preview */
.mw-button-get-mediawiki {
font-size: 2em !important;
}