mirror of
https://github.com/aquatix/alfagok.git
synced 2025-12-06 23:25:09 +01:00
Styling
This commit is contained in:
@@ -1,6 +1,36 @@
|
||||
body {
|
||||
background-color: #333;
|
||||
color: #FFF;
|
||||
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
a.title {
|
||||
color: #FF9800;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.puzzleno {
|
||||
border: 1px solid grey;
|
||||
color: grey;
|
||||
padding: .2em .5em;
|
||||
border-radius: 1em;
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.instructions {
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: .5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
@@ -8,5 +38,14 @@ button {
|
||||
color: #333;
|
||||
|
||||
border: 0;
|
||||
padding: .2rem;
|
||||
padding: .5rem;
|
||||
margin-top: .5rem;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
@@ -9,20 +9,14 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div
|
||||
id="container"
|
||||
x-data=""
|
||||
>
|
||||
<div id="container" x-data="">
|
||||
|
||||
<a href="/" x-cloak class="title">alfagok</a> <span class="puzzleno">puzzle #<span x-text="$store.alfagok.gameID"></span> • <span id="nextgame"></span></span>
|
||||
<a href="/" x-cloak class="title">alfagok</a> <span class="puzzleno">puzzel #<span x-text="$store.alfagok.gameID"></span> • <span id="nextgame"></span></span>
|
||||
|
||||
<div x-cloak x-show="$store.alfagok.guessesBefore.length || $store.alfagok.guessesAfter.length"><br></div>
|
||||
|
||||
<div x-cloak class="instructions" x-else>
|
||||
<div x-cloak class="instructions" x-show="$store.alfagok.guessesBefore.length === 0 && $store.alfagok.guessesAfter.length === 0">
|
||||
<p>Raad het woord van de dag. Elke gok geeft een hint over waar het woord zich in het alfabet bevindt.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<center>
|
||||
|
||||
<ul>
|
||||
@@ -49,7 +43,7 @@
|
||||
<p>Het woord van vandaag was <b x-text="$store.alfagok.guessValue"></b>.</p>
|
||||
<div id="stats">
|
||||
<div id="results">
|
||||
<p><b x-data="{ message: '🧩 Puzzle #' + $store.alfagok.gameID }" x-text="message"></b></p>
|
||||
<p><b x-data="{ message: '🧩 Puzzel #' + $store.alfagok.gameID }" x-text="message"></b></p>
|
||||
<p x-data="{ message: '🤔 '+ $store.alfagok.nrGuesses + ' gokken' }" x-text="message"></p>
|
||||
<p x-data="{ message: '⏱️ ' + getFormattedTime($store.alfagok.winTime - $store.alfagok.startTime) }" x-text="message"></p>
|
||||
<p>🔗 <span style="color:var(--blue)">alfagok.diginaut.net</span></p>
|
||||
|
||||
Reference in New Issue
Block a user