.page { height: 100%; width: 100%; display: flex; flex-flow: column nowrap; justify-content: space-between; align-items: center; } .page a[title="Open this area in Google Maps (opens a new window)"] { display: none !important; /* This prevents Google's links from showing, which would let you cheat and see where you are in Street View */ } .streetview { height: 100%; width: 100%; margin-bottom: 2px; flex: 3; position: relative; } .fullsize { height: 100%; width: 100%; } .resetButton { /* TODO improve this to be less brittle */ display: block; position: absolute; z-index: 1; bottom: 200px; right: 9px; background-color: #222; color: #666; padding: 5px; border-radius: 2px; font-weight: bold; cursor: pointer; } .resetButton:hover { color: #b1b1b1; } .freeze { position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; z-index: 1; } .cutoff { position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 3; background-color: #333; padding: 0.2em 1em; border-radius: 1em; font-size: 20px; opacity: 1; transition: opacity 2s; } .hidden { opacity: 0; } @media only screen and (min-width: 600px) and (min-height: 600px) { .page { display: block; position: relative; margin-bottom: 2px; margin-right: 2px; } }