summaryrefslogtreecommitdiff
path: root/template/static/css/form.css
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-02 16:23:43 -0800
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2025-01-02 16:23:57 -0800
commitb19321bab542de35564127dc77781af44252bcb9 (patch)
tree37d12f7867124e8440ee46ae9f903b242e8d62af /template/static/css/form.css
parent321cd40fba0956e3aa697f9e7c7006159a032f58 (diff)
downloadoldinfra-b19321bab542de35564127dc77781af44252bcb9.tar.gz
oldinfra-b19321bab542de35564127dc77781af44252bcb9.zip
create a base template :) and use it for a new service
Diffstat (limited to 'template/static/css/form.css')
-rw-r--r--template/static/css/form.css42
1 files changed, 42 insertions, 0 deletions
diff --git a/template/static/css/form.css b/template/static/css/form.css
new file mode 100644
index 0000000..7ccd8db
--- /dev/null
+++ b/template/static/css/form.css
@@ -0,0 +1,42 @@
+.form {
+ max-width: 600px;
+ padding: 1em;
+ background: var(--background-color-2);
+ border: 1px solid #ccc;
+}
+
+label {
+ display: block;
+ margin: 0 0 1em;
+ font-weight: bold;
+}
+
+input {
+ display: block;
+ width: 100%;
+ padding: 0.5em;
+ margin: 0 0 1em;
+ border: 1px solid var(--border-color);
+ background: var(--container-bg);
+}
+
+button,
+input[type="submit"] {
+ padding: 0.5em 1em;
+ background: var(--link-color);
+ color: var(--text-color);
+ border: 0;
+ cursor: pointer;
+}
+
+textarea {
+ display: block;
+ width: 100%;
+ padding: 0.5em;
+ margin: 0 0 1em;
+ border: 1px solid var(--border-color);
+ background: var(--container-bg);
+
+ resize: vertical;
+ min-height: 100px;
+}