211 lines
6.7 KiB
CSS
211 lines
6.7 KiB
CSS
.screen-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100dvh;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.top-bar {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
z-index: 2;
|
|
background-color: transparent;
|
|
|
|
--corner-radius: 20px;
|
|
--border-width: 2px;
|
|
}
|
|
|
|
.top-bar::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background-color: var(--dark-brown, #3d2b1f);
|
|
z-index: -2;
|
|
|
|
--r: var(--corner-radius);
|
|
|
|
-webkit-mask:
|
|
linear-gradient(black, black) top center / 100% calc(100% - var(--r) + 1px) no-repeat,
|
|
linear-gradient(black, black) top center / calc(100% - 2 * var(--r) + 1px) 100% no-repeat,
|
|
radial-gradient(circle at 0 100%, transparent var(--r), black calc(var(--r) + 0.5px)) bottom left / var(--r) var(--r) no-repeat,
|
|
radial-gradient(circle at 100% 100%, transparent var(--r), black calc(var(--r) + 0.5px)) bottom right / var(--r) var(--r) no-repeat;
|
|
|
|
mask:
|
|
linear-gradient(black, black) top center / 100% calc(100% - var(--r) + 1px) no-repeat,
|
|
linear-gradient(black, black) top center / calc(100% - 2 * var(--r) + 1px) 100% no-repeat,
|
|
radial-gradient(circle at 0 100%, transparent var(--r), black calc(var(--r) + 0.5px)) bottom left / var(--r) var(--r) no-repeat,
|
|
radial-gradient(circle at 100% 100%, transparent var(--r), black calc(var(--r) + 0.5px)) bottom right / var(--r) var(--r) no-repeat;
|
|
}
|
|
|
|
.top-bar::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background-color: transparent;
|
|
background-image: url('/bg/Hintergrund_ohne_Verzierung.webp');
|
|
background-size: cover;
|
|
background-position: top center;
|
|
box-shadow: inset 0px -15px 24px 0px #0000004d;
|
|
z-index: -1;
|
|
|
|
--b: var(--border-width);
|
|
--r-inner: calc(var(--corner-radius) + var(--b));
|
|
|
|
-webkit-mask:
|
|
linear-gradient(black, black) top center / 100% calc(100% - var(--r-inner) + 1px) no-repeat,
|
|
linear-gradient(black, black) top center / calc(100% - 2 * var(--r-inner) + 1px) calc(100% - var(--b)) no-repeat,
|
|
radial-gradient(circle at 0 100%, transparent var(--r-inner), black calc(var(--r-inner) + 0.5px)) bottom left / var(--r-inner) var(--r-inner) no-repeat,
|
|
radial-gradient(circle at 100% 100%, transparent var(--r-inner), black calc(var(--r-inner) + 0.5px)) bottom right / var(--r-inner) var(--r-inner) no-repeat;
|
|
|
|
mask:
|
|
linear-gradient(black, black) top center / 100% calc(100% - var(--r-inner) + 1px) no-repeat,
|
|
linear-gradient(black, black) top center / calc(100% - 2 * var(--r-inner) + 1px) calc(100% - var(--b)) no-repeat,
|
|
radial-gradient(circle at 0 100%, transparent var(--r-inner), black calc(var(--r-inner) + 0.5px)) bottom left / var(--r-inner) var(--r-inner) no-repeat,
|
|
radial-gradient(circle at 100% 100%, transparent var(--r-inner), black calc(var(--r-inner) + 0.5px)) bottom right / var(--r-inner) var(--r-inner) no-repeat;
|
|
}
|
|
|
|
.top-bar-content {
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
padding-bottom: 28px;
|
|
padding-top: 3.5dvh;
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.main-content {
|
|
position: relative;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.map {
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.riddle-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #000000AA;
|
|
z-index: 10;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.permissions-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 1rem;
|
|
background-color: #000000AA;
|
|
z-index: 10;
|
|
}
|
|
|
|
.permission-check {
|
|
color: white;
|
|
}
|
|
|
|
/*.points-outer-box {
|
|
--radius: 5px;
|
|
--border-size: 4px;
|
|
--inner-radius: calc(var(--radius) + var(--border-size));
|
|
--offset: calc(-1 * var(--border-size));
|
|
|
|
position: relative;
|
|
width: 70%;
|
|
height: 20px;
|
|
background-color: #72654c;
|
|
padding: var(--border-size);
|
|
box-sizing: border-box;
|
|
|
|
-webkit-mask:
|
|
radial-gradient(var(--radius) at top left, #0000 98%, #000) top left,
|
|
radial-gradient(var(--radius) at top right, #0000 98%, #000) top right,
|
|
radial-gradient(var(--radius) at bottom left, #0000 98%, #000) bottom left,
|
|
radial-gradient(var(--radius) at bottom right, #0000 98%, #000) bottom right;
|
|
mask:
|
|
radial-gradient(var(--radius) at top left, #0000 98%, #000) top left,
|
|
radial-gradient(var(--radius) at top right, #0000 98%, #000) top right,
|
|
radial-gradient(var(--radius) at bottom left, #0000 98%, #000) bottom left,
|
|
radial-gradient(var(--radius) at bottom right, #0000 98%, #000) bottom right;
|
|
|
|
-webkit-mask-size: 51% 51%;
|
|
mask-size: 51% 51%;
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
}*/
|
|
|
|
.points-outer-box {
|
|
position: relative;
|
|
width: 70%;
|
|
height: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.points-inner-box {
|
|
--radius: 6px;
|
|
--border-size: 1px;
|
|
--inner-radius: calc(var(--radius) + var(--border-size));
|
|
--offset: calc(-1 * var(--border-size));
|
|
|
|
width: 65%;
|
|
height: 100%;
|
|
background-color: white;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
-webkit-mask:
|
|
radial-gradient(var(--inner-radius) at var(--offset) var(--offset), #0000 98%, #000) top left,
|
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) var(--offset), #0000 98%, #000) top right,
|
|
radial-gradient(var(--inner-radius) at var(--offset) calc(100% + var(--border-size)), #0000 98%, #000) bottom left,
|
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) calc(100% + var(--border-size)), #0000 98%, #000) bottom right;
|
|
mask:
|
|
radial-gradient(var(--inner-radius) at var(--offset) var(--offset), #0000 98%, #000) top left,
|
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) var(--offset), #0000 98%, #000) top right,
|
|
radial-gradient(var(--inner-radius) at var(--offset) calc(100% + var(--border-size)), #0000 98%, #000) bottom left,
|
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) calc(100% + var(--border-size)), #0000 98%, #000) bottom right;
|
|
|
|
-webkit-mask-size: 51% 51%;
|
|
mask-size: 51% 51%;
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
}
|
|
|
|
.corner-bar {
|
|
width: 100%;
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding-left: 6dvw;
|
|
padding-right: 6dvw;
|
|
}
|
|
|
|
.corner {
|
|
width: 21%;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.crown {
|
|
width: 2rem;
|
|
}
|