From ebc9c02e6e0ddc7445436db822b22f2dafbd227e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 3 Nov 2021 16:50:22 +0000 Subject: [PATCH] Calendar font size --- epicyon-calendar.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/epicyon-calendar.css b/epicyon-calendar.css index a1fb0f9be..ffed3df26 100644 --- a/epicyon-calendar.css +++ b/epicyon-calendar.css @@ -19,6 +19,8 @@ --calendar-horizontal-padding: 0; --calendar-cell-size: 1.5vw; --calendar-cell-size-mobile: 1.5vw; + --font-size-calendar: 20px; + --font-size-calendar-mobile: 30px; --font-size-calendar-header: 3rem; --font-size-calendar-day: 1rem; --font-size-calendar-cell: 2rem; @@ -248,6 +250,9 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) { .calendar__day__cell { padding: var(--calendar-cell-size) 0 var(--calendar-cell-size); } + body { + font-size: var(--font-size-calendar); + } } @media screen and (max-width: 1000px) { @@ -265,4 +270,7 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) { .calendar__day__cell { padding: var(--calendar-cell-size-mobile) 0 var(--calendar-cell-size-mobile); } + body { + font-size: var(--font-size-calendar-mobile); + } }