style fixes
This commit is contained in:
parent
b86f7f6ea0
commit
8d3d465fa0
2 changed files with 80 additions and 70 deletions
|
|
@ -143,12 +143,16 @@
|
||||||
|
|
||||||
|
|
||||||
#order-form {
|
#order-form {
|
||||||
|
max-width: var(--max-content-width);
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
|
& > div {
|
||||||
|
padding: 2rem;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
background-color: var(--secondary-container);
|
background-color: var(--secondary-container);
|
||||||
& > p, & > h2{
|
& > p, & > h2{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > form {
|
& > form {
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
@ -161,9 +165,12 @@
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr auto auto auto;
|
grid-template-columns: 1fr auto auto auto;
|
||||||
|
|
||||||
& > span > span{
|
& > span {
|
||||||
|
align-content: center;
|
||||||
|
& > span{
|
||||||
color: var(--swieta-red);
|
color: var(--swieta-red);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
& > input {
|
& > input {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
@ -209,3 +216,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,18 +44,20 @@ templ Swieta(products []types.Product) {
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="order-form">
|
<section id="order-form">
|
||||||
|
<div>
|
||||||
<h2>Złóż zamówienie</h2>
|
<h2>Złóż zamówienie</h2>
|
||||||
<p>Odbiór wszystkich zamówień: <b>24 grudnia</b>. Zamówienia przyjmujemy do <b>25 grudnia</b>. Potwierdzimy zamówienie telefonicznie.</p>
|
<p>Odbiór wszystkich zamówień: <b>24 grudnia</b>. Zamówienia przyjmujemy do <b>15 grudnia</b>. Potwierdzimy zamówienie telefonicznie.</p>
|
||||||
<form>
|
<form>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
for _, product := range products {
|
for _, product := range products {
|
||||||
@product_form(product)
|
@product_form(product)
|
||||||
}
|
}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<input type="text" placeholder="Imie i Nazwisko"/>
|
<input type="text" required placeholder="Imie i Nazwisko"/>
|
||||||
<input type="tel" placeholder="Numer Telefonu"/>
|
<input type="tel" required placeholder="Numer Telefonu"/>
|
||||||
<button type="submit">Wyślij zamówienie</button>
|
<button type="submit">Wyślij zamówienie</button>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue