55 lines
1.1 KiB
CSS
55 lines
1.1 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%;
|
|
& > img {width: 100%;}
|
|
& > 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: 40%;
|
|
margin: 0;
|
|
}
|
|
|
|
& > span {
|
|
color: var(--primary);
|
|
letter-spacing: 0.05rem;
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
& > p {
|
|
font-size: 1.125rem;
|
|
color: var(--on-surface-variant);
|
|
}
|
|
}
|
|
}
|
|
|