Merge pull request #50 from ok2/codex/prevent-clock-size-change-on-font-scaling
Fix analog clock scaling
This commit is contained in:
commit
9031736f7a
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user