[122864] trunk/doc-new/guide/resources/docbook.css
Revision: 122864 https://trac.macports.org/changeset/122864 Author: cal@macports.org Date: 2014-08-01 04:57:17 -0700 (Fri, 01 Aug 2014) Log Message: ----------- guide: improve paragraph spacing Modified Paths: -------------- trunk/doc-new/guide/resources/docbook.css Modified: trunk/doc-new/guide/resources/docbook.css =================================================================== --- trunk/doc-new/guide/resources/docbook.css 2014-08-01 11:33:02 UTC (rev 122863) +++ trunk/doc-new/guide/resources/docbook.css 2014-08-01 11:57:17 UTC (rev 122864) @@ -101,7 +101,7 @@ } body.chunked div.toc:first-child > dl, -body.singlepage div.toc > dl{ +body.singlepage div.toc > dl { padding: 16px 0; margin: 0; background: url("https://www.macports.org/img/nav-footer.png") bottom no-repeat; @@ -167,9 +167,23 @@ div.chapter h1, div.chapter h2, +div.chapter h3, +div.chapter h4 { + margin-bottom: 5px; + margin-top: 25px; +} + +div.chapter div.note h1, +div.chapter div.note h2, +div.chapter div.note h3, +div.chapter div.note h4 { + margin-top: 5px; +} + +div.chapter h1, +div.chapter h2, div.chapter h3 { color: #314c72; - margin: 0; } div.chapter h1 { @@ -197,11 +211,11 @@ } div.chapter p { - margin: 12px 0; + margin: 6px 0; } div.note { - margin: 0 .5in; + margin: .2in .3in; padding: 0 15px 0; border-color: #8b1a1a; border-width: 0 3px; @@ -262,6 +276,7 @@ border: thin black inset; overflow: auto; padding: 2px 5px; + margin: 2px; } .literallayout { @@ -275,6 +290,7 @@ background-color: white; overflow: auto; padding: 2px 5px; + margin: 2px; } body {
participants (1)
-
cal@macports.org