src/cm/media/css/site/text_view_comments/text_view_comments.css
changeset 421 3ddbfa64f596
parent 200 e5e8cdfde782
child 424 2f9108930e47
--- a/src/cm/media/css/site/text_view_comments/text_view_comments.css	Thu May 10 14:20:10 2012 +0200
+++ b/src/cm/media/css/site/text_view_comments/text_view_comments.css	Fri May 11 12:00:40 2012 +0200
@@ -21,3 +21,41 @@
 .initially_hidden, .displaynone {
     display:none;
 }
+
+.c-toc {
+  position: fixed;
+  max-height: 400px;
+  overflow: auto;
+  padding-bottom: 5px;
+  padding: 3px;
+}
+
+.c-toc h3 {
+  margin-top: 0;
+  margin-bottom: 0;
+  padding-top: 3px;
+  padding-bottom: 3px;
+  text-align: center;
+}
+
+.c-toc a {
+  display: list-item;
+  margin-left: 16px;
+  margin-top: 5px;
+}
+
+.c-toc a.indentH2 {
+  margin-left: 1em;
+}
+.c-toc a.indentH3 {
+  margin-left: 1.5em;
+}
+.c-toc a.indentH4 {
+  margin-left: 2em;
+}
+.c-toc a.indentH5 {
+  margin-left: 2.5em;
+}
+.c-toc a.indentH6 {
+  margin-left: 3em;
+}