aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:13:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-27 09:13:39 +0000
commit827b4587075bca8e968c6a815c176ce01fbb45ae (patch)
tree0f6c0d98bf123dd1318eb2c913592fa3473f8482 /html.c
parent6f603eaa29c0c620155a4676d14e514aae64f7fc (diff)
downloadmandoc-827b4587075bca8e968c6a815c176ce01fbb45ae.tar.gz
mandoc-827b4587075bca8e968c6a815c176ce01fbb45ae.tar.zst
mandoc-827b4587075bca8e968c6a815c176ce01fbb45ae.zip
Continue in HTML5-ing by kicking out some hard-coded alignments.
Diffstat (limited to 'html.c')
-rw-r--r--html.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/html.c b/html.c
index e9e38555..b7facda4 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.167 2014/09/27 09:05:57 kristaps Exp $ */
+/* $Id: html.c,v 1.168 2014/09/27 09:13:39 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -197,8 +197,12 @@ print_gen_head(struct html *h)
tag[0].val = "utf-8";
print_otag(h, TAG_META, 1, tag);
+ /*
+ * Print a default style-sheet.
+ */
t = print_otag(h, TAG_STYLE, 0, NULL);
- print_text(h, "table.head, table.foot { width: 100%; }\n");
+ print_text(h, "table.head, table.foot { width: 100%; }\n"
+ "td.head-rtitle, td.foot-os { text-align: right; }\n");
print_tagq(h, t);
if (h->style) {