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 {
|
||||
max-width: var(--max-content-width);
|
||||
margin: 0 auto;
|
||||
|
||||
& > div {
|
||||
padding: 2rem;
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--secondary-container);
|
||||
& > p, & > h2{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
& > form {
|
||||
|
||||
display: grid;
|
||||
|
|
@ -161,9 +165,12 @@
|
|||
display: grid;
|
||||
grid-template-columns: 1fr auto auto auto;
|
||||
|
||||
& > span > span{
|
||||
& > span {
|
||||
align-content: center;
|
||||
& > span{
|
||||
color: var(--swieta-red);
|
||||
}
|
||||
}
|
||||
& > input {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
|
|
@ -208,4 +215,5 @@
|
|||
color: var(--surface);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,18 +44,20 @@ templ Swieta(products []types.Product) {
|
|||
</div>
|
||||
</section>
|
||||
<section id="order-form">
|
||||
<div>
|
||||
<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>
|
||||
<fieldset>
|
||||
for _, product := range products {
|
||||
@product_form(product)
|
||||
}
|
||||
</fieldset>
|
||||
<input type="text" placeholder="Imie i Nazwisko"/>
|
||||
<input type="tel" placeholder="Numer Telefonu"/>
|
||||
<input type="text" required placeholder="Imie i Nazwisko"/>
|
||||
<input type="tel" required placeholder="Numer Telefonu"/>
|
||||
<button type="submit">Wyślij zamówienie</button>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue