You are logged in as {{ username }}
diff --git a/src/stylesheets/base/_form.scss b/src/stylesheets/base/_form.scss index 3efab47..6e95771 100644 --- a/src/stylesheets/base/_form.scss +++ b/src/stylesheets/base/_form.scss @@ -1,3 +1,22 @@ +.formContainer { + margin: 2rem auto; + width: 85vw; + + a { + display: block; + + &:not(.formContainer__small-link) { + margin: 1rem; + text-align: center; + font-size: 1.2em; + } + } + + @include respond-to('large') { + width: 40vw; + } +} + form { display: grid; gap: 1rem; @@ -7,7 +26,7 @@ form { gap: 1rem; } - input:not([type='submit']), textarea { + input:not([type='submit']), textarea, select { background: #E1E1E1; border: none; width: 100%; @@ -25,6 +44,11 @@ form { } } + input[type='submit'] { + width: 100%; + padding: 1rem 0; + } + @include respond-to('medium') { .input-group { grid-template-columns: 1fr 1fr; diff --git a/src/stylesheets/components/_mainForm.scss b/src/stylesheets/components/_mainForm.scss deleted file mode 100644 index 1baf220..0000000 --- a/src/stylesheets/components/_mainForm.scss +++ /dev/null @@ -1,21 +0,0 @@ -.mainForm { - margin: 2rem auto 0 auto; - width: 85vw; - - a { - margin: 1rem; - text-align: center; - display: block; - font-size: 1.2em; - } - - input[type='submit'] { - @extend .btn, .btn--primary, .btn--full; - width: 100%; - padding: 1rem 0; - } - - @include respond-to('large') { - width: 40vw; - } -} diff --git a/src/stylesheets/main.scss b/src/stylesheets/main.scss index 08c22a7..dfc04c4 100644 --- a/src/stylesheets/main.scss +++ b/src/stylesheets/main.scss @@ -13,7 +13,6 @@ @import 'components/testimonial'; @import 'components/title'; @import 'components/mainPageHeader'; -@import 'components/mainForm'; @import 'components/adminHeader'; @import 'components/adminNav'; @import 'components/adminNavItem'; diff --git a/views/change-password.hbs b/views/change-password.hbs index 8981c33..5a1b46d 100644 --- a/views/change-password.hbs +++ b/views/change-password.hbs @@ -1,6 +1,6 @@ {{> mainPageHeader name='Password Recovery' }} -
You are logged in as {{ username }}