feat: unify typography with tabular-nums for stable number alignment
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -469,10 +469,21 @@ body.dark-mode #config-cancel-button:hover {
|
||||
background-color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
/* Tabular figures for all numeric displays */
|
||||
.clock-time,
|
||||
.countdown-large,
|
||||
.next-departures,
|
||||
.time-display,
|
||||
#custom-weather .temperature,
|
||||
#custom-weather .forecast-hour .temp {
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-family: var(--font-numbers);
|
||||
}
|
||||
|
||||
.clock-time {
|
||||
font-size: 2.2em;
|
||||
font-weight: 700;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
|
||||
font-family: var(--font-numbers);
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
letter-spacing: 1px;
|
||||
@@ -488,7 +499,7 @@ body.dark-mode #config-cancel-button:hover {
|
||||
.clock-date {
|
||||
font-size: 2.2em;
|
||||
font-weight: 400;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
|
||||
font-family: var(--font-primary);
|
||||
display: inline-block;
|
||||
opacity: 0.98;
|
||||
letter-spacing: 0.5px;
|
||||
|
||||
Reference in New Issue
Block a user