Fix/SW-1733 start page enhancements and fixes * fix: simplify carousel navigation and grid layout styling and fix padding issue * refactor(SW-1733): replace Preamble with Body component in JoinScandicFriends * refactor(SW-1733): update FullWidthCampaign button width styling * feat(SW-1733): Add gradient overlay to FullWidthCampaign component * refactor(SW-1733): Simplify FullWidthCampaign button props * refactor(SW-1733): Remove redundant button wrapper divs in FullWidthCampaign * refactor(SW-1733): Adjust FullWidthCampaign button wrapper min-width responsively Approved-by: Christian Andolf
72 lines
1.1 KiB
CSS
72 lines
1.1 KiB
CSS
.container {
|
|
position: relative;
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
}
|
|
|
|
.container::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;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.container {
|
|
height: 880px;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
gap: var(--Spacing-x1);
|
|
padding: var(--Spacing-x4) var(--Spacing-x3);
|
|
z-index: 2;
|
|
}
|
|
|
|
.mainContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--Spacing-x2);
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
gap: var(--Spacing-x1);
|
|
}
|
|
|
|
.buttonWrapper {
|
|
min-width: 180px;
|
|
}
|
|
|
|
@media screen and (max-width: 767px) {
|
|
.buttonWrapper:not(:only-child) {
|
|
min-width: 135px;
|
|
}
|
|
}
|
|
|
|
.image {
|
|
max-width: 100%;
|
|
height: 100%;
|
|
z-index: 0;
|
|
}
|
|
|
|
.scriptedText {
|
|
display: inline-block;
|
|
}
|