From 787e9d96c235e0afeaafa518da5a6e30c2c369f8 Mon Sep 17 00:00:00 2001 From: bronku Date: Wed, 13 May 2026 08:33:13 +0200 Subject: [PATCH] some refactors --- base.css | 4 ++-- home.css | 8 ++++---- index.html | 16 ++++++++-------- layout.css | 2 +- wyroby.css | 8 ++++++-- wyroby.html | 4 ++-- wyroby_torty.css | 0 wyroby_torty.html | 4 ++-- 8 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 wyroby_torty.css diff --git a/base.css b/base.css index 2fb2a7c..ccd8536 100644 --- a/base.css +++ b/base.css @@ -63,7 +63,7 @@ p { line-height: 1.5rem; } -section, nav, footer { +body > nav, body > footer, body > main > * { padding: 8rem 2rem; & > div:only-child, &:not(:has(>div:only-child)) { @@ -72,7 +72,7 @@ section, nav, footer { } } -nav { +body > nav { padding: 1rem; } diff --git a/home.css b/home.css index 0191e0e..dd5db6d 100644 --- a/home.css +++ b/home.css @@ -1,6 +1,6 @@ @import "base.css"; -.hero { +#index > header { max-width: var(--max-content-width); display: grid; @@ -49,7 +49,7 @@ } } -.about-us { +#about-us { background-color: var(--surface-container-low); & > div { @@ -100,7 +100,7 @@ } } -.featured-delights { +#featured-delights { gap: 2rem; display: grid; grid-template-columns: 1fr 1fr 1fr; @@ -121,7 +121,7 @@ } } -.kawiarnia { +#kawiarnia { background-color: var(--secondary-container); & > div { diff --git a/index.html b/index.html index 266c63f..6b3a827 100644 --- a/index.html +++ b/index.html @@ -19,11 +19,11 @@ Portfolio Kawiarnia - Kontakt + Kontakt -
-
+
+

Słodkości tworzone z pasją

Naturalne składniki, domowe receptury i pasja. Tworzymy torty i wypieki na Twoje najważniejsze chwile @@ -33,8 +33,8 @@

tort
-
-
+ +
@@ -59,7 +59,7 @@
-
-