Add background to the whiteboard app

This commit is contained in:
yflory 2017-03-27 18:30:48 +02:00
parent 2732b7aa82
commit 72c60ec676

View File

@ -20,6 +20,10 @@
body { body {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
height: 100%;
background: url('/customize/bg3.jpg') no-repeat center center;
background-size: cover;
background-position: center;
} }
textarea{ textarea{
width: 100%; width: 100%;
@ -36,9 +40,14 @@
/* disallow textarea resizes */ /* disallow textarea resizes */
resize: none; resize: none;
} }
#canvas-area {
flex: 1;
display: flex;
}
.canvas-container { .canvas-container {
border: 5px solid black; border: 5px solid black;
margin: auto; margin: auto;
background: white;
} }
#clear { #clear {
display: inline; display: inline;
@ -62,6 +71,7 @@
display: block; display: block;
position: relative; position: relative;
border: 3px solid black; border: 3px solid black;
background: white;
} }
#width, #colors { #width, #colors {
position: relative; position: relative;