2025-02-15 19:21:00 +01:00
|
|
|
* {
|
2025-02-20 11:34:11 +01:00
|
|
|
font-family: Courier New,
|
2025-02-15 19:21:00 +01:00
|
|
|
Courier,
|
|
|
|
Lucida Sans Typewriter,
|
|
|
|
Lucida Typewriter,
|
|
|
|
monospace;
|
2025-02-20 11:34:11 +01:00
|
|
|
box-sizing: border-box;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2025-02-20 11:34:11 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
2025-02-21 12:42:20 +01:00
|
|
|
height: calc(var(--vh, 1vh) * 100);
|
2025-02-20 11:34:11 +01:00
|
|
|
color: white;
|
|
|
|
background-size: 120px 120px;
|
|
|
|
background-color: var(--background1);
|
|
|
|
--background1: #030c23;
|
|
|
|
--background2: #03112a;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#game {
|
2025-02-20 11:34:11 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100vh;
|
2025-02-21 12:41:30 +01:00
|
|
|
height: calc(var(--vh, 1vh) * 100);
|
2025-02-20 11:34:11 +01:00
|
|
|
width: 100vw;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
#score,
|
|
|
|
#menu {
|
2025-02-20 11:34:11 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
padding: 10px;
|
|
|
|
appearance: none;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
font: inherit;
|
|
|
|
color: white;
|
|
|
|
min-width: 40px;
|
|
|
|
min-height: 40px;
|
|
|
|
line-height: 20px;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
body.black_puck #score,
|
|
|
|
body.black_puck #menu {
|
2025-02-20 11:34:11 +01:00
|
|
|
color: black;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
#score:hover,
|
|
|
|
#score:focus,
|
|
|
|
#menu:hover,
|
|
|
|
#menu:focus {
|
2025-02-20 11:34:11 +01:00
|
|
|
background: rgba(0, 0, 0, 0.3);
|
|
|
|
cursor: pointer;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#score {
|
2025-02-20 11:34:11 +01:00
|
|
|
right: 0;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
#menu {
|
2025-02-20 11:34:11 +01:00
|
|
|
left: 0;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
@media screen and (orientation: portrait) {
|
2025-02-20 11:34:11 +01:00
|
|
|
#menu > span {
|
|
|
|
display: none;
|
|
|
|
}
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup {
|
2025-02-20 11:34:11 +01:00
|
|
|
position: fixed;
|
|
|
|
inset: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.95);
|
|
|
|
z-index: 10;
|
|
|
|
display: flex;
|
|
|
|
overflow: auto;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div {
|
2025-02-20 11:34:11 +01:00
|
|
|
margin: auto;
|
2025-02-23 21:17:22 +01:00
|
|
|
padding: 20px 10px;
|
2025-02-20 11:34:11 +01:00
|
|
|
/*border: 1px solid white;*/
|
|
|
|
transform-origin: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
2025-02-23 21:17:22 +01:00
|
|
|
width: 100%;
|
2025-02-20 11:34:11 +01:00
|
|
|
max-width: 450px;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div > * {
|
2025-02-20 11:34:11 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div > h2,
|
|
|
|
.popup > div > p {
|
2025-02-20 11:34:11 +01:00
|
|
|
margin-bottom: 20px;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
.popup > div > button {
|
2025-02-20 11:34:11 +01:00
|
|
|
font: inherit;
|
|
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
|
color: white;
|
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid white;
|
|
|
|
text-align: left;
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
margin-top: -1px;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div > button:not([disabled]):hover,
|
|
|
|
.popup > div > button:not([disabled]):focus {
|
2025-02-20 11:34:11 +01:00
|
|
|
border-color: #f1d33b;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.popup button.close-modale {
|
2025-02-20 11:34:11 +01:00
|
|
|
color: white;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
overflow: hidden;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
.popup button.close-modale:before {
|
2025-02-20 11:34:11 +01:00
|
|
|
content: "+";
|
|
|
|
position: absolute;
|
|
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
|
|
font-size: 80px;
|
|
|
|
display: inline-block;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
.popup button.close-modale:hover {
|
2025-02-20 11:34:11 +01:00
|
|
|
font-weight: bold;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div > button[disabled] {
|
2025-02-20 11:34:11 +01:00
|
|
|
/*border: 1px solid #666;*/
|
|
|
|
opacity: 0.5;
|
|
|
|
filter: saturate(0);
|
|
|
|
pointer-events: none;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div > button > div {
|
2025-02-20 11:34:11 +01:00
|
|
|
flex-grow: 1;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
.popup > div > button > div > em {
|
2025-02-20 11:34:11 +01:00
|
|
|
display: block;
|
|
|
|
opacity: 0.8;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup > div > button > span.checks {
|
2025-02-20 11:34:11 +01:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
display: inline-flex;
|
|
|
|
gap: 5px;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
|
|
|
.popup > div > button > span.checks > span {
|
|
|
|
flex-basis: 10px;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
/*border: 1px solid white;*/
|
|
|
|
background: white;
|
|
|
|
opacity: 0.1;
|
|
|
|
border-radius: 4px;
|
|
|
|
align-self: stretch;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
|
|
|
.popup > div > button > span.checks > span.checked {
|
|
|
|
opacity: 1;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
2025-02-20 11:34:11 +01:00
|
|
|
.popup .textAfterButtons {
|
|
|
|
color: rgba(255, 255, 255, 0.58);
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
2025-02-20 11:34:11 +01:00
|
|
|
.popup a[href] {
|
|
|
|
color: inherit;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
.popup a[href]:hover,
|
2025-02-20 11:34:11 +01:00
|
|
|
.popup a[href]:focus {
|
|
|
|
color: white;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*Unlocks progress bar*/
|
|
|
|
.progress {
|
2025-02-20 11:34:11 +01:00
|
|
|
display: block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: #1c1c2f;
|
|
|
|
color: #fff;
|
|
|
|
box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.5);
|
|
|
|
border-radius: 5px;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|
2025-02-20 11:34:11 +01:00
|
|
|
|
|
|
|
.progress > .progress_bar_part {
|
|
|
|
display: block;
|
|
|
|
background: #4049ca;
|
|
|
|
box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.5);
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
transform-origin: top left;
|
|
|
|
animation: grow 1s both ease-out;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress > span {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2025-02-15 19:21:00 +01:00
|
|
|
@keyframes grow {
|
2025-02-20 11:34:11 +01:00
|
|
|
0% {
|
|
|
|
transform: scale(0, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#level-recording-container {
|
|
|
|
max-width: 400px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 40px;
|
|
|
|
}
|
|
|
|
|
2025-02-23 21:17:22 +01:00
|
|
|
#level-recording-container img, #level-recording-container video {
|
2025-02-20 11:34:11 +01:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
2025-02-23 21:17:22 +01:00
|
|
|
|
2025-02-20 11:34:11 +01:00
|
|
|
#level-recording-container a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#level-recording-container a video {
|
|
|
|
border-radius: 10px;
|
|
|
|
display: block;
|
|
|
|
outline: 1px solid white;
|
|
|
|
box-shadow: 2px 2px 5px black;
|
|
|
|
margin: 20px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1200px) {
|
|
|
|
|
|
|
|
#level-recording-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 40px;
|
|
|
|
left: 40px;
|
2025-02-26 23:03:12 +01:00
|
|
|
max-width: calc((100vw - 450px )/2 - 80px);
|
2025-02-20 11:34:11 +01:00
|
|
|
|
|
|
|
}
|
2025-02-23 21:17:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.histogram {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
align-items: stretch;
|
|
|
|
margin: 10px 0 40px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.histogram > span {
|
|
|
|
/* Hover zone */
|
|
|
|
flex-grow: 1;
|
|
|
|
width: 10px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.histogram > span.active > span{
|
|
|
|
background: #4049ca;
|
|
|
|
}
|
|
|
|
.histogram > span > span{
|
|
|
|
/*Visible bar*/
|
|
|
|
background: #1c1c2f;
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
border-radius: 5px;
|
|
|
|
min-height: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.histogram > span > span> span {
|
|
|
|
/*label */
|
|
|
|
position: absolute;
|
|
|
|
bottom: -20px;
|
|
|
|
pointer-events: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
transform-origin: bottom left;
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%,0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.histogram > span:not(:hover):not(.active) > span> span {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.histogram-title {
|
|
|
|
color: #3b3f75;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.histogram-title strong {
|
|
|
|
color: #4049ca;
|
2025-02-15 19:21:00 +01:00
|
|
|
}
|