fucking padding

This commit is contained in:
bronku 2026-11-08 01:29:27 +01:00
parent fbe37bbed8
commit 42057d801e
2 changed files with 17 additions and 10 deletions

View file

@ -5,19 +5,24 @@
#swieta { #swieta {
& > header { & > header {
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--swieta-green);
& p, & h1 { & p, & h1 {
color: white; color: white;
} }
padding: 8rem 2rem;
padding-bottom: 0;
& span { & span {
word-spacing: 0.5rem; word-spacing: 0.5rem;
color: var(--swieta-gold); color: var(--swieta-gold);
} }
& > div {
padding: 4rem 2rem;
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--swieta-green);
border-radius: var(--border-radius); border-radius: var(--border-radius);
} }
}
& #wyroby { & #wyroby {
& > h2 { & > h2 {

View file

@ -6,11 +6,13 @@ templ Swieta(products []types.Product) {
@layout("swieta") { @layout("swieta") {
<main tabindex="-1" id="swieta"> <main tabindex="-1" id="swieta">
<header> <header>
<div>
<span>✦ BOŻE NARODZENIE 2026 ✦</span> <span>✦ BOŻE NARODZENIE 2026 ✦</span>
<h1>Święta smakują domowo</h1> <h1>Święta smakują domowo</h1>
<p> <p>
Tradycyjne świąteczne wypieki z naszej pracowni. Z naturalnych składników, według rodzinnych receptur. Tradycyjne świąteczne wypieki z naszej pracowni. Z naturalnych składników, według rodzinnych receptur.
</p> </p>
</div>
</header> </header>
<div id="wyroby" class="swieta"> <div id="wyroby" class="swieta">
<h2>Święteczne Słodkości</h2> <h2>Święteczne Słodkości</h2>