From: Florian Forster Date: Sat, 19 Jun 2010 09:32:07 +0000 (+0200) Subject: Add a CSS file. X-Git-Tag: v4.0.0~227 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7a68173fb6818d30bf2335d40970e38adc259588;p=collection4.git Add a CSS file. --- diff --git a/share/Makefile.am b/share/Makefile.am index 98d31c5..1262750 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -1,2 +1,3 @@ dist_sysconf_DATA = collection.conf +dist_data_DATA = style.css diff --git a/share/style.css b/share/style.css new file mode 100644 index 0000000..aafe97c --- /dev/null +++ b/share/style.css @@ -0,0 +1,36 @@ +body +{ + font-family: sans-serif; +} + +ul.graph_list +{ + margin: 0; + padding: 1ex; + width: 50ex; +} + +li.graph +{ + display: block; + border: 1px solid gray; + margin-top: 1ex; + + background-color: rgb(245,245,255); +} + +ul.instance_list +{ + margin: 0; + padding: 1ex; + border-top: 1px solid gray; + + background-color: rgb(252,252,252); +} + +li.instance +{ + display: block; + + font-size: 90%; +} diff --git a/src/action_list_graphs.c b/src/action_list_graphs.c index 964a436..6e4f0d4 100644 --- a/src/action_list_graphs.c +++ b/src/action_list_graphs.c @@ -87,7 +87,8 @@ static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ graph_get_title (cfg, desc, sizeof (desc)); html_escape_buffer (desc, sizeof (desc)); - printf ("
  • %s\n