diff --git a/web/src/main/resources/static/style.css b/web/src/main/resources/static/style.css index 43f2b7b..450a87e 100644 --- a/web/src/main/resources/static/style.css +++ b/web/src/main/resources/static/style.css @@ -1,4 +1,5 @@ * { + box-sizing: border-box; transition: 0.25s ease; } @@ -129,6 +130,7 @@ header.row { font-weight: bold; padding: var(--input-padding); text-decoration: none; + text-align: center; } .flex-full-width { @@ -261,11 +263,22 @@ a { } @media all and (max-width: 400px) { - button { + .button { width: 100%; } + .center { + padding: 10px; + } + .flex-full-width { flex-direction: column; + padding: 5px; + width: 100%; + } + + .flex-full-width .button { + flex-direction: column; + margin: 5px; } } diff --git a/web/src/main/resources/templates/budget-form.mustache b/web/src/main/resources/templates/budget-form.mustache index 5dc031c..40df6c4 100644 --- a/web/src/main/resources/templates/budget-form.mustache +++ b/web/src/main/resources/templates/budget-form.mustache @@ -1,17 +1,19 @@ {{> partials/head }}
-

{{title}}

-
- {{#error }} -

{{error}}

- {{/error}} -
- - - - - -
-
+
+

{{title}}

+
+ {{#error }} +

{{error}}

+ {{/error}} +
+ + + + + +
+
+
{{>partials/foot}} diff --git a/web/src/main/resources/templates/login.mustache b/web/src/main/resources/templates/login.mustache index 4a2bc6e..28a9d0d 100644 --- a/web/src/main/resources/templates/login.mustache +++ b/web/src/main/resources/templates/login.mustache @@ -1,20 +1,22 @@ {{> partials/head }}
-

{{title}}

-
- - {{#error }} -

{{error}}

- {{/error}} -
- - - - - -
- Forgot your password? - Create an account -
+
+

{{title}}

+
+ + {{#error }} +

{{error}}

+ {{/error}} +
+ + + + + +
+ Forgot your password? + Create an account +
+
{{>partials/foot}} \ No newline at end of file diff --git a/web/src/main/resources/templates/register.mustache b/web/src/main/resources/templates/register.mustache index cec4e95..936a77c 100644 --- a/web/src/main/resources/templates/register.mustache +++ b/web/src/main/resources/templates/register.mustache @@ -1,23 +1,25 @@ {{> partials/head }}
-

{{title}}

-
- - {{#error }} -

{{error}}

- {{/error}} -
- - - - - - - - - -
- Login -
+
+

{{title}}

+
+ + {{#error }} +

{{error}}

+ {{/error}} +
+ + + + + + + + + +
+ Login +
+
{{>partials/foot}} \ No newline at end of file