aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
Diffstat (limited to 'styles')
-rw-r--r--styles/global.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/styles/global.css b/styles/global.css
index 03f329e..34c1b0d 100644
--- a/styles/global.css
+++ b/styles/global.css
@@ -79,3 +79,14 @@ input::placeholder { opacity: .75; }
input.dark::placeholder { color: var(--text); }
input.light::placeholder { color: var(--text-alt); }
+/* editable field status */
+*[contenteditable] { border-color: var(--background-alt); }
+*[contenteditable="true"]:focus { border-color: var(--disk-a); }
+*[contenteditable="true"] {
+ background-color: var(--page-background);
+ padding: 6px;
+ border-radius: 6px;
+ border-style: solid;
+ border-width: 2px;
+}
+