/*font*/ @font-face { font-family: "SUIT-B"; src: url("SUIT-Regular.ttf"); font-weight: bold; } @font-face { font-family: "SUIT-M"; src: url("SUIT-Regular.ttf"); font-weight: medium; } @font-face { font-family: "SUIT-R"; src: url("SUIT-Regular.ttf"); font-weight: regular; } * { font-family: SUIT-R !important; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; touch-action: pan-x; } body { margin:0; } html:has(#map), body:has(#map) { width: 100%; height: 100%; margin: 0; } #map { background: #171933; } .ol-overlay-container { position:absolute; background-color: #fff; box-shadow: 5px 5px 3px rgba(0,0,0,0.2); border-radius: 10px; top: 0px; left: 0px; } .ol-overlay-container:after { top: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } .ol-overlay-container:after { border-top-color: #fff; border-width: 10px; left: 50%; margin-left: -10px; } .train-popup { display: flex; flex-direction: column; padding: 15px 27px; border-radius: 10px; background: #fff; font-family: SUIT; color: red; } .train-popup-name { justify-content: space-between; display: flex; align-items: end; } .train-popup-name > .train-popup-no{ font-size: 25px; font-weight: bold; font-stretch: normal; font-style: normal; line-height: normal; letter-spacing: -0.5px; text-align: left; color: black; } .train-popup-name > .train-popup-no { color: #496dff; } .train-popup-pair { color: #9b9b9b; } .train-popup hr { display: block; margin: 8px 0px; } .train-popup-info { color: #222; } .train-popup-info > div { display: flex; flex-direction: row; align-items: baseline; margin: 0px; } .train-popup-info > div:not(:last-child) { margin: 7px 0px; } .train-popup-info > div > title { display: block; font-weight: 600; margin-right: 15px; } .train-popup-info > div > content { display: contents; } .train-popup-info > div > span { font-size: x-small; font-weight: 800; } @keyframes blink { 0% { color: lightgray } 100% { color: black } } .blink { animation: blink 0.5s } @keyframes rotate { 0% { transform: rotate(0deg) } 100% { transform: rotate(-360deg) } } .rotate { animation: rotate 0.5s }