]> git.bochard.net Git - mysite.git/commitdiff
minor css update
authortenkyuu <hello@tenkyuu.dev>
Thu, 15 Aug 2024 00:16:15 +0000 (08:16 +0800)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2024 00:16:15 +0000 (08:16 +0800)
css/projects/survey-form.css

index 88ec569a0728502e3000d706d3cb36021ae89bf2..44904d57129acf84047a6b31c87d8ed92c2d30c6 100644 (file)
@@ -10,23 +10,28 @@ html {
 }\r
 body {\r
   font-family: "Raleway", sans-serif;\r
+  background-color: #22243e;\r
 }\r
 main {\r
   display: flex;\r
   justify-content: center;\r
   align-items: center;\r
-  background-color: #22243e;\r
   height: 100vh;\r
 }\r
 .form-container {\r
   width: 90%;\r
   max-width: 45rem;\r
-  height: 80%;\r
+  height: fit-content;\r
   padding: 4rem 2rem;\r
+  margin: 5rem auto;\r
   background-color: #e5e5e5;\r
   border: 0.2rem solid #000;\r
   border-radius: 1.4rem;\r
   box-shadow: #000 0.7rem 1rem 0.7rem;\r
+  display: flex;\r
+  flex-direction: column;\r
+  justify-content: center;\r
+  vertical-align: center;\r
 }\r
 .header-container, .footer-container {\r
   text-align: center;\r