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 { #patterns-list {
display: none; display: none;
} }
.toc-link {
display: none;
}
[aria-expanded="true"] + #patterns-list { [aria-expanded="true"] + #patterns-list {
display: block; display: block;
} }

View File

@ -123,7 +123,7 @@
</a> </a>
</p> </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> </div>

File diff suppressed because one or more lines are too long

View File

@ -59,7 +59,7 @@
</a> </a>
</p> </p>
{{ if eq .Type "print-version" }} {{ 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 }} {{ end }}
</div> </div>
{{ block "nav" . }} {{ block "nav" . }}

View File

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