summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-26 20:21:59 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-26 20:21:59 (EDT)
commitb58eedd5733a4bc8fc127ff8d510a4955b163abf (patch)
treed763c065dad4f77aed7711f4f611d17f019113c8 /src
parent1e94c07d4aac9b98375534250180e009a57a97dd (diff)
downloadmarquee-b58eedd5733a4bc8fc127ff8d510a4955b163abf.zip
marquee-b58eedd5733a4bc8fc127ff8d510a4955b163abf.tar.gz
marquee-b58eedd5733a4bc8fc127ff8d510a4955b163abf.tar.bz2
src/html.c: Style table elements
Diffstat (limited to 'src')
-rw-r--r--src/html.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index 147cdf9..d4a08ab 100644
--- a/src/html.c
+++ b/src/html.c
@@ -143,6 +143,13 @@ static const gchar *styles =
"form {\n"
"margin: 0;\n"
"}"
+ "table {\n"
+ "border-collapse: collapse;\n"
+ "}\n"
+ "table th {\n"
+ "padding: 6px 0;\n"
+ "text-align: left;\n"
+ "}\n"
"form input, form select {\n"
"border: 1px solid #9F9F9F;\n"
"border-radius: 3px;\n"
@@ -158,6 +165,14 @@ static const gchar *styles =
"margin: 0;\n"
"float: right;\n"
"}\n"
+ "form table label {\n"
+ "margin: 6px 0;\n"
+ "padding: 0 6px 0 0;\n"
+ "text-align: right;\n"
+ "}\n"
+ "form table input, form table select {\n"
+ "margin: 6px 0;\n"
+ "}\n"
"form label {\n"
"display: block;\n"
"}\n"