nasze wyroby
This commit is contained in:
parent
b112b25e84
commit
19b426adb3
2 changed files with 124 additions and 120 deletions
|
|
@ -60,10 +60,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="featured-delights">
|
<section class="featured-delights">
|
||||||
<div>
|
|
||||||
<h2>Nasze Wyroby</h2>
|
<h2>Nasze Wyroby</h2>
|
||||||
|
|
||||||
<div>
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<img alt="tort" src="images/004.jpg"/>
|
<img alt="tort" src="images/004.jpg"/>
|
||||||
|
|
@ -85,7 +82,7 @@
|
||||||
<div>
|
<div>
|
||||||
<img alt="ciasto" src="images/005.jpg"/>
|
<img alt="ciasto" src="images/005.jpg"/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="greener">
|
||||||
<h3>Domowe Ciasta</h3>
|
<h3>Domowe Ciasta</h3>
|
||||||
<p>Zapach tradycji: od serników po puszyste bezy</p>
|
<p>Zapach tradycji: od serników po puszyste bezy</p>
|
||||||
<a>Wyberz ciasto
|
<a>Wyberz ciasto
|
||||||
|
|
@ -115,8 +112,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
<section class="kawiarnia">
|
<section class="kawiarnia">
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
52
style.css
52
style.css
|
|
@ -131,10 +131,10 @@ nav > div {
|
||||||
.about-us {
|
.about-us {
|
||||||
background-color: var(--surface-container-low);
|
background-color: var(--surface-container-low);
|
||||||
|
|
||||||
|
padding: 2rem;
|
||||||
& > div {
|
& > div {
|
||||||
max-width: var(--max-content-width);
|
max-width: var(--max-content-width);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2rem;
|
|
||||||
gap: 4rem;
|
gap: 4rem;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 3fr 2fr;
|
grid-template-columns: 3fr 2fr;
|
||||||
|
|
@ -183,31 +183,40 @@ nav > div {
|
||||||
}
|
}
|
||||||
|
|
||||||
.featured-delights {
|
.featured-delights {
|
||||||
& > div {
|
|
||||||
max-width: var(--max-content-width);
|
max-width: var(--max-content-width);
|
||||||
margin: 6rem auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
padding: 2rem;
|
||||||
flex-direction: column;
|
gap: 2rem;
|
||||||
align-items: center;
|
display: grid;
|
||||||
justify-content: center;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
gap: 5rem;
|
grid-template-rows: auto auto;
|
||||||
|
|
||||||
& > div {
|
& > h2 {
|
||||||
display: flex;
|
align-self: center;
|
||||||
align-items: center;
|
justify-self: center;
|
||||||
flex-direction: row;
|
grid-column: 1/ span 3;
|
||||||
justify-content: center;
|
}
|
||||||
gap: 3rem;
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
|
||||||
|
& > h2 {
|
||||||
|
grid-column: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& > div {
|
& > div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
||||||
&:nth-child(2) {
|
.greener {
|
||||||
background-color: rgb(from var(--secondary-container) r g b / 0.3);
|
background-color: rgb(from var(--secondary-container) r g b / 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -223,15 +232,16 @@ nav > div {
|
||||||
}
|
}
|
||||||
|
|
||||||
& > div:last-child {
|
& > div:last-child {
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-direction: column;
|
grid-template-rows: auto auto 1fr;
|
||||||
align-items: flex-start;
|
padding: 2rem;
|
||||||
padding: 1.5rem 2rem 3rem 2rem;
|
flex-grow: 1;
|
||||||
|
|
||||||
& > a {
|
& > a {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-self: end;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
@ -260,8 +270,6 @@ nav > div {
|
||||||
width: 2em;
|
width: 2em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.kawiarnia {
|
.kawiarnia {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue