From 221605c7b38dc6e639448d4541ac5d8c10ce8b2b Mon Sep 17 00:00:00 2001 From: Konrad Malawski Date: Tue, 7 Jul 2015 19:14:35 +0200 Subject: [PATCH] +doc #17669 better section header and TOC navigation --- akka-docs/_sphinx/themes/akka/layout.html | 12 +++++++++++- akka-docs/_sphinx/themes/akka/static/docs.css | 4 ++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/akka-docs/_sphinx/themes/akka/layout.html b/akka-docs/_sphinx/themes/akka/layout.html index 916d7c0a0e..83de382bed 100644 --- a/akka-docs/_sphinx/themes/akka/layout.html +++ b/akka-docs/_sphinx/themes/akka/layout.html @@ -351,7 +351,17 @@ {%- endif %} {% block footer %}{% endblock %} {%- endblock %} diff --git a/akka-docs/_sphinx/themes/akka/static/docs.css b/akka-docs/_sphinx/themes/akka/static/docs.css index 9d17be8ecf..cb29db7526 100644 --- a/akka-docs/_sphinx/themes/akka/static/docs.css +++ b/akka-docs/_sphinx/themes/akka/static/docs.css @@ -174,3 +174,7 @@ strong {color: #0B5567; } .footer h5 { text-transform: none; } .footnote .label { background-color: transparent } + +.section-marker { position: absolute; width: 1em; margin-left: -1em; display: block; text-decoration: none; visibility: hidden; text-align: center; font-weight: normal; } +.section-marker:hover { text-decoration: none; } +.section h2:hover > a,.section h3:hover > a,.section h4:hover > a,.section h5:hover > a { visibility: visible; }