diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-04 09:02:40 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-04 09:02:40 +0000 |
commit | 871fec0dd909b226f7064f383b28887b87ec2323 (patch) | |
tree | fa4b9df16394e52d0e08179f47c5e82e4d6ef017 | |
parent | 3023019c0086e9607a03ec49a57e96521aa959df (diff) | |
download | mandoc-871fec0dd909b226f7064f383b28887b87ec2323.tar.gz mandoc-871fec0dd909b226f7064f383b28887b87ec2323.tar.zst mandoc-871fec0dd909b226f7064f383b28887b87ec2323.zip |
Example style-sheet reflecting modified section/subsection style tags.
Added ATTR_ID and so forth to attrs.
-rw-r--r-- | example.style.css | 6 | ||||
-rw-r--r-- | html.c | 3 | ||||
-rw-r--r-- | html.h | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/example.style.css b/example.style.css index cbb279cb..9488e22b 100644 --- a/example.style.css +++ b/example.style.css @@ -1,13 +1,11 @@ div.body { font-family: monospace; min-width: 580px; width: 580px; } /* Top-most div tag. */ -span.sec-head { font-weight: bold; } /* Sections (Sh). */ -div.sec-head { } +div.sec-head { font-weight: bold; } /* Sections (Sh). */ div.sec-body { } div.sec-block { } -span.ssec-head { font-weight: bold; } /* Sub-sections (Ss). */ -div.ssec-head { } +div.ssec-head { font-weight: bold; } /* Sub-sections (Ss). */ div.ssec-body { } div.ssec-block { } @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.56 2009/10/03 16:37:23 kristaps Exp $ */ +/* $Id: html.c,v 1.57 2009/10/04 09:02:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -75,6 +75,7 @@ static const char *const htmlattrs[ATTR_MAX] = { "width", "valign", "target", + "id", }; #ifdef __linux__ @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.10 2009/10/03 16:36:06 kristaps Exp $ */ +/* $Id: html.h,v 1.11 2009/10/04 09:02:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -57,6 +57,7 @@ enum htmlattr { ATTR_WIDTH, ATTR_VALIGN, ATTR_TARGET, + ATTR_ID, ATTR_MAX }; |