ldc-theme-default/sass/base/_layout.scss
2023-11-27 12:03:58 +01:00

116 lines
2.7 KiB
SCSS

@use "sass:map";
body {
> header {
@include media-breakpoint-up(xl) {
.rest-in-game-banner-container {
overflow: hidden;
}
}
.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%);
}
}
@include media-breakpoint-up(xxxl, map.merge($grid-breakpoints, ("xxxl": 1600px))) {
.navbar-brand {
position: absolute;
top: 0;
}
}
}
> footer {
.share {
width: 1.6rem;
}
.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 {
position: relative;
height: 6rem;
> a {
position: absolute;
top: -6rem;
left: 50%;
width: 11rem;
max-height: 8rem;
transform: translateX(-50%);
> span {
position: relative;
top: -3rem;
}
}
}
}
#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)});
}
}
}
}