diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-19 15:27:34 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-19 15:27:34 +0000 |
commit | b7bb50b52763fb6212e5896c4f48f67e7e24944a (patch) | |
tree | 583c64d0cb3bdbe36623d41735307a67c32571fc /html.c | |
parent | 222d77f1d5049da7ae7750ce19f63c21c231c567 (diff) | |
download | mandoc-b7bb50b52763fb6212e5896c4f48f67e7e24944a.tar.gz mandoc-b7bb50b52763fb6212e5896c4f48f67e7e24944a.tar.zst mandoc-b7bb50b52763fb6212e5896c4f48f67e7e24944a.zip |
Clean up CSS rules for sections and paragraphs.
Start using real macro names for CSS classes.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.197 2017/01/19 01:00:14 schwarze Exp $ */ +/* $Id: html.c,v 1.198 2017/01/19 15:27:34 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -182,7 +182,7 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "table.head td { width: 33%; }"); print_endline(h); - print_text(h, "div.spacer { margin: 1em 0; }"); + print_text(h, "div.Pp { margin: 1ex 0ex; }"); print_tagq(h, t); if (h->style) @@ -769,7 +769,7 @@ print_paragraph(struct html *h) { struct tag *t; - t = print_otag(h, TAG_DIV, "c", "spacer"); + t = print_otag(h, TAG_DIV, "c", "Pp"); print_tagq(h, t); } |