diff options
Diffstat (limited to 'ExamTemplate/Web/wwwroot/css/styles.css')
| -rw-r--r-- | ExamTemplate/Web/wwwroot/css/styles.css | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/ExamTemplate/Web/wwwroot/css/styles.css b/ExamTemplate/Web/wwwroot/css/styles.css index 5819b09..a4efd0c 100644 --- a/ExamTemplate/Web/wwwroot/css/styles.css +++ b/ExamTemplate/Web/wwwroot/css/styles.css @@ -48,14 +48,16 @@ /* Navbar and footer */ -.navbar { +.navbar, .footer-content { width: 100%; - background-color: white; -} + min-height: 45px; -.navbar, footer { padding-top: 8px; padding-bottom: 8px; + + display: flex; + align-items: center; + justify-content: center; } .navbar section > :not(*:first-child) { @@ -92,18 +94,22 @@ form { display: flex; flex-direction: column; - align-items: center; justify-content: center; - max-width: 300px; - margin-left: auto; - margin-right: auto; + width: fit-content; } .main > div > form { margin-top: 10px; } +.main > div > form:first-child { + width: 100%; + max-width: 300px; + margin-left: auto; + margin-right: auto; +} + form > * { width: 100%; box-sizing: border-box; |
