Difference between revisions of "Template:Mapbanner/styles.css"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
h2 { | h2 { | ||
− | font-family: | + | font-family: 'Bebas Neue', cursive; |
font-size: 2em; | font-size: 2em; | ||
font-weight: bold; | font-weight: bold; | ||
color: white; | color: white; | ||
} | } | ||
− | |||
#mainpage-map { | #mainpage-map { |
Latest revision as of 12:43, 27 September 2020
#mainpage-searchinput .mw-ui-button[name="fulltext"] { display: none; } /* hide full text search box, which cannot currently be disabled */
h2 {
font-family: 'Bebas Neue', cursive;
font-size: 2em;
font-weight: bold;
color: white;
}
#mainpage-map {
background-color: #0B0A34;
position: relative;
overflow: hidden;
height: auto;
margin-bottom: .6em;
max-width: 1125px;
}
#mainpage-maptext {
position: absolute;
top: 1em;
left: 1em;
width: 41%; /* 40% too small on some webkit browsers at 720p resolutions */
z-index: 2;
text-align: center;
padding: 0.5em 0.5em 0 0.5em;
}
#mainpage-tagline {
margin: 0;
}
#mainpage-searchinput {
padding:0;
}
#mainpage-searchinput label {
font-size: 85%;
font-style: italic;
}
#mainpage-searchinput input[type="text"] {
margin-right: 0.5em;
}
#mainpage-maplinks {
position:absolute;
bottom: 0;
left: 1em;
color: white;
padding:0 0.5em;
}
#mainpage-maplinks a {
color: white;
font-weight: bold;
}
#mainpage-maptext.mainpage-shadowbox {
color: white;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
}
#mapbanner-container { width: 100%; }
/* The following is mobile kludge code. It is temporary and to be removed */
#mobile-mapbanner { display: none; }
@media (max-width: 720px) {
#mainpage-map { display: none; }
#mobile-mapbanner { display: block !important; }
}