Tour stuff
This commit is contained in:
1 parent
abf1c2990c
commit
a213bb33fb
3 files changed
+87
-15
No files matched your search
+75
-13
@@ -11,7 +11,6 @@
|
||||
left: 0;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
z-index: 2;
|
||||
background-color: transparent;
|
||||
|
||||
@@ -49,7 +48,7 @@
|
||||
background-image: url('/bg/Hintergrund_ohne_Verzierung.webp');
|
||||
background-size: cover;
|
||||
background-position: top center;
|
||||
box-shadow: inset 0px -15px 32px 0px #0000004d;
|
||||
box-shadow: inset 0px -15px 24px 0px #0000004d;
|
||||
z-index: -1;
|
||||
|
||||
--b: var(--border-width);
|
||||
@@ -69,9 +68,16 @@
|
||||
}
|
||||
|
||||
.top-bar-content {
|
||||
padding: 8px;
|
||||
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 {
|
||||
@@ -94,7 +100,6 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
/*height: 100%; TODO: fullsize when doing this*/
|
||||
padding: 1rem;
|
||||
background-color: #000000AA;
|
||||
z-index: 10;
|
||||
@@ -112,16 +117,73 @@
|
||||
}
|
||||
|
||||
.points-outer-box {
|
||||
position: relative;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
background-color: #3498db;
|
||||
color: #fff;
|
||||
|
||||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Cpath d='M 20 0 Q 0 0 0 20 L 0 180 Q 0 200 20 200 L 300 200 Q 320 200 320 180 L 320 200 Z'/%3E%3C/svg%3E");
|
||||
--radius: 5px;
|
||||
--border-size: 4px;
|
||||
--inner-radius: calc(var(--radius) + var(--border-size));
|
||||
--offset: calc(-1 * var(--border-size));
|
||||
|
||||
width: 70%;
|
||||
height: 18px;
|
||||
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-inner-box {
|
||||
padding: 30px;
|
||||
color: #fff;
|
||||
width: 60%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user