Skip to content

Commit

Permalink
Show HTML footer link to document index as magnifying glass in page t…
Browse files Browse the repository at this point in the history
…op right corner
  • Loading branch information
henrikt-ma committed Feb 5, 2021
1 parent 2282130 commit 518a349
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
26 changes: 25 additions & 1 deletion css/MLS-navbar-left.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,32 @@ nav > div.ltx_TOC {
display: none; /* Don't show link to bibliography. */
}

.ltx_page_footer a[rel=index]:before {
display: inline-block;
content: "";
height: 1.5rem; /* Same as .ltx_page_header. */
width: 1.5rem;
padding: 0.5rem; /* Same as y-direction in .ltx_page_header. */
margin: 0px;
border-style: solid;
border-color: #707A85; /* "Bouncing ball trace gray" */
border-width: 0px;
border-left-width: 8px;
background-image: url("Magnifying_glass_icon.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 25px 25px;
}

.ltx_page_footer a[rel=index] {
display: none; /* Don't show link to index. */
position: fixed;
z-index: 4;
top: 0px;
right: 0px;
}

.ltx_page_footer a[rel=index] span {
display: none; /* Don't display the "Index" text; we have added a magnifying glass instead. */
}

.ltx_TOC {
Expand Down
11 changes: 11 additions & 0 deletions css/Magnifying_glass_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 518a349

Please sign in to comment.