theme: improve display of links #577

This commit is contained in:
Sören Weber 2023-06-23 11:50:29 +02:00
parent 61ccf4e42f
commit 63928e5a91
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
4 changed files with 7 additions and 57 deletions

View file

@ -218,15 +218,13 @@
a,
.anchor,
#toc-menu,
#body a.highlight:after,
#searchresults .autocomplete-suggestion {
color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
}
a:hover,
.anchor:hover,
#toc-menu:hover,
#body a.highlight:hover:after {
#toc-menu:hover {
color: rgba( 32, 40, 145, 1 ); /* var(--MAIN-LINK-HOVER-color) */
}
@ -551,14 +549,6 @@
color: rgba( 128, 128, 128, 1 ) /* var(--MENU-HOME-LINK-HOVER-color) */;
}
#body a.highlight:after {
background-color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
}
#body a.highlight:hover:after {
background-color: rgba( 32, 40, 145, 1 ); /* var(--MAIN-LINK-HOVER-color) */
}
.progress {
background-color: rgba( 255, 255, 255, 1 ); /* var(--MAIN-BG-color) */
}

View file

@ -55,9 +55,11 @@ a {
background: transparent;
text-decoration: none; }
a:active,
a:hover {
outline: 0; }
a:hover,
a:focus,
a:active {
outline: 0;
text-decoration: underline; }
abbr[title] {
border-bottom: 1px dotted; }

View file

@ -1298,38 +1298,6 @@ html[dir="rtl"] .expand > .expand-label > i.fa-chevron-right {
display: block;
}
#body a.highlight,
#body a.highlight:hover,
#body a.highlight:focus {
outline-style: none;
text-decoration: none;
}
#body a.highlight {
display: inline-block;
line-height: 1.1;
}
#body a.highlight:after {
content: "";
display: block;
height: 1px;
width: 0%;
transition: width 0.5s ease;
}
#body a.highlight:hover:after,
#body a.highlight:focus:after {
width: 100%;
}
#body #topbar .navigation a.highlight:after,
#body #sidebar-toggle-span a.highlight:after,
#body #top-print-link a.highlight:after,
#body #top-github-link a.highlight:after {
background-color: transparent;
}
/* Table of contents */
.toc-flyout #toc-overlay{

View file

@ -14,15 +14,13 @@ body {
a,
.anchor,
#toc-menu,
#body a.highlight:after,
#searchresults .autocomplete-suggestion {
color: var(--INTERNAL-MAIN-LINK-color);
}
a:hover,
.anchor:hover,
#toc-menu:hover,
#body a.highlight:hover:after {
#toc-menu:hover {
color: var(--INTERNAL-MAIN-LINK-HOVER-color);
}
@ -312,14 +310,6 @@ pre .copy-to-clipboard-button:hover {
color: var(--INTERNAL-MENU-HOME-LINK-HOVER-color);
}
#body a.highlight:after {
background-color: var(--INTERNAL-MAIN-LINK-color);
}
#body a.highlight:hover:after {
background-color: var(--INTERNAL-MAIN-LINK-HOVER-color);
}
.progress {
background-color: var(--INTERNAL-MAIN-BG-color);
}