Remove CSS hack that suppress displaying document name in TOC by
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 14 Aug 2015 13:37:52 +0300
changeset 301 1439e072640a
parent 300 6b04b083cb79
child 302 d78a33e91192
Remove CSS hack that suppress displaying document name in TOC by :local: attribute to 'contents' directive.
AUTHORS.rst
CHANGES.rst
HACKING.rst
INSTALL.rst
IPA.rst
LICENSE.rst
README.rst
en-phrase-examples_ru.rst
en-pronunciation_en.rst
en-pronunciation_ru.rst
rst.css
--- a/AUTHORS.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/AUTHORS.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  AUTHORS list.
 ===============
 .. contents::
+   :local:
 
 Document version.
 =================
--- a/CHANGES.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/CHANGES.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  CHANGES for gadict.
 =====================
 .. contents::
+   :local:
 
 Document version.
 =================
--- a/HACKING.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/HACKING.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,8 @@
  gadict HACKING guide.
 =======================
 .. contents::
+   :local:
+
 
 Document version.
 =================
--- a/INSTALL.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/INSTALL.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  Installing gadict dictionaries.
 =================================
 .. contents::
+   :local:
 
 Document version.
 =================
--- a/IPA.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/IPA.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  IPA in gadict.
 ================
 .. contents::
+   :local:
 
 Document version.
 =================
--- a/LICENSE.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/LICENSE.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  gadict LICENSE.
 =================
 .. contents::
+   :local:
 
 Document version.
 =================
--- a/README.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/README.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  gadict dictionaries.
 ======================
 .. contents::
+   :local:
 
 Document version.
 =================
--- a/en-phrase-examples_ru.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/en-phrase-examples_ru.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -3,6 +3,7 @@
  Речевые образцы/Phrase examples.
 ==================================
 .. contents::
+   :local:
 
 .. role:: cr
   :class: cr
--- a/en-pronunciation_en.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/en-pronunciation_en.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  English pronunciation.
 ========================
 .. contents::
+   :local:
 
 Exercises.
 ==========
--- a/en-pronunciation_ru.rst	Fri Aug 14 12:39:21 2015 +0300
+++ b/en-pronunciation_ru.rst	Fri Aug 14 13:37:52 2015 +0300
@@ -5,6 +5,7 @@
  English spelling.
 ===================
 .. contents::
+   :local:
 
 About.
 ======
--- a/rst.css	Fri Aug 14 12:39:21 2015 +0300
+++ b/rst.css	Fri Aug 14 13:37:52 2015 +0300
@@ -11,22 +11,14 @@
 a:hover { background: bisque; border-radius: 10px; padding: 1px; }
 p { text-indent: 2em; }
 
-p.topic-title.first { display: none; }
-p.topic-title.first + ul {
-    max-width: 400px;
+#contents {
+    max-width: 500px;
     margin: 0 auto;
     padding: 5px 0;
     background: cornsilk;
     border: 1px solid red;
     border-radius: 10px;
 }
-p.topic-title.first + ul > li {
-    list-style: none;
-}
-p.topic-title.first + ul > li > a { display: none; }
-p.topic-title.first + ul li li {
-    padding-right: 10px;
-}
 
 .formula, .literal-block {
     display: inline-block;