drawful

drawing game
git clone https://git.ce9e.org/drawful.git

commit
06b8f0eb21db72e6a913f11918425929c821735a
parent
105fee653089ec9ab71ef1b9ac746bee427ff47b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-12-17 17:20
some styling

Diffstat

M index.html 2 +-
M style.css 34 ++++++++++++++++++++++++++++++++++

2 files changed, 35 insertions, 1 deletions


diff --git a/index.html b/index.html

@@ -24,7 +24,7 @@
   24    24 	</div>
   25    25 
   26    26 	<form id="draw-host" hidden>
   27    -1 		<p>Draw the following word: <span id="word"></span></p>
   -1    27 		<p>Draw the following word: <strong id="word"></strong></p>
   28    28 		<canvas></canvas>
   29    29 		<button>Submit</button>
   30    30 	</form>

diff --git a/style.css b/style.css

@@ -1,3 +1,37 @@
   -1     1 body {
   -1     2 	font-size: 120%;
   -1     3 	text-align: center;
   -1     4 }
   -1     5 
   -1     6 input {
   -1     7 	padding: 0.4em;
   -1     8 	border-radius: 0.3em;
   -1     9 	font-size: inherit;
   -1    10 	border: 1px solid silver;
   -1    11 }
   -1    12 
   -1    13 button {
   -1    14 	padding: 0.4em;
   -1    15 	border-radius: 0.3em;
   -1    16 	font-size: inherit;
   -1    17 	border: 1px solid silver;
   -1    18 }
   -1    19 
   -1    20 th {
   -1    21 	text-align: start;
   -1    22 }
   -1    23 
   -1    24 ul {
   -1    25 	list-style: none;
   -1    26 	padding: 0;
   -1    27 }
   -1    28 
   -1    29 table,
   -1    30 img,
   -1    31 canvas {
   -1    32 	margin: 1em auto;
   -1    33 }
   -1    34 
    1    35 img,
    2    36 canvas {
    3    37 	display: block;