Merge pull request #50 from ok2/codex/prevent-clock-size-change-on-font-scaling

Fix analog clock scaling
This commit is contained in:
Kiyomichi Kosaka 2025-06-15 15:23:19 +02:00 committed by GitHub
commit 9031736f7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -439,13 +439,13 @@ body.fullscreen-clock .clock-label {
.marker {
position: absolute;
width: 2em;
height: 2em;
width: calc(var(--clock-size) * 0.13);
height: calc(var(--clock-size) * 0.13);
text-align: center;
line-height: 2em;
line-height: calc(var(--clock-size) * 0.13);
/* Use a futuristic font for the clock markers */
font-family: 'Orbitron', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
font-size: 1.2em;
font-size: calc(var(--clock-size) * 0.08);
font-weight: 600;
color: #00ffff;
background: none;