revert iOS PWA status bar fix (resolved in iOS 27.3 beta)

Hunter
Sunday, November 8th, 2026 at 10:10 PM

index.html -9
resources/styles.css -26

index.html
23  			window.eventsData = fetchJson("resources/events.json")
24  				.catch(function () { return fetchJson("resources/demo.json"); });
25  		</script>
   -		<script>
   -			if (/iPad|iPhone|iPod/.test(navigator.userAgent) ||
   -				(/Macintosh/.test(navigator.userAgent) && navigator.maxTouchPoints > 1)) {
   -				document.documentElement.classList.add("is-ios");
   -			}
   -		</script>
26  		<link rel="stylesheet" href="resources/maplibre/maplibre-gl.css">
27  		<link rel="stylesheet" href="resources/styles.css">
28  	</head>
29  	<body>
   -		<!-- counteract colored drop shadow on iOS 27 beta status bar -->
   -		<div id="status-bar-tint" aria-hidden="true"></div>
   -
30  		<div id="boxes">
31  			<div id="left-box">
32  				<div id="map-container"></div>
resources/styles.css
  3  	--type-char-ms: 0.5ms;
  4  	--event-color: antiquewhite;
  5  	--link-pad: 6px;
    -	--status-tint-h: 16px;
  6  }
  7  
  8  html, body {

 20  	background: antiquewhite;
 21  }
 22  
    -#status-bar-tint {
    -	display: none;
    -}
    -/* counteract colored drop shadow on iOS 27 beta status bar */
    -@media (display-mode: standalone) and (orientation: portrait) {
    -	.is-ios #status-bar-tint {
    -		display: block;
    -		position: fixed;
    -		top: 0;
    -		left: 0;
    -		right: 0;
    -		height: var(--status-tint-h);
    -		z-index: 2000;
    -		pointer-events: none;
    -		background-color: var(--event-color);
    -		transition: background-color var(--color-shift-ms) ease-in-out;
    -	}
    -}
    -
 23  #boxes {
 24  	display: flex;
 25  	flex-direction: row;

248  	box-shadow: 0 1px 3px #00000040;
249  	-webkit-tap-highlight-color: transparent;
250  }
    -/* the standalone status-bar tint band is the real top edge; sit below it */
    -@media (display-mode: standalone) {
    -	.maplibregl-ctrl-attrib.maplibregl-compact {
    -		margin-top: calc(12px + var(--status-tint-h));
    -	}
    -}
251  .maplibregl-ctrl-attrib-button {
252  	background-color: transparent;
253  	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%237a7f85' fill-opacity='0.8' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");