From 9ec025b24cfb39ee515518df906137e29f679d50 Mon Sep 17 00:00:00 2001 From: bronku Date: Wed, 10 Jun 2026 20:17:29 +0200 Subject: [PATCH] accessibility tweaks --- css/components.css | 1 + css/kawiarnia.css | 12 ++++++++++-- html/album.templ | 2 +- html/index.templ | 2 +- html/kawiarnia.templ | 2 +- html/layout.templ | 6 ++---- html/wyroby_ciasta.templ | 2 +- html/wyroby_lody.templ | 2 +- html/wyroby_slodkie_stoly.templ | 2 +- html/wyroby_torty.templ | 2 +- 10 files changed, 20 insertions(+), 13 deletions(-) diff --git a/css/components.css b/css/components.css index 45de63f..d871487 100644 --- a/css/components.css +++ b/css/components.css @@ -126,6 +126,7 @@ /* we don't want any gap between this element and the main contents of the site */ padding-bottom: 0; + padding-top: 4rem; & + * { padding-top: 0; diff --git a/css/kawiarnia.css b/css/kawiarnia.css index dd6cc2a..f60e342 100644 --- a/css/kawiarnia.css +++ b/css/kawiarnia.css @@ -22,13 +22,21 @@ position: absolute; bottom: 0; background-image: linear-gradient( - to top, - var(--surface) 30%, + to right, + var(--surface), transparent ); width: 100%; height: 100%; z-index: 100; + + @media (max-width: 768px) { + background-image: linear-gradient( + to top, + var(--surface) 30%, + transparent + ); + } } } diff --git a/html/album.templ b/html/album.templ index b2b3482..5625a72 100644 --- a/html/album.templ +++ b/html/album.templ @@ -1,7 +1,7 @@ package html templ Album(images []string, activePage string, pages []string) { @layout("album") { -
+
@albumHeader(activePage, pages)
diff --git a/html/index.templ b/html/index.templ index 34a1113..ced7f28 100644 --- a/html/index.templ +++ b/html/index.templ @@ -2,7 +2,7 @@ package html templ Index() { @layout("index") { -
+

Słodkości tworzone z pasją

diff --git a/html/kawiarnia.templ b/html/kawiarnia.templ index 2f7ebfb..da7df30 100644 --- a/html/kawiarnia.templ +++ b/html/kawiarnia.templ @@ -2,7 +2,7 @@ package html templ Kawiarnia() { @layout("kawiarnia") { -
+
Miejsce spotkań diff --git a/html/layout.templ b/html/layout.templ index 8706151..4508436 100644 --- a/html/layout.templ +++ b/html/layout.templ @@ -18,7 +18,7 @@ templ layout(activePage string) { - Przejdź do treści + Przejdź do treści -
- { children... } -
+ { children... }