Raise the precip "Moderate" label further (#65)
-0.85em still grazed the neighbouring Light–Mod/Mod–Heavy labels on mobile; lift to -1.4em so it sits clearly above the cluster.
This commit is contained in:
parent
cfc8cd0b92
commit
c65ee15c0d
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ main { max-width: 1200px; margin: 0 auto; padding: 20px 24px 60px; }
|
||||||
/* "Moderate" is a wide single word (can't wrap) sandwiched between the two-line
|
/* "Moderate" is a wide single word (can't wrap) sandwiched between the two-line
|
||||||
"Light–Mod"/"Mod–Heavy" labels, so on narrow screens its centered box spills over
|
"Light–Mod"/"Mod–Heavy" labels, so on narrow screens its centered box spills over
|
||||||
their first line. Lift it into the empty gap above to clear the collision. */
|
their first line. Lift it into the empty gap above to clear the collision. */
|
||||||
.ct-wet-5 .ct-label { transform: translateY(-0.85em); }
|
.ct-wet-5 .ct-label { transform: translateY(-1.4em); }
|
||||||
.ct-num {
|
.ct-num {
|
||||||
font-size: 12px; font-weight: 700; line-height: 1;
|
font-size: 12px; font-weight: 700; line-height: 1;
|
||||||
color: color-mix(in oklab, var(--c, var(--muted)), var(--text) 40%);
|
color: color-mix(in oklab, var(--c, var(--muted)), var(--text) 40%);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue