summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-11 07:10:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-11 07:10:25 +0200
commit15050651805951625bab75e9340d5b53f196177e (patch)
tree6a3f4e83f98dc830c258e8a6b9927fa8dd05b86f
parenta132b3b5ee0864a09394eda6b34873e6d2e7da49 (diff)
Add TOC style
-rw-r--r--toc.css45
1 files changed, 45 insertions, 0 deletions
diff --git a/toc.css b/toc.css
new file mode 100644
index 0000000..46e7409
--- /dev/null
+++ b/toc.css
@@ -0,0 +1,45 @@
+/* file : toc.css
+ * copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+ * license : MIT; see accompanying LICENSE file
+ */
+
+table.toc
+{
+ border-style : none;
+ border-collapse : separate;
+ border-spacing : 0;
+
+ margin : 0.2em 0 0.2em 0;
+ padding : 0 0 0 0;
+}
+
+table.toc tr
+{
+ padding : 0 0 0 0;
+ margin : 0 0 0 0;
+}
+
+table.toc * td, table.toc * th {
+ border-style : none;
+ margin : 0 0 0 0;
+ vertical-align : top;
+}
+
+table.toc * th
+{
+ font-weight : normal;
+ padding : 0em 0.1em 0em 0;
+ text-align : left;
+ white-space : nowrap;
+}
+
+table.toc * table.toc th
+{
+ padding-left : 1em;
+}
+
+table.toc * td
+{
+ padding : 0em 0 0em 0.7em;
+ text-align : left;
+}