nasze wyroby
This commit is contained in:
parent
b112b25e84
commit
19b426adb3
2 changed files with 124 additions and 120 deletions
102
index.html
102
index.html
|
|
@ -60,63 +60,59 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="featured-delights">
|
<section class="featured-delights">
|
||||||
|
<h2>Nasze Wyroby</h2>
|
||||||
<div>
|
<div>
|
||||||
<h2>Nasze Wyroby</h2>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<img alt="tort" src="images/004.jpg"/>
|
||||||
<div>
|
</div>
|
||||||
<img alt="tort" src="images/004.jpg"/>
|
<div>
|
||||||
</div>
|
<h3>Torty Okazjonalne</h3>
|
||||||
<div>
|
<p>Weselne, urodzinowe i te bez okazji – od klasyki po nowoczesne musy.</p>
|
||||||
<h3>Torty Okazjonalne</h3>
|
<a>Przeglądaj Torty
|
||||||
<p>Weselne, urodzinowe i te bez okazji – od klasyki po nowoczesne musy.</p>
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||||
<a>Przeglądaj Torty
|
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
stroke-linejoin="round" class="lucide lucide-arrow-right-icon lucide-arrow-right">
|
||||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
<path d="M5 12h14"/>
|
||||||
stroke-linejoin="round" class="lucide lucide-arrow-right-icon lucide-arrow-right">
|
<path d="m12 5 7 7-7 7"/>
|
||||||
<path d="M5 12h14"/>
|
</svg>
|
||||||
<path d="m12 5 7 7-7 7"/>
|
</a>
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<img alt="ciasto" src="images/005.jpg"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3>Domowe Ciasta</h3>
|
|
||||||
<p>Zapach tradycji: od serników po puszyste bezy</p>
|
|
||||||
<a>Wyberz ciasto
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
||||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
|
||||||
stroke-linejoin="round" class="lucide lucide-arrow-right-icon lucide-arrow-right">
|
|
||||||
<path d="M5 12h14"/>
|
|
||||||
<path d="m12 5 7 7-7 7"/>
|
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<img alt="slodkosci" src="images/006.jpg"/>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3>Słodkie Stoły</h3>
|
|
||||||
<p>Kompleksowa oprawa słodkości na większe przyjęcia.</p>
|
|
||||||
<a>Sprawdź słodkie stoły
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
|
||||||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
|
||||||
stroke-linejoin="round" class="lucide lucide-arrow-right-icon lucide-arrow-right">
|
|
||||||
<path d="M5 12h14"/>
|
|
||||||
<path d="m12 5 7 7-7 7"/>
|
|
||||||
</svg>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img alt="ciasto" src="images/005.jpg"/>
|
||||||
|
</div>
|
||||||
|
<div class="greener">
|
||||||
|
<h3>Domowe Ciasta</h3>
|
||||||
|
<p>Zapach tradycji: od serników po puszyste bezy</p>
|
||||||
|
<a>Wyberz ciasto
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||||
|
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||||
|
stroke-linejoin="round" class="lucide lucide-arrow-right-icon lucide-arrow-right">
|
||||||
|
<path d="M5 12h14"/>
|
||||||
|
<path d="m12 5 7 7-7 7"/>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img alt="slodkosci" src="images/006.jpg"/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>Słodkie Stoły</h3>
|
||||||
|
<p>Kompleksowa oprawa słodkości na większe przyjęcia.</p>
|
||||||
|
<a>Sprawdź słodkie stoły
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
|
||||||
|
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||||||
|
stroke-linejoin="round" class="lucide lucide-arrow-right-icon lucide-arrow-right">
|
||||||
|
<path d="M5 12h14"/>
|
||||||
|
<path d="m12 5 7 7-7 7"/>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<section class="kawiarnia">
|
<section class="kawiarnia">
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
142
style.css
142
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,84 +183,92 @@ nav > div {
|
||||||
}
|
}
|
||||||
|
|
||||||
.featured-delights {
|
.featured-delights {
|
||||||
|
max-width: var(--max-content-width);
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 2rem;
|
||||||
|
gap: 2rem;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
|
grid-template-rows: auto auto;
|
||||||
|
|
||||||
|
& > 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 {
|
& > div {
|
||||||
max-width: var(--max-content-width);
|
width: 100%;
|
||||||
margin: 6rem auto;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 5rem;
|
|
||||||
|
|
||||||
& > div {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 3rem;
|
|
||||||
|
|
||||||
& > div {
|
position: relative;
|
||||||
width: 100%;
|
border-radius: var(--border-radius);
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: white;
|
||||||
|
|
||||||
position: relative;
|
.greener {
|
||||||
border-radius: var(--border-radius);
|
background-color: rgb(from var(--secondary-container) r g b / 0.3);
|
||||||
overflow: hidden;
|
}
|
||||||
background-color: white;
|
|
||||||
|
|
||||||
&:nth-child(2) {
|
& img {
|
||||||
background-color: rgb(from var(--secondary-container) r g b / 0.3);
|
display: block;
|
||||||
}
|
width: 100%;
|
||||||
|
scale: 1;
|
||||||
|
transition: scale 0.7s;
|
||||||
|
}
|
||||||
|
|
||||||
& img {
|
& > div:first-child {
|
||||||
display: block;
|
overflow: hidden;
|
||||||
width: 100%;
|
}
|
||||||
scale: 1;
|
|
||||||
transition: scale 0.7s;
|
|
||||||
}
|
|
||||||
|
|
||||||
& > div:first-child {
|
& > div:last-child {
|
||||||
overflow: hidden;
|
display: grid;
|
||||||
}
|
grid-template-rows: auto auto 1fr;
|
||||||
|
padding: 2rem;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
& > div:last-child {
|
& > a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
align-self: end;
|
||||||
align-items: flex-start;
|
align-items: center;
|
||||||
padding: 1.5rem 2rem 3rem 2rem;
|
justify-content: flex-start;
|
||||||
|
gap: 1rem;
|
||||||
& > a {
|
color: var(--primary);
|
||||||
display: flex;
|
font-weight: bold;
|
||||||
align-items: center;
|
text-decoration: none;
|
||||||
justify-content: center;
|
|
||||||
gap: 1rem;
|
|
||||||
color: var(--primary);
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
top: 0;
|
|
||||||
transition: top 0.2s;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
top: -10px;
|
|
||||||
|
|
||||||
& img {
|
|
||||||
scale: 1.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
& svg {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
& svg {
|
|
||||||
transition-duration: 0.2s;
|
|
||||||
height: 2em;
|
|
||||||
width: 2em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
top: 0;
|
||||||
|
transition: top 0.2s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
top: -10px;
|
||||||
|
|
||||||
|
& img {
|
||||||
|
scale: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
& svg {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& svg {
|
||||||
|
transition-duration: 0.2s;
|
||||||
|
height: 2em;
|
||||||
|
width: 2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue