/* math.gl * SPDX-License-Identifier: MIT * SPDX-FileCopyrightText: Copyright (c) vis.gl contributors */ .tides { position: relative; isolation: isolate; width: 100%; height: 100%; overflow: hidden; background: #07121e; color: #e7f1fa; font: 14px/1.5 system-ui, sans-serif; } .tides canvas { position: absolute; inset: 0; width: 100%; height: 100%; } .tides aside { position: absolute; top: 24px; left: 24px; width: min(300px, calc(100% - 48px)); max-height: calc(100% - 48px); } .tides-playback { display: flex; align-items: center; gap: 10px; margin-top: 8px; } .tides-playback button { min-width: 56px; cursor: pointer; } .tides-playback output { font-variant-numeric: tabular-nums; } .tides-legend { margin: 12px 0; } .tides-legend-bar { height: 8px; border-radius: 4px; } .tides-legend-labels { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 3px; font-size: 12px; } .tides-legend-labels > :last-child { text-align: right; } .tides [data-role='station-panel'] h2 { margin: 0; } .tides [data-role='station-panel'] p { margin: 0 0 6px; } .tides [data-role='station-curve'] { display: block; margin: 4px 0; font-size: 10px; } .tides [data-role='station-curve'] text { fill: #b8c9d9; } .tides [data-role='station-curve'] .axis { stroke: #6f8aa3; } .tides [data-role='station-curve'] .curve { fill: none; stroke: #85dac7; stroke-width: 2; } .tides [data-role='station-curve'] .current-time { fill: #ffd875; stroke: #ffd875; } .tides [data-role='station-curve'] line.current-time { stroke-dasharray: 2 3; } .tides-datums { margin: 0 0 6px; padding: 0; list-style: none; } .tides-credits { margin: 6px 0; color: #b8c9d9; font-size: 11px; } .tides a { color: #97d6ff; } @media (max-width: 600px) { .tides aside { top: 12px; left: 12px; width: min(300px, calc(100% - 24px)); } }