Skip to content

Commit

Permalink
Merge pull request #2 from Queer-Lexikon/css-sprinkles
Browse files Browse the repository at this point in the history
css sprinkles uwu
  • Loading branch information
xenein committed Aug 17, 2023
2 parents a86242c + d81dfb3 commit 5c6c4f6
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions views/form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,34 @@
<head>
<meta charset="UTF-8">
<title>CountMeDown</title>
<style>
body {
font-family: system-ui, sans-serif;
max-width: 600px;
margin: 0 auto;
}
*+* { margin-top: 1rem }
button {
padding: .5rem 1rem;
cursor: pointer;
}
.optional {
display: grid;
grid-template-columns: auto auto;
gap: .5rem;
}
.optional > div {
display: flex;
flex-flow: column;
}
input[type="text"], input[type="number"], input[type="time"] {
padding: .25rem .5rem;
}
</style>
</head>
<body>
<h1>CountMeDown</h1>
<form method="post" style="width: 500px" name="webform">
<form method="post" name="webform">

<fieldset>
<legend>Modus:</legend>
Expand All @@ -32,7 +56,7 @@
</fieldset>


<fieldset style="display: grid; grid-template-columns: auto auto; grid-gap: 5px;">
<fieldset class="optional">
<legend>Optionale Dinge:</legend>

<div>
Expand All @@ -50,12 +74,9 @@
<label for="ending">Text am Ende:</label>
<input type="text" placeholder="gleich" name="ending" id="ending">
</div>

<div>
<input type="submit" value="Timer starten" style="margin-top: 1rem">
</div>
</fieldset>

<button type="submit">Timer starten</button>
</form>

<script>
Expand Down

0 comments on commit 5c6c4f6

Please sign in to comment.