what is going on
This commit is contained in:
parent
7fdf2fc4c1
commit
45c9005c92
157 changed files with 5187 additions and 186 deletions
101
css/base.css
Normal file
101
css/base.css
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
:root {
|
||||
--surface-container-low: #faf3e7;
|
||||
--surface-container-highest: #eae2d2;
|
||||
--surface: #fff8f0;
|
||||
--backdrop-blur: 24px;
|
||||
--primary: #8c4d50;
|
||||
--primary-container: #fcacaf;
|
||||
--on-background: #363227;
|
||||
--nav-height: 4rem;
|
||||
--border-radius: 48px;
|
||||
--small-radius: 24px;
|
||||
--small-border-radius: 8px;
|
||||
--max-content-width: 80rem;
|
||||
--secondary-container: #e0f5cb;
|
||||
--on-secondary-container: #4c5e3e;
|
||||
--on-surface: #363227;
|
||||
--outline-variant: #b9b1a3;
|
||||
--on-surface-variant: #645f52;
|
||||
--grid-cols: 3;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
:root {
|
||||
--grid-cols: 1;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--surface);
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
margin: 0;
|
||||
font-family: serif;
|
||||
color: var(--on-background);
|
||||
|
||||
& > span {
|
||||
font-style: italic;
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 4rem;
|
||||
line-height: 3.5rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.8rem;
|
||||
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--on-background);
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
body > nav, body > footer, body > main > * {
|
||||
padding: 8rem 2rem;
|
||||
|
||||
& > div:only-child, &:not(:has(>div:only-child)) {
|
||||
max-width: var(--max-content-width);
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
body > nav {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
163
css/components.css
Normal file
163
css/components.css
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
.btn {
|
||||
background-image: linear-gradient(to right, var(--primary), var(--primary-container));
|
||||
padding: 1rem 2rem;
|
||||
font-size: 1rem;
|
||||
border-radius: 100rem;
|
||||
text-decoration: none;
|
||||
color: var(--on-background);
|
||||
|
||||
transition-duration: 0.2s;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-green {
|
||||
padding: 0.5rem 1.5rem;
|
||||
text-decoration: none;
|
||||
background-color: var(--secondary-container);
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--on-secondary-container);
|
||||
|
||||
transition-duration: 0.2s;
|
||||
|
||||
&[href]:not(:hover) {
|
||||
background-color: var(--surface-container-highest);
|
||||
color: var(--on-background);
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
position: relative;
|
||||
border-radius: var(--border-radius);
|
||||
overflow: hidden;
|
||||
background-color: white;
|
||||
|
||||
.greener {
|
||||
background-color: rgb(from var(--secondary-container) r g b / 0.3);
|
||||
}
|
||||
|
||||
& img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
scale: 1;
|
||||
transition: scale 0.7s;
|
||||
}
|
||||
|
||||
& > div:first-child {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
& > div:last-child {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
padding: 2rem;
|
||||
flex-grow: 1;
|
||||
|
||||
& > a {
|
||||
display: flex;
|
||||
align-self: end;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
.subnav {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
/* we don't want any gap between this element and the main contents of the site */
|
||||
padding-bottom: 0;
|
||||
|
||||
& + * {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
& > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
& > * {
|
||||
text-align: center;
|
||||
max-width: 40rem;
|
||||
}
|
||||
|
||||
& > nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
padding: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.card-low {
|
||||
background-color: var(--surface-container-low);
|
||||
border: 1px solid var(--surface-container-highest);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2rem;
|
||||
& > h3 {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
& > span {
|
||||
color: var(--primary);
|
||||
font-weight: bold;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.offer-card {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
gap: 1rem;
|
||||
|
||||
& > svg {
|
||||
padding: 1rem;
|
||||
color: var(--icon-color);
|
||||
background-color: rgb(from var(--icon-color) r g b / 10%);
|
||||
border-radius: var(--border-radius);
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
& > h3 {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
& > :last-child {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
190
css/home.css
Normal file
190
css/home.css
Normal file
|
|
@ -0,0 +1,190 @@
|
|||
#index > header {
|
||||
max-width: var(--max-content-width);
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2rem;
|
||||
padding: 2rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
& > :last-child {
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
& > :first-child {
|
||||
grid-row: 2;
|
||||
}
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
& > :first-child {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
& > :last-child {
|
||||
align-items: center;
|
||||
|
||||
& > img {
|
||||
rotate: 2deg;
|
||||
border-radius: var(--border-radius);
|
||||
max-width: 100%;
|
||||
max-height: 80%;
|
||||
aspect-ratio: 4/5;
|
||||
transition: rotate 0.7s;
|
||||
|
||||
&:hover {
|
||||
rotate: 0deg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#about-us {
|
||||
background-color: var(--surface-container-low);
|
||||
|
||||
& > div {
|
||||
gap: 4rem;
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 2fr;
|
||||
align-items: center;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
& > :first-child {
|
||||
position: relative;
|
||||
|
||||
& > div {
|
||||
overflow: hidden;
|
||||
border-radius: var(--border-radius);
|
||||
border: 10px solid var(--surface-container-low);
|
||||
|
||||
&:first-child {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
position: absolute;
|
||||
bottom: -3rem;
|
||||
right: 0;
|
||||
z-index: 20;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
& > img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& :last-child {
|
||||
& > span {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#featured-delights {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#kawiarnia {
|
||||
background-color: var(--secondary-container);
|
||||
|
||||
& > div {
|
||||
background-color: rgb(from var(--surface) r g b / 0.6);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 4rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
& > :first-child {
|
||||
& > h3 {
|
||||
color: var(--on-secondary-container);
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
& > p {
|
||||
color: var(--on-secondary-container);
|
||||
font-size: 1.125rem;
|
||||
opacity: 0.8;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
& li {
|
||||
font-size: 1.25rem;
|
||||
margin: 1rem 0;
|
||||
|
||||
& span {
|
||||
margin-left: 1rem;
|
||||
color: var(--on-secondary-container);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& > :last-child {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
& img {
|
||||
width: 100%;
|
||||
border-radius: var(--border-radius);
|
||||
position: relative;
|
||||
|
||||
|
||||
}
|
||||
|
||||
& div:first-child > img {
|
||||
top: -1rem;
|
||||
}
|
||||
|
||||
& div:last-child > img {
|
||||
top: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
171
css/kawiarnia.css
Normal file
171
css/kawiarnia.css
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
#kawiarnia-header {
|
||||
padding: 0;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
& > :last-child {
|
||||
z-index: -10;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
& > img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
& > div {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
background-image: linear-gradient(to right, var(--surface), transparent);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 100;
|
||||
}
|
||||
}
|
||||
|
||||
& > :first-child {
|
||||
margin: 0 auto;
|
||||
max-width: var(--max-content-width);
|
||||
padding: 8rem 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
align-items: flex-start;
|
||||
|
||||
& > h1 {
|
||||
line-height: unset;
|
||||
}
|
||||
|
||||
& > * {
|
||||
max-width: 32rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
& > span {
|
||||
color: var(--primary);
|
||||
letter-spacing: 0.05rem;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
& > p {
|
||||
font-size: 1.125rem;
|
||||
color: var(--on-surface-variant);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#kawiarnia-content {
|
||||
background-color: var(--surface-container-low);
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
|
||||
& > div {
|
||||
justify-content: center;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--grid-cols), 1fr);
|
||||
|
||||
|
||||
width: 100%;
|
||||
gap: 2rem;
|
||||
|
||||
& > div {
|
||||
background-color: white;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2rem;
|
||||
& > ul {
|
||||
& > h3 {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
& > li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-weight: bolder;
|
||||
|
||||
& > span {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px dashed var(--on-surface-variant);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
grid-row: span 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#kawiarnia-details {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--grid-cols), 1fr);
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
width: 100%;
|
||||
|
||||
& > header {
|
||||
grid-column: 1/ -1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
& > div {
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 2rem;
|
||||
background-color: white;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
& > svg {
|
||||
--icon-color: var(--primary);
|
||||
padding: 1rem;
|
||||
overflow: visible;
|
||||
color: var(--icon-color);
|
||||
background-color: rgb(from var(--icon-color) r g b / 10%);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
& > ul {
|
||||
width: 100%;
|
||||
|
||||
& > li {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 1rem 0;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px dashed var(--on-surface-variant);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& > a {
|
||||
color: var(--primary);
|
||||
text-decoration: none;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
127
css/layout.css
Normal file
127
css/layout.css
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
body > nav {
|
||||
position: sticky;
|
||||
z-index: 50;
|
||||
top: 0;
|
||||
padding: 1rem;
|
||||
background-color: color-mix(in srgb, var(--surface), transparent 20%);
|
||||
backdrop-filter: blur(var(--backdrop-blur));
|
||||
|
||||
& > div {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
|
||||
& img {
|
||||
width: 20rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
& > .btn {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
}
|
||||
|
||||
& > :last-child {
|
||||
justify-self: end
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
grid-row: 2;
|
||||
grid-column: 1/ span 2;
|
||||
}
|
||||
|
||||
& > a {
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
color: var(--on-background);
|
||||
|
||||
&[href] {
|
||||
font-weight: 200;
|
||||
transition: color 0.2s;
|
||||
|
||||
&:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
/* The main selected link doesn't have a href attribute, so we can use that for styles */
|
||||
|
||||
&:not([href]) {
|
||||
padding-bottom: 8px;
|
||||
color: var(--primary);
|
||||
border-bottom: 2px solid var(--primary);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 2fr 2fr;
|
||||
gap: 1rem;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
& > :first-child {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
& p {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
& > :last-child {
|
||||
font-size: 0.75rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
}
|
||||
|
||||
& > :nth-child(2) a {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
& a {
|
||||
font-size: 0.875rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
margin: 1rem 0;
|
||||
text-decoration: none;
|
||||
color: var(--on-background);
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
& h4 {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
& svg {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
349
css/normalize.css
vendored
Normal file
349
css/normalize.css
vendored
Normal file
|
|
@ -0,0 +1,349 @@
|
|||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1.15; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the `main` element consistently in IE.
|
||||
*/
|
||||
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box; /* 1 */
|
||||
height: 0; /* 1 */
|
||||
overflow: visible; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57-
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none; /* 1 */
|
||||
text-decoration: underline; /* 2 */
|
||||
text-decoration: underline dotted; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1.15; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input { /* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select { /* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box; /* 1 */
|
||||
color: inherit; /* 2 */
|
||||
display: table; /* 1 */
|
||||
max-width: 100%; /* 1 */
|
||||
padding: 0; /* 3 */
|
||||
white-space: normal; /* 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE 10+.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10.
|
||||
* 2. Remove the padding in IE 10.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner padding in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
}
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
27
css/portfolio.css
Normal file
27
css/portfolio.css
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
.portfolio {
|
||||
padding-top: 2rem;
|
||||
|
||||
& > header {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
& > p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
& > * {
|
||||
text-align: center;
|
||||
max-width: 40rem;
|
||||
}
|
||||
}
|
||||
|
||||
& > div:nth-child(2) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
padding: 3rem;
|
||||
}
|
||||
}
|
||||
35
css/wyroby.css
Normal file
35
css/wyroby.css
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#wyroby {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(var(--grid-cols), 1fr);
|
||||
width: 100%;
|
||||
gap: 2rem;
|
||||
|
||||
& > .card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
& > .card > div:last-child {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
grid-template-rows: auto auto;
|
||||
|
||||
& > h3 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
& > span {
|
||||
color: var(--primary);
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
& > p {
|
||||
grid-row: 2;
|
||||
grid-column: 1/span 2;
|
||||
color: var(--on-surface);
|
||||
font-size: 0.875em;
|
||||
}
|
||||
}
|
||||
}
|
||||
0
css/wyroby_lody.css
Normal file
0
css/wyroby_lody.css
Normal file
87
css/wyroby_slodkie_stoly.css
Normal file
87
css/wyroby_slodkie_stoly.css
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
#slodkie_stoly {
|
||||
text-align: center;
|
||||
|
||||
& > section {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
& > #cennik {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--grid-cols), 1fr);
|
||||
grid-gap: 2rem;
|
||||
|
||||
& > p {
|
||||
font-style: italic;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
& #deserki {
|
||||
border: 1px solid var(--surface-container-highest);
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--surface-container-low);
|
||||
|
||||
& > div {
|
||||
padding: 2rem;
|
||||
|
||||
& > h2 {
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 3rem;
|
||||
}
|
||||
|
||||
& > ul {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
|
||||
gap: 1rem;
|
||||
|
||||
@media (max-width: 786px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
& > li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
text-align: start;
|
||||
|
||||
&::before {
|
||||
display: inline-block;
|
||||
flex-shrink: 0;
|
||||
width: 1.5em;
|
||||
height: 1.5em;
|
||||
margin-right: 0.5rem;
|
||||
content: "";
|
||||
background-color: var(--primary);
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: contain;
|
||||
mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNpcmNsZS1jaGVjay1pY29uIGx1Y2lkZS1jaXJjbGUtY2hlY2siPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIi8+PHBhdGggZD0ibTkgMTIgMiAyIDQtNCIvPjwvc3ZnPg==);
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
|
||||
& :first-child {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
& :last-child:not(:only-child) {
|
||||
font-size: 0.9em;
|
||||
font-weight: lighter;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
188
css/wyroby_torty.css
Normal file
188
css/wyroby_torty.css
Normal file
|
|
@ -0,0 +1,188 @@
|
|||
#wyroby-torty > section {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
#rodzaje-tortow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
@media (max-width: 786px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
gap: 2rem;
|
||||
|
||||
& > div {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#cennik-tortow {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr;
|
||||
@media (max-width: 786px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
gap: 2rem;
|
||||
|
||||
& li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
& > span:last-child {
|
||||
font-weight: bold;
|
||||
color: var(--primary);
|
||||
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid var(--surface-container-highest);
|
||||
}
|
||||
}
|
||||
|
||||
& > div:first-child {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
|
||||
& > h3, & > svg {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
& > svg {
|
||||
font-size: 2rem;
|
||||
padding-right: 0;
|
||||
place-self: center;
|
||||
}
|
||||
|
||||
|
||||
& > ul {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--surface-container-highest);
|
||||
border-radius: var(--small-radius);
|
||||
background-color: white;
|
||||
grid-column: 1 / -1;
|
||||
|
||||
& > li {
|
||||
padding: 1rem 2rem;
|
||||
|
||||
&:first-child {
|
||||
font-weight: bold;
|
||||
background-color: rgb(from var(--secondary-container) r g b / 30%);
|
||||
|
||||
& > span:last-child {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& > div:last-child > ul > li {
|
||||
padding: 0.75rem 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#menu-smakow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--grid-cols), 1fr);
|
||||
gap: 2rem;
|
||||
|
||||
& > header {
|
||||
text-align: center;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
& .offer-card {
|
||||
padding: 2rem;
|
||||
border: 1px solid var(--surface-container-highest);
|
||||
border-radius: var(--border-radius);
|
||||
background: white;
|
||||
}
|
||||
|
||||
& dl {
|
||||
color: var(--on-surface);
|
||||
|
||||
& > * {
|
||||
padding: 0.25rem 0;
|
||||
}
|
||||
|
||||
& dt {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
display: inline-block;
|
||||
margin-top: 1rem;
|
||||
color: var(--primary);
|
||||
border-bottom: 1px dashed var(--outline-variant);
|
||||
}
|
||||
|
||||
& dd {
|
||||
font-size: 0.75rem;
|
||||
font-style: italic;
|
||||
margin: 0;
|
||||
padding-top: 0.25rem;
|
||||
color: var(--on-surface-variant);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#torty-musowe {
|
||||
border: 1px solid var(--surface-container-highest);
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--surface-container-low);
|
||||
|
||||
& > div {
|
||||
display: grid;
|
||||
padding: 2rem;
|
||||
grid-template-columns: auto auto;
|
||||
gap: 2rem;
|
||||
|
||||
& > header {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
place-items: center;
|
||||
|
||||
& > div {
|
||||
overflow: hidden;
|
||||
width: 60%;
|
||||
border: 10px solid white;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
& > img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
@media (max-width: 786px) {
|
||||
grid-template-columns: 1fr;
|
||||
& > div {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
& h4 {
|
||||
font-family: 'Plus Jakarta Sans', sans-serif; /* Modern font for titles */
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.5rem;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
& p {
|
||||
font-size: 0.95rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue