aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
Diffstat (limited to 'styles')
-rw-r--r--styles/loginregister.css13
-rw-r--r--styles/ui.css2
-rw-r--r--styles/utility.css10
3 files changed, 23 insertions, 2 deletions
diff --git a/styles/loginregister.css b/styles/loginregister.css
new file mode 100644
index 0000000..854aeb2
--- /dev/null
+++ b/styles/loginregister.css
@@ -0,0 +1,13 @@
+.centeredForm {
+ top: 50%;
+ transform: translateY(-50%);
+ margin: 0 auto;
+}
+
+.centeredForm .input {
+ margin-bottom: var(--spacing-medium);
+}
+
+.centeredForm .input:nth-last-of-type(2) {
+ margin-bottom: var(--spacing-large);
+}
diff --git a/styles/ui.css b/styles/ui.css
index 55b24e2..8003a7c 100644
--- a/styles/ui.css
+++ b/styles/ui.css
@@ -5,8 +5,6 @@
box-sizing: border-box;
}
-.fullwidth { width: calc(100% - var(--spacing-medium)); }
-
.button {
background-color: var(--accent);
color: var(--gray-900);
diff --git a/styles/utility.css b/styles/utility.css
index 0393d1d..7f5ebbd 100644
--- a/styles/utility.css
+++ b/styles/utility.css
@@ -15,6 +15,9 @@
.bg-800 { background-color: var(--gray-800); }
.bg-900 { background-color: var(--gray-900); }
+.fg-100 { color: var(--gray-100); }
+.fg-900 { color: var(--gray-900); }
+
.posabs { position: absolute; }
.posrel { position: relative; }
.posfix { position: fixed; }
@@ -40,6 +43,13 @@
.floatr { float: right; }
+.w100m2m { width: calc(100% - var(--spacing-medium)); }
+
+.fullwidth {
+ width: 100%;
+ box-sizing: border-box;
+}
+
.subtile {
color: var(--gray-600);
font-style: italic;