aboutsummaryrefslogtreecommitdiff
path: root/style.c
diff options
context:
space:
mode:
Diffstat (limited to 'style.c')
-rw-r--r--style.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/style.c b/style.c
index 07feb44..54e79a3 100644
--- a/style.c
+++ b/style.c
@@ -22,10 +22,26 @@ const char style_default[] =
"{\n"
" display: grid;\n"
"}\n"
+ ".center\n"
+ "{\n"
+ " justify-content: center;\n"
+ " justify-items: center;\n"
+ " min-height: 100vh;\n"
+ " align-content: center;\n"
+ " align-items: center;\n"
+ "}\n"
+ ".mw-75\n"
+ "{\n"
+ " max-width: 75%;\n"
+ "}\n"
"form, label, table\n"
"{\n"
" margin: auto;\n"
"}\n"
+ ".wrap-anywhere\n"
+ "{\n"
+ " overflow-wrap: anywhere;\n"
+ "}\n"
"div\n"
"{\n"
" align-items: center;\n"
@@ -45,7 +61,7 @@ const char style_default[] =
"}\n"
"table\n"
"{\n"
- " max-width: 50%;\n"
+ " max-width: 90vw;\n"
"}\n"
"tr:nth-child(even)\n"
"{\n"