diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index d09edc3..baed251 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -1,25 +1,49 @@ @import 'https://fonts.googleapis.com/css?family=Roboto:300,400,500'; body { - font-family: "Roboto", "Helvetica", "Arial", sans-serif; - color: #555; margin: 0 auto; padding: 15px; max-width: 50em; } +body, input, button { + font-family: "Roboto", "Helvetica", "Arial", sans-serif; + color: #555; +} + h1 { text-align: center; + clear: both; +} + +form { + display: block; } input { width: 100%; padding: 12px 12px; - margin: 8px 0; + margin: 4px 0; box-sizing: border-box; font-size: 1.5em; } +form button { + float: right; + margin: 4px 0 15px 0; +} + +button { + border: none; + background: none; + cursor: pointer; +} + +form button, body > button { + font-size: 1.5em; + padding: 10px 0 10px 20px; +} + table { width: 100%; border-collapse: collapse; diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 998497e..3759159 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -20,14 +20,14 @@
Total: {{ calculateTotal() | number: 2 }} €