summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-01 23:06:51 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-01 23:06:51 (EDT)
commitaf3de034d582d53cb5099e73643028f8e4c6949a (patch)
tree70c6c668f7825fe3cd59217bf422f409ca4e9a0b
parent8f2fc675b8ad1ddc4060a36dfe6ba8190a92bf2c (diff)
downloadmarquee-af3de034d582d53cb5099e73643028f8e4c6949a.zip
marquee-af3de034d582d53cb5099e73643028f8e4c6949a.tar.gz
marquee-af3de034d582d53cb5099e73643028f8e4c6949a.tar.bz2
src/html.c: Add C comments in CSS string
-rw-r--r--src/html.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index 96d3999..e8b8603 100644
--- a/src/html.c
+++ b/src/html.c
@@ -28,6 +28,9 @@
#include "html.h"
static const gchar *styles =
+ /*
+ * General styles
+ */
"* {\n"
"margin: 6px;\n"
"padding: 0;\n"
@@ -42,6 +45,9 @@ static const gchar *styles =
"background-color: #AFAFAF;\n"
"font-family: sans-serif;\n"
"}\n"
+ /*
+ * Horizontal notebook
+ */
"div.notebook-h {\n"
"clear: left;\n"
"position: relative;\n"
@@ -84,6 +90,9 @@ static const gchar *styles =
"top: -1px;\n"
"margin: 0;\n"
"}\n"
+ /*
+ * Form elements
+ */
"form {\n"
"margin: 0;\n"
"}"