diff --git a/Makefile b/Makefile index b96a1c3..cbdd280 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \ poster_cz.webp poster_en.webp poster_cz.jpg poster_en.jpg \ moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \ styles.css icons.css \ - countdown.js theme.js lang.js + countdown.js theme.js lang.js \ + doto.ttf SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace COMPONENTS := head.html header.html nav.html footer.html @@ -62,3 +63,7 @@ dst/%.svg: icons/%.svg dst/favicon.ico: images/favicon.ico @mkdir -p $(@D) ln -f $< $@ + +dst/%.ttf: fonts/%.ttf + @mkdir -p $(@D) + ln -f $< $@ diff --git a/fonts/doto.ttf b/fonts/doto.ttf new file mode 100644 index 0000000..5b4cf7d Binary files /dev/null and b/fonts/doto.ttf differ diff --git a/pages/cz/index.html b/pages/cz/index.html index fb09dad..ab1f466 100644 --- a/pages/cz/index.html +++ b/pages/cz/index.html @@ -11,7 +11,7 @@
--:--:--:--
-
+
Plakát na akci s Richardem Stallmanem
diff --git a/pages/en/index.html b/pages/en/index.html index f2ed378..7f4b7d7 100644 --- a/pages/en/index.html +++ b/pages/en/index.html @@ -11,8 +11,8 @@
--:--:--:--
-
- Poster with Richard Stallman describing the event +
+ Plakát na akci s Richardem Stallmanem

diff --git a/styles/styles.css b/styles/styles.css index 57480cb..9c39d41 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -110,6 +110,11 @@ --layout-switch-icon: var(--wide-layout-switch-icon) } +@font-face { + font-family: doto; + src: url("doto.ttf"); +} + html { background-color: var(--bg-color); min-height: calc(100% - 32px); @@ -209,8 +214,22 @@ header * { .countdown { font-family: monospace; font-weight: bold; - font-size: 48px; + font-size: 2.5em; text-align: center; + margin: 1.5em auto; + padding: 0 .5em; + outline: 1px dotted black; + font-family: doto, monospace; + background-color: var(--fg-color); + color: var(--bg-color); + width: fit-content; + font-weight: bold; +} + +@media only screen and (min-width: 50rem) { + .countdown { + font-size: 4em; + } } nav { @@ -302,6 +321,10 @@ figcaption { font-style: italic; } +.poster { + margin: 0 !important; +} + nav ul { width: 100%; height: 100%; @@ -394,4 +417,3 @@ nav ul li a:visited { display: none; } } -