Files
web/apps/scandic-web/components/Blocks/FullWidthCampaign/fullWidthCampaign.module.css
Erik Tiekstra 6ac8267c31 fix(BOOK-204): Added dynamic h1 to startpage
Approved-by: Christel Westerberg
2025-11-26 14:26:11 +00:00

77 lines
1.1 KiB
CSS

.container {
position: relative;
overflow: hidden;
height: 100vh;
&::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.36) 50%,
rgba(0, 0, 0, 0.75) 100%
);
pointer-events: none;
z-index: 1;
}
}
.bodyText {
text-align: center;
color: var(--Base-Text-Inverted);
}
.content {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 800px;
margin: 0 auto;
gap: var(--Space-x1);
padding: var(--Space-x4) var(--Space-x3);
z-index: 2;
}
.mainContent {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--Space-x2);
}
.buttons {
display: flex;
gap: var(--Space-x1);
}
.button {
min-width: 180px;
}
.image {
max-width: 100%;
height: 100%;
z-index: 0;
}
.scriptedText {
display: inline-block;
}
@media screen and (max-width: 767px) {
.button:not(:only-child) {
min-width: 135px;
}
}
@media screen and (min-width: 768px) {
.container {
height: 880px;
}
}