ldc-theme-default/sass/base/_layout.scss
2025-06-25 17:52:24 +02:00

114 lines
2.5 KiB
SCSS

@use "sass:map";
body {
> header {
@include media-breakpoint-up(xl) {
.rest-in-game-banner-container {
overflow: hidden;
}
}
@include media-breakpoint-up(xxxl, map.merge($grid-breakpoints, ("xxxl": 1600px))) {
.game-logo-banner {
position: absolute;
top: 0;
}
}
.rest-in-game-banner {
transform: skew(12deg) translateX(5%);
>span {
transform: skew(-12deg);
}
}
.btn-connect {
position: relative;
padding-left: 2.3rem;
&::before {
position: absolute;
top: 50%;
left: 0.3rem;
width: 1.5rem;
height: 1.5rem;
background-image: url('@Theme/images/connect.png');
background-size: contain;
content: "";
transform: translateY(-50%);
}
}
}
> footer {
.share {
width: 2.5rem;
}
.list-inline {
.list-inline-item {
&::after {
right: 0;
display: inline-block;
width: 0.2rem;
margin-left: 0.8rem;
background-color: $color-light;
content: '\00A0';
}
&:last-child::after {
display: none;
}
}
}
svg {
fill: $color-light;
}
.downlink {
> a {
display: inline-block;
}
}
@include media-breakpoint-up(md) {
.downlink {
> a {
position: relative;
> span {
position: absolute;
right: 5%;
bottom: 0;
}
}
}
}
#newsletter-email::placeholder {
color: $color-white !important;
}
#page-up {
position: fixed;
right: 0;
bottom: 0;
display: none;
padding: 0;
margin-right: 1rem;
&.show {
display: block;
}
svg {
width: 3rem;
fill: $color-dark;
filter: drop-shadow(0 0 2px #{rgba($color-light, $alpha: 0.4)});
}
}
}
}