Equal spacing on all sides (top, right, bottom = 2vh)

This commit is contained in:
Richard Zink committed 2026-10-07 08:58:19 +02:00
1 parent dcb026fe2c
commit ba74c68026
1 file changed
+3 -5
+3 -5
View File
@@ -10,9 +10,9 @@
#vanta { width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; }
#info-panel {
position: fixed;
top: 50%;
right: 1.5vw;
transform: translateY(-50%);
top: 2vh;
right: 2vh;
bottom: 2vh;
color: #e6dfd1;
background: rgba(28, 27, 31, 0.7);
padding: 1.5vh 1.5vw;
@@ -21,7 +21,6 @@
font-size: clamp(11px, 1.4vh, 16px);
line-height: 1.5;
width: clamp(280px, min(35vh, 30vw), 40vw);
max-height: 96vh;
display: flex;
flex-direction: column;
overflow-y: auto;
@@ -31,7 +30,6 @@
@media (orientation: portrait) and (max-width: 700px) {
#info-panel {
width: 90vw;
right: 5vw;
}
}
#analog-clock {