mirror of
https://github.com/ssyyhhrr/stewardle.git
synced 2025-11-17 14:23:40 -05:00
Tutorial Message
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -10,7 +10,45 @@
|
||||
<meta name="description" content="Test your F1 driver knowledge by guessing the F1 driver using the clues from your previous guesses! Inspired by Wordle, created by syhr."
|
||||
</head>
|
||||
<body>
|
||||
<h1>Stewardle</h1>
|
||||
<div class="tutorial">
|
||||
<p>Guess the <b>STEWARDLE</b> in six tries.<br><br>
|
||||
Each guess must be a valid F1 driver name who has raced in the 2014 season or later. Hit the enter button to submit.<br><br>
|
||||
After each guess, the color of the tiles will change to show how close your guess was to the Driver of the Day
|
||||
</p>
|
||||
<div class="splitter"></div>
|
||||
<p><b>Examples</b></p>
|
||||
<div class="row">
|
||||
<!-- <div class="frame"><div class="guess text">HAM</div></div> -->
|
||||
<div class="frame correct"><img class="flag" src="./flags/gb.svg"></div>
|
||||
<p>The driver is of British nationality.</p>
|
||||
<!-- <div class="frame incorrect"><img class="team" src="./logos/mercedes.webp"></div>
|
||||
<div class="frame up"><div class="guess text">44</div></div>
|
||||
<div class="frame down"><div class="guess text">37</div></div>
|
||||
<div class="frame up"><div class="guess text">2007</div></div>
|
||||
<div class="frame down"><div class="guess text">103</div></div> -->
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="frame incorrect"><img class="team" src="./logos/mercedes.webp"></div>
|
||||
<p>The driver does not race for Mercedes.</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="frame previous"><img class="team" src="./logos/haas.webp"></div>
|
||||
<p>The driver previously raced for Haas.</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="frame up"><div class="guess text">44</div></div>
|
||||
<p>The number is too low.</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="frame down"><div class="guess text">103</div></div>
|
||||
<p>The number is too high.</p>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="splitter"></div>
|
||||
<p>A new STEWARDLE will be available each day!</p>
|
||||
</div>
|
||||
<div class="backdrop"></div>
|
||||
<div class="title"><h1>Stewardle</h1></div>
|
||||
<div class="board">
|
||||
<div class="row header">
|
||||
<div class="frame header"><div class="text">Driver</div></div>
|
||||
|
||||
Reference in New Issue
Block a user