diff --git a/index.html b/index.html index c4b4fc2..329379b 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,9 @@ --background-opacity: 0.6; --hf-opacity: 0.6; + + --mapua-yellow: #FFB81D; + --mapua-red: #D94230; } * { @@ -79,7 +82,7 @@ text-transform: uppercase; font-size: calc((var(--header-height) - var(--header-padding)) / var(--header-logo-ratio)); line-height: 1em; - } + } body { margin: 0; @@ -90,7 +93,7 @@ } main { - height: calc(100vh - var(--header-height) - var(--footer-height) - 1vh); + height: calc(100vh - var(--header-height) - var(--footer-height)); display: flex; flex-wrap: wrap; flex-direction: row; @@ -109,20 +112,20 @@ width: 100%; } - .counter.dayOfWeek, .counter.days { + .counter.date, .counter.days { max-width: 100% !important; } - .dayOfWeek { + .counter.date { font-size: calc(var(--font-scale) * 0.6vmin); } - body:not(.countdown) .dayOfWeek, + body:not(.countdown) .date, body.countdown .days { display: initial; } - body.countdown .dayOfWeek, + body.countdown .date, body:not(.countdown) .days { display: none; } @@ -134,7 +137,7 @@ .counter > .number { text-shadow: 0 1vmin 0.7vmin rgba(42, 42, 42, 0.95); - color: #FFB81D; + color: var(--mapua-yellow); font-size: 1.5em; font-weight: bold; line-height: 0.8em; @@ -142,12 +145,24 @@ /* number */ .counter.days > .number, - .counter.dayOfWeek > .number { + .counter.date > .number { font-size: 2.4em; - color: #D9291C; + color: var(--mapua-red); text-transform: uppercase; } + .counter.date > .label { + margin-bottom: 2vh; + } + + #dayOfWeek { + font-size: 1em; + } + + #clockDate { + font-size: 1.4em; + } + /* labels */ .counter > .label { color: white; @@ -155,10 +170,9 @@ font-size: 0.4em; line-height: 1em; text-transform: uppercase; - text-wrap: nowrap; } - body:not(.countdown) .counter:not(.dayOfWeek) > .label { + body:not(.countdown) .counter:not(.date) > .label { display: none; } @@ -197,8 +211,9 @@ ??? days to go -