196 lines
4.6 KiB
CSS
196 lines
4.6 KiB
CSS
@import "base.css";
|
|
|
|
#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 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
|
|
& > div {
|
|
justify-content: center;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
|
@media (max-width: 786px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
width: 100%;
|
|
gap: 2rem;
|
|
|
|
& > div {
|
|
background-color: white;
|
|
border-radius: var(--border-radius);
|
|
padding: 2rem;
|
|
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;
|
|
}
|
|
|
|
& > ul {
|
|
grid-column: 1/span 2;
|
|
|
|
& > 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 {
|
|
background-color: var(--surface-container-low);
|
|
|
|
& > div {
|
|
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
width: 100%;
|
|
@media (max-width: 786px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
& > div:first-child {
|
|
grid-column: 1/ -1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
& > div:not(:first-child) {
|
|
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;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|