aboutsummaryrefslogtreecommitdiff
path: root/default_style.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-09-22 17:32:44 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-13 09:57:39 +0100
commit78bf2fe4a5bf37514f6dfd203ef969da0bf40c2e (patch)
tree33f9440b8ee0fa7a3b3ad033616d722d2101bb4d /default_style.c
parent107a2e43d54f9a42fb85b00b83cb0d9abb194680 (diff)
Setup project skeletonHEADmaster
Diffstat (limited to 'default_style.c')
-rw-r--r--default_style.c63
1 files changed, 63 insertions, 0 deletions
diff --git a/default_style.c b/default_style.c
new file mode 100644
index 0000000..e94301e
--- /dev/null
+++ b/default_style.c
@@ -0,0 +1,63 @@
+#include "default.h"
+#include <stddef.h>
+
+const char default_style[] =
+ "body\n"
+ "{\n"
+ " font-family: 'Courier New', Courier, monospace;\n"
+ "}\n"
+ "td\n"
+ "{\n"
+ " font-size: 14px;\n"
+ "}\n"
+ "a\n"
+ "{\n"
+ " text-decoration: none;\n"
+ "}\n"
+ ".userform\n"
+ "{\n"
+ " padding: 4px;\n"
+ "}\n"
+ ".loginform\n"
+ "{\n"
+ " display: grid;\n"
+ "}\n"
+ "form, label, table\n"
+ "{\n"
+ " margin: auto;\n"
+ "}\n"
+ "div\n"
+ "{\n"
+ " align-items: center;\n"
+ " display: grid;\n"
+ "}\n"
+ "input, .abutton\n"
+ "{\n"
+ " margin: auto;\n"
+ " border: 1px solid;\n"
+ " border-radius: 8px;\n"
+ "}\n"
+ "header, footer\n"
+ "{\n"
+ " display: flex;\n"
+ " justify-content: center;\n"
+ " text-decoration: auto;\n"
+ "}\n"
+ "table\n"
+ "{\n"
+ " max-width: 50%;\n"
+ "}\n"
+ "tr:nth-child(even)\n"
+ "{\n"
+ " background-color: lightgray;\n"
+ "}\n"
+ ".page\n"
+ "{\n"
+ " margin: 0.2rem;\n"
+ "}\n"
+ ".pages\n"
+ "{\n"
+ " display: flex;\n"
+ "}\n";
+
+const size_t default_style_len = sizeof default_style - 1;