Content deleted Content added
Giving #mainpage-maptext a max width (600px) to keep it from scaling out of proportions on wide screens. | Testing - should overwrite the auto-scaling of text based on width. Tag: Reverted | ||
Line 66: | Line 66: | ||
.mw-heading.mw-heading2 { | .mw-heading.mw-heading2 { | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
} | |||
.js-proportonal-resize { | |||
font-size: 100% !important; | |||
} | } |
Revision as of 00:26, 19 July 2025
#mainpage-searchinput .mw-ui-button[name="fulltext"] { display: none; } /* hide full text search box, which cannot currently be disabled */ #mainpage-map { background-color: #0B0A34; position: relative; overflow: hidden; height: auto; margin-bottom: .6em; max-width: 100%; } #mainpage-maptext { position: absolute; top: 1em; left: 1em; width: 41%; /* 40% too small on some webkit browsers at 720p resolutions */ max-width: 600px; z-index: 2; text-align: center; padding: 0 0.5em 0 0.5em; } #mainpage-tagline { margin: 0; padding-bottom:0.75em; } #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; } figure { margin: 0 !important; } #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; } } .mw-heading.mw-heading2 { padding-top: 0 !important; } .js-proportonal-resize { font-size: 100% !important; }