diff --git a/static/style.css b/static/style.css index 9491907..65f8d7e 100644 --- a/static/style.css +++ b/static/style.css @@ -6,43 +6,42 @@ body { text-align: center; } -.form { - display: flex; - flex-direction: column; - +.main-section { max-width: 90rem; margin: 5px auto; } -.form__item { - margin: 4px; - - font-size: 1.2rem; +.form { + display: flex; + flex-direction: column; } .form__field { display: flex; align-items: center; + + margin: 4px; } -.form__input { +.form__field .form__label { + margin-right: 8px; +} + +.form__input, +.textarea, +.translation { + font-size: 1rem; padding: 4px; - - font-size: 1.1rem; -} - -.form__field .form__input { - margin-left: 8px; } .form__button { - padding: 5px; + padding: 4px 10px; } .textarea { resize: vertical; -} + height: 5rem; -.textarea, .translation { - font-size: 1.2rem + /* Stretch to form width */ + width: 100%; } diff --git a/templates/index.html b/templates/index.html index c0d5d7e..3002eca 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,21 +10,33 @@

Translate

-
- +
+ +
+ + +
- +
+ + +
- +
+ +
- +
+ +
+ -
{{.Translation}}
- +
{{.Translation}}
+
{{end}}