summaryrefslogtreecommitdiff
path: root/doc/asciidoc/stylesheets/toc2.css
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoc/stylesheets/toc2.css')
-rw-r--r--doc/asciidoc/stylesheets/toc2.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/asciidoc/stylesheets/toc2.css b/doc/asciidoc/stylesheets/toc2.css
new file mode 100644
index 0000000..c6e63f5
--- /dev/null
+++ b/doc/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;
+ }
+}