minor print version css tweaks

This commit is contained in:
Heydon Pickering 2017-08-02 21:37:50 +01:00
parent b544408650
commit cfc59fea43
5 changed files with 9 additions and 3 deletions

View File

@ -793,6 +793,9 @@ h1 svg {
#patterns-list {
display: none;
}
.toc-link {
display: none;
}
[aria-expanded="true"] + #patterns-list {
display: block;
}

View File

@ -123,7 +123,7 @@
</a>
</p>
<p><a href="#toc">Table of contents</a> <span aria-hidden="true">&#x21e9;</span></p>
<p class="toc-link"><a href="#toc">Table of contents</a> <span aria-hidden="true">&#x21e9;</span></p>
</div>

File diff suppressed because one or more lines are too long

View File

@ -59,7 +59,7 @@
</a>
</p>
{{ if eq .Type "print-version" }}
<p><a href="#toc">Table of contents</a> <span aria-hidden="true">&#x21e9;</span></p>
<p class="toc-link"><a href="#toc">Table of contents</a> <span aria-hidden="true">&#x21e9;</span></p>
{{ end }}
</div>
{{ block "nav" . }}

View File

@ -793,6 +793,9 @@ h1 svg {
#patterns-list {
display: none;
}
.toc-link {
display: none;
}
[aria-expanded="true"] + #patterns-list {
display: block;
}