From 89e9ec0566f36f44df8cfbf7cea89c11526efcbd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 7 May 2021 15:40:29 +0300 Subject: Made moved footer to it's own partial cshtml --- ExamTemplate/Web/wwwroot/css/styles.css | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'ExamTemplate/Web/wwwroot/css/styles.css') 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; -- cgit v1.2.3