Migrate no result page link color to CSS variables
This commit is contained in:
parent
5f4e73c4a4
commit
18c4fa66cb
@ -1331,6 +1331,10 @@ h3.variant {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-failed a {
|
||||
color: var(--search-failed-link-color);
|
||||
}
|
||||
|
||||
.search-failed.active {
|
||||
display: block;
|
||||
}
|
||||
|
@ -39,6 +39,7 @@ Original by Dempfi (https://github.com/dempfi/ayu)
|
||||
--sidebar-current-link-background-color: transparent;
|
||||
--search-result-link-focus-background-color: #3c3c3c;
|
||||
--search-result-border-color: #aaa3;
|
||||
--search-failed-link-color: #39afd7;
|
||||
--stab-background-color: #314559;
|
||||
--stab-code-color: #e6e1cf;
|
||||
--search-color: #fff;
|
||||
@ -160,10 +161,6 @@ details.rustdoc-toggle > summary::before {
|
||||
color: #788797;
|
||||
}
|
||||
|
||||
.search-failed a {
|
||||
color: #39AFD7;
|
||||
}
|
||||
|
||||
.tooltip::after {
|
||||
background-color: #314559;
|
||||
color: #c5c5c5;
|
||||
|
@ -34,6 +34,7 @@
|
||||
--sidebar-current-link-background-color: #444;
|
||||
--search-result-link-focus-background-color: #616161;
|
||||
--search-result-border-color: #aaa3;
|
||||
--search-failed-link-color: #0089ff;
|
||||
--stab-background-color: #314559;
|
||||
--stab-code-color: #e6e1cf;
|
||||
--search-color: #111;
|
||||
@ -82,10 +83,6 @@ details.rustdoc-toggle > summary::before {
|
||||
filter: invert(100%);
|
||||
}
|
||||
|
||||
.search-failed a {
|
||||
color: #0089ff;
|
||||
}
|
||||
|
||||
.tooltip::after {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
|
@ -34,6 +34,7 @@
|
||||
--sidebar-current-link-background-color: #fff;
|
||||
--search-result-link-focus-background-color: #ccc;
|
||||
--search-result-border-color: #aaa3;
|
||||
--search-failed-link-color: #3873ad;
|
||||
--stab-background-color: #fff5d6;
|
||||
--stab-code-color: #000;
|
||||
--search-color: #000;
|
||||
@ -69,17 +70,12 @@
|
||||
--crate-search-hover-border: #717171;
|
||||
}
|
||||
|
||||
|
||||
.content .item-info::before { color: #ccc; }
|
||||
|
||||
body.source .example-wrap pre.rust a {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.search-failed a {
|
||||
color: #3873AD;
|
||||
}
|
||||
|
||||
.tooltip::after {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user