aboutsummaryrefslogtreecommitdiffhomepage
path: root/static
diff options
context:
space:
mode:
authorwinter2025-01-14 20:44:49 +0000
committerwinter2025-01-14 20:44:49 +0000
commit4d7f8450d9a842e2f69754ccaa4202710328dcb7 (patch)
tree60e90ff7ebbf069e04faf665d68861970eaee000 /static
parent0f427b4b6f75134b2c25b7e5f8a515be2cec97f5 (diff)
add (un)follow button to profile
also other stuff i forgot what exactly
Diffstat (limited to 'static')
-rw-r--r--static/form.css13
-rw-r--r--static/misc.css23
-rw-r--r--static/profile.css8
3 files changed, 31 insertions, 13 deletions
diff --git a/static/form.css b/static/form.css
index 91f755b..cb86003 100644
--- a/static/form.css
+++ b/static/form.css
@@ -31,20 +31,7 @@ form {
resize: vertical;
}
button {
- background: #3b005e;
- color: #fff;
- font-family: inherit;
- font-size: inherit;
- border-radius: 8px;
- border: none;
width: 100%;
- padding: 8px;
- box-sizing: border-box;
- cursor: pointer;
- &:disabled {
- opacity: 80%;
- cursor: default;
- }
}
.error {
background: #f004;
diff --git a/static/misc.css b/static/misc.css
index 20d8da2..2da35b6 100644
--- a/static/misc.css
+++ b/static/misc.css
@@ -13,6 +13,29 @@
}
}
+button.primary,
+button.secondary {
+ font-family: inherit;
+ font-size: inherit;
+ border-radius: 8px;
+ border: none;
+ padding: 8px 16px;
+ box-sizing: border-box;
+ cursor: pointer;
+ &:disabled {
+ opacity: 80%;
+ cursor: default;
+ }
+ &.primary {
+ background: #3b005e;
+ color: #fff;
+ }
+ &.secondary {
+ background: #dfd4e7;
+ color: #202;
+ }
+}
+
button.icon {
border: none;
background: none;
diff --git a/static/profile.css b/static/profile.css
index 028c69c..f3f8ead 100644
--- a/static/profile.css
+++ b/static/profile.css
@@ -23,4 +23,12 @@
font-size: 10pt;
}
}
+
+ .followInfo {
+ display: grid;
+ justify-content: right;
+ align-items: baseline;
+ grid-auto-flow: column;
+ gap: 16px;
+ }
}