Просмотр исходного кода

Merge pull request #3006 from overleaf/jel-wiki-toc

Wiki table of contents style

GitOrigin-RevId: dc4584c1528d4aba8b35490c546986a5ee3bbe31
Jessica Lawshe 6 лет назад
Родитель
Сommit
d492fab10c
1 измененных файлов с 13 добавлено и 1 удалено
  1. 13 1
      services/web/frontend/stylesheets/app/wiki.less

+ 13 - 1
services/web/frontend/stylesheets/app/wiki.less

@@ -30,6 +30,18 @@
     display: none;
   }
 
+  .toctogglespan {
+    display: none;
+  }
+  .toc {
+    ul {
+      list-style: none;
+      .tocnumber::after {
+        content: '.';
+      }
+    }
+  }
+
   table {
     th,
     td {
@@ -99,7 +111,7 @@
 	 * GeSHi Dynamically Generated Stylesheet
 	 * --------------------------------------
 	 * Dynamically generated stylesheet for latex
-	 * CSS class: source-latex, CSS id: 
+	 * CSS class: source-latex, CSS id:
 	 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 	 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 	 * --------------------------------------