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