diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-09-27 09:13:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-09-27 09:13:39 +0000 |
commit | 827b4587075bca8e968c6a815c176ce01fbb45ae (patch) | |
tree | 0f6c0d98bf123dd1318eb2c913592fa3473f8482 /html.c | |
parent | 6f603eaa29c0c620155a4676d14e514aae64f7fc (diff) | |
download | mandoc-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.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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) { |