summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/asciidoc/stylesheets/toc2.css
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-03-03 15:18:07 +1100
committerChris Johns <chrisj@rtems.org>2013-03-03 15:18:07 +1100
commitdac950217ae0030fb3d09322d463546d40b884d1 (patch)
treee6b625a905a08cb825071298bc821c257934dcac /source-builder/sb/asciidoc/stylesheets/toc2.css
parentAdd html as a format and now asciidoc gives you the asciidoc text. (diff)
downloadrtems-source-builder-dac950217ae0030fb3d09322d463546d40b884d1.tar.bz2
Import more of asciidoc.
Diffstat (limited to 'source-builder/sb/asciidoc/stylesheets/toc2.css')
-rw-r--r--source-builder/sb/asciidoc/stylesheets/toc2.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/source-builder/sb/asciidoc/stylesheets/toc2.css b/source-builder/sb/asciidoc/stylesheets/toc2.css
new file mode 100644
index 0000000..c6e63f5
--- /dev/null
+++ b/source-builder/sb/asciidoc/stylesheets/toc2.css
@@ -0,0 +1,34 @@
+@media screen {
+ body {
+ max-width: 50em; /* approximately 80 characters wide */
+ margin-left: 16em;
+ }
+
+ #toc {
+ position: fixed;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: 13em;
+ padding: 0.5em;
+ padding-bottom: 1.5em;
+ margin: 0;
+ overflow: auto;
+ border-right: 3px solid #f8f8f8;
+ background-color: white;
+ }
+
+ #toc .toclevel1 {
+ margin-top: 0.5em;
+ }
+
+ #toc .toclevel2 {
+ margin-top: 0.25em;
+ display: list-item;
+ color: #aaaaaa;
+ }
+
+ #toctitle {
+ margin-top: 0.5em;
+ }
+}