You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dk...@apache.org on 2013/06/28 20:21:57 UTC
svn commit: r867775 -
/websites/production/camel/content/styles/camel-manual.css
Author: dkulp
Date: Fri Jun 28 18:21:57 2013
New Revision: 867775
Log:
Update style a bit
Modified:
websites/production/camel/content/styles/camel-manual.css
Modified: websites/production/camel/content/styles/camel-manual.css
==============================================================================
--- websites/production/camel/content/styles/camel-manual.css (original)
+++ websites/production/camel/content/styles/camel-manual.css Fri Jun 28 18:21:57 2013
@@ -480,7 +480,9 @@ div.titlepage p, div.halftitlepage p {
/* TOC */
-
+div.toc {
+counter-reset: tocchapter;
+}
ul.toc, ul.toc ul {
list-style-type: none;
margin: 0; padding: 0;
@@ -492,7 +494,7 @@ ul.toc ul {
}
ul.toc > li {
font-weight: bold;
- margin-bottom: 0.5em;
+ margin-bottom: 0.75em;
}
ul.toc a::after {
content: leader('.') target-counter(attr(href), page);
@@ -507,11 +509,9 @@ ul.toc > li.endmatter a::after {
font-style: normal;
}
ul.toc > li.chapter::before {
- content: "Chapter " counter(toc-chapter, decimal);
- display: block;
- margin: 1em 0 0.1em -2.5cm;
+ counter-increment: tocchapter;
+ content: "Chapter " counter(tocchapter) " - ";
font-weight: normal;
- counter-increment: toc-chapter;
page-break-after: avoid;
}
@@ -559,8 +559,8 @@ code, span.css, span.value, span.declara
@media screen, handheld {
html {font: 14px "Gill Sans", sans-serif; }
h1 { margin-bottom: 0.5em }
- div.frontcover, div.halftitlepage, div.titlepage, div.imprint,
- div.dedication, div.foreword, div.toc, div.index { display: none }
+ div.halftitlepage, div.imprint,
+ div.dedication, div.foreword, div.index { display: none }
body {
margin: 0cm;
margin-left: 2cm;