aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ExamTemplate/Web/wwwroot/css/styles.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/ExamTemplate/Web/wwwroot/css/styles.css b/ExamTemplate/Web/wwwroot/css/styles.css
index 51631c0..36880f5 100644
--- a/ExamTemplate/Web/wwwroot/css/styles.css
+++ b/ExamTemplate/Web/wwwroot/css/styles.css
@@ -82,6 +82,36 @@
justify-content: center;
}
+/* Forms */
+
+form {
+ display: flex;
+ flex-direction: column;
+ margin-top: 10px;
+ align-items: center;
+ justify-content: center;
+ max-width: 300px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+form > * {
+ width: 100%;
+ box-sizing: border-box;
+}
+
+input {
+ margin: 5px;
+ padding: 9px;
+ border: 1px solid darkgrey;
+ border-radius: 4px;
+}
+
+input[type="submit"] {
+ color: white;
+ background-color: black;
+}
+
/* Other general stuff */
.flex-spacer {