diff --git a/epicyon-calendar.css b/epicyon-calendar.css index a57effefc..8db0a6b54 100644 --- a/epicyon-calendar.css +++ b/epicyon-calendar.css @@ -14,6 +14,10 @@ --title-text: #282c37; --title-background: #ccc; --focus-color: white; + --calendar-horizontal-padding: 0; + --font-size-calendar-header: 3rem; + --font-size-calendar-day: 1rem; + --font-size-calendar-cell: 4rem; } @font-face { @@ -54,6 +58,7 @@ main { .calendar { table-display: fixed; width: 100%; + padding: 0 var(--calendar-horizontal-padding); } a:visited{ @@ -105,7 +110,7 @@ a:focus { background-color: var(--title-background); color: var(--title-text); display: inline-block; - font-size: 3rem; + font-size: var(--font-size-calendar-header); font-weight: 400; letter-spacing: 0.1em; padding: .5rem 2rem; @@ -113,13 +118,13 @@ a:focus { } .calendar__day__header { - font-size: 1rem; + font-size: var(--font-size-calendar-day); letter-spacing: 0.1em; text-transform: uppercase; } .calendar__day__cell { - font-size: 4rem; + font-size: var(--font-size-calendar-cell); position: relative; } diff --git a/theme.py b/theme.py index 95e0f7fd8..68701fd06 100644 --- a/theme.py +++ b/theme.py @@ -1026,6 +1026,9 @@ def setThemeIndymediaModern(baseDir: str): fontStrItalic = \ "url('./fonts/NimbusSanL-italic.otf') format('opentype')" themeParams = { + "font-size-calendar-header": "2rem", + "font-size-calendar-cell": "2rem", + "calendar-horizontal-padding": "20%", "time-vertical-align": "10px", "header-vertical-offset": "-10%", "publish-button-vertical-offset": "0",