diff options
author | Hans Hagen <pragma@wxs.nl> | 2014-09-06 15:41:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2014-09-06 15:41:00 +0200 |
commit | 9ae8cd92650ca8d0153d663b8fdba4c04c7fd588 (patch) | |
tree | b1921d9dd19e6082ae7bd91ffbbb588df6ea4aac /tex/context/base/export-example.css | |
parent | f47e3c5290244f2047d952b91749e3fc804cae55 (diff) | |
download | context-9ae8cd92650ca8d0153d663b8fdba4c04c7fd588.tar.gz |
beta 2014.09.06 15:41
Diffstat (limited to 'tex/context/base/export-example.css')
-rw-r--r-- | tex/context/base/export-example.css | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/tex/context/base/export-example.css b/tex/context/base/export-example.css index 41b262ac4..2dfadb701 100644 --- a/tex/context/base/export-example.css +++ b/tex/context/base/export-example.css @@ -120,26 +120,31 @@ sectioncontent, div.sectioncontent { section[detail="chapter"], section[detail="title"], div.section.detail-chapter, div.section.detail-title { - margin-top : 3em ; - margin-bottom : 2em ; + page-break-before : always ; + page-break-after : avoid ; + margin-top : 3em ; + margin-bottom : 2em ; } section[detail="section"], section[detail="subject"], div.section.detail-section, div.section.detail-subject { - margin-top : 2.5em ; - margin-bottom : 2.5em ; + page-break-after : avoid ; + margin-top : 2.5em ; + margin-bottom : 2.5em ; } section[detail="subsection"], section[detail="subsubject"], div.section.detail-subsection, div.section.detail-subsubject { - margin-top : 2em ; - margin-bottom : 2em ; + page-break-after : avoid ; + margin-top : 2em ; + margin-bottom : 2em ; } section[detail="subsubsection"], section[detail="subsubsubject"], div.section.detail-subsubsection, div.section.detail-subsubsubject { - margin-top : 1em ; - margin-bottom : 0em ; + page-break-after : avoid ; + margin-top : 1em ; + margin-bottom : 0em ; } section[detail="summary"], section[detail="subsummary"], @@ -725,16 +730,18 @@ quantity>number, div.quantity div.number { /* subsup : inline */ sup, div.sup { - display : inline ; + display : inline-block ; font-size : xx-small ; line-height : 0 ; + padding-top : 0.5ex ; vertical-align : top ; } sub, div.sub { - display : inline ; + display : inline-block ; font-size : xx-small ; line-height : 0 ; + padding-bottom : 0.5ex ; vertical-align : bottom ; } @@ -748,7 +755,7 @@ subsup>sub, div.subsup div.sub { vertical-align : bottom ; } -/* xhtml */ +/* xhtml ... not used any more */ a[href] { text-decoration : none ; |