diff --git a/se/data/templates/core.css b/se/data/templates/core.css index 7d125bad..3054652d 100644 --- a/se/data/templates/core.css +++ b/se/data/templates/core.css @@ -45,6 +45,32 @@ hgroup{ text-align: center; } +/* simulate h3 in an hgroup */ +hgroup h2 + p{ + font-size: 1.17em; +} + +/* simulate h4 in an hgroup */ +hgroup h2 + p + p, +hgroup h3 + p{ + font-size: 1em; +} + +/* simulate h5 in an hgroup */ +hgroup h2 + p + p + p, +hgroup h3 + p + p, +hgroup h4 + p{ + font-size: .83em; +} + +/* simulate h6 in an hgroup */ +hgroup h2 + p + p + p + p, +hgroup h3 + p + p + p, +hgroup h4 + p + p, +hgroup h5 + p{ + font-size: .67em; +} + hgroup > *{ font-weight: normal; margin: 0; diff --git a/se/se_epub_lint.py b/se/se_epub_lint.py index 9eba6db1..22c99e6b 100644 --- a/se/se_epub_lint.py +++ b/se/se_epub_lint.py @@ -258,11 +258,10 @@ "s-067", "Header element with a [val]label[/] semantic child, but without an [val]ordinal[/] semantic child." "s-068", "Header element missing [val]ordinal[/] semantic." "s-069", "[xhtml][/] element missing direct child [xhtml]
[/] or [xhtml]
[/] element." -"s-070", "[xhtml][/] element without [xhtml]
[/] parent and without semantic inflection." +"s-070", "[xhtml][/] element without semantic inflection." "s-071", "Sectioning element with more than one heading element." "s-072", "Element with single [xhtml][/] child. [xhtml][/] should be removed and its attributes promoted to the parent element." "s-073", "Header element that requires [val]label[/] and [val]ordinal[/] semantic children." -"s-074", "[xhtml]
[/] element containing sequential [xhtml][/] elements at the same heading level." "s-075", "[xhtml][/] element with direct children that are not [xhtml]
[/], [xhtml]
[/], or [xhtml]