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 {
|
.marker {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 2em;
|
width: calc(var(--clock-size) * 0.13);
|
||||||
height: 2em;
|
height: calc(var(--clock-size) * 0.13);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 2em;
|
line-height: calc(var(--clock-size) * 0.13);
|
||||||
/* Use a futuristic font for the clock markers */
|
/* Use a futuristic font for the clock markers */
|
||||||
font-family: 'Orbitron', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
|
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;
|
font-weight: 600;
|
||||||
color: #00ffff;
|
color: #00ffff;
|
||||||
background: none;
|
background: none;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user