diff --git a/src/main/resources/static/css/form.css b/src/main/resources/static/css/form.css new file mode 100644 index 0000000..2db63e2 --- /dev/null +++ b/src/main/resources/static/css/form.css @@ -0,0 +1,45 @@ +/* Common to all the answer buttons*/ +button.squared-button { + border: 0; + border-radius: 5px; + color: #1F1A25; + font-family: "Muli", Arial, sans-serif; + font-weight: 800; + text-transform: uppercase; + padding: 1rem 2rem; + font-size: 1rem; + background-color: #78E0DC; + box-shadow: 0 8px #2dc5bf; + + margin-bottom: 12px; + width: 145px; + height: 65px; +} + +button.squared-button:hover { + cursor: pointer; +} + +button.squared-button:focus { + outline: none; +} + +button.squared-button:hover, button.squared-button:focus { + background-color: #4fd6d1; +} + +button.squared-button:active { + transform: translateY(4px); + box-shadow: 0 3px #2dc5bf; +} + +/*@import url("https://fonts.googleapis.com/css?family=Muli:400,700,800&display=swap"); + +body { + background: #1F1A25; + display: flex; + align-items: center; + justify-content: center; + min-height: 100vh; +} +*/ \ No newline at end of file diff --git a/src/main/resources/templates/form.html b/src/main/resources/templates/form.html index d18414c..9762214 100644 --- a/src/main/resources/templates/form.html +++ b/src/main/resources/templates/form.html @@ -2,6 +2,7 @@
+ @@ -10,28 +11,29 @@
0/0 +
- - - + + +
- +
- - + +
- - - - + + + + +
- - +