Tutorial Message

This commit is contained in:
ssyyhhrr
2022-06-19 21:52:43 +01:00
parent a97ca717d0
commit 4ce85ac1c4
2 changed files with 102 additions and 1 deletions

View File

@@ -156,6 +156,18 @@ input[type=text] {
font-family: "FormulaOne";
}
.tutorial .text {
font-size: 0.9em;
line-height: 45px;
vertical-align: middle;
position: absolute;
width: 45px;
margin-left: auto;
margin-right: auto;
color: white;
font-family: "FormulaOne";
}
.credits {
color: white;
position: absolute;
@@ -167,6 +179,11 @@ input[type=text] {
transform: translateX(-50%)
}
.tutorial p {
color: white;
font-family: "FormulaOne";
}
.credits p {
margin-bottom: 0.5em;
}
@@ -189,6 +206,37 @@ p a:hover {
flex-direction: row;
}
.tutorial {
max-width: 30em;
max-height: 80vh;
position: fixed;
background-color: #171717;
z-index: 2;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 4px 23px 0 rgb(0 0 0 / 20%);
padding: 1.6em;
}
.splitter {
width: 100%;
height: 1px;
background-color: #3a3a3c;
}
.backdrop {
width: 150vw;
height: 150vh;
position: fixed;
background-color: #000;
margin: 0;
padding: 0;
transform: translate(-25vw, -25vh);
opacity: 0.6;
z-index: 1
}
.frame {
background-color: #171717;
height: 55px;
@@ -200,6 +248,16 @@ p a:hover {
transition: all 1s;
}
.tutorial .frame {
height: 45px;
width: 45px;
margin-right: 10px;
}
.tutorial .team {
padding: 7px;
}
#time {
font-variant-numeric: tabular-nums;
}
@@ -209,6 +267,11 @@ p a:hover {
border-radius: 10px;
}
.previous {
background-color: #e78f3a;
border-radius: 10px;
}
.correct {
background-color: #508b53;
border-radius: 10px;