aboutsummaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-07-07 15:40:09 +0530
committerBobby <[email protected]>2025-07-07 15:40:09 +0530
commitb6a04140f2668a0dcae4befcd272e05b75bd14e5 (patch)
treebec232ae247690bf030bf05a452192f264df8c92 /static/css
parent98afdc4673f616bc61f9ef673580ca3933bdef8a (diff)
downloadimageboard-b6a04140f2668a0dcae4befcd272e05b75bd14e5.tar.xz
imageboard-b6a04140f2668a0dcae4befcd272e05b75bd14e5.zip
fix templates to use proper layout and semantic forms instead of tables
Diffstat (limited to 'static/css')
-rw-r--r--static/css/main.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 47a393e..ac463c9 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -321,4 +321,54 @@ section h2 {
.center {
text-align: center;
+}
+
+/* Form Elements */
+fieldset {
+ background: var(--bg-section);
+ border: 2px inset var(--border-main);
+ padding: 12px;
+ margin: 8px 0;
+}
+
+legend {
+ font-weight: bold;
+ font-size: 12px;
+ color: var(--text-main);
+ padding: 0 4px;
+ background: var(--bg-main);
+}
+
+.form-group {
+ margin: 8px 0;
+}
+
+.form-group label {
+ display: block;
+ font-weight: bold;
+ font-size: 12px;
+ margin: 4px 0 2px 0;
+ color: var(--text-main);
+}
+
+.form-group small {
+ display: block;
+ font-size: 10px;
+ color: var(--text-dim);
+ margin-top: 2px;
+}
+
+.form-actions {
+ margin: 12px 0 8px 0;
+ text-align: center;
+}
+
+.radio-group div {
+ margin: 4px 0;
+}
+
+.radio-group label {
+ display: inline;
+ font-weight: normal;
+ margin-left: 4px;
} \ No newline at end of file