Fix search style
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 55s

This commit is contained in:
thepaperpilot 2024-06-18 20:03:25 -05:00
parent 66f0b98e20
commit 64d6fbfe89

View file

@ -9,6 +9,8 @@ html {
--vp-font-family-mono: Roboto Mono; --vp-font-family-mono: Roboto Mono;
--vp-layout-max-width: 1080px; --vp-layout-max-width: 1080px;
--vp-nav-height: 48px; --vp-nav-height: 48px;
--vp-local-search-bg: var(--vp-c-bg-alt);
} }
footer { footer {
@ -659,3 +661,24 @@ footer img {
animation: vp-nolebase-highlight-targeted-heading-animation 1.5s ease-in-out; animation: vp-nolebase-highlight-targeted-heading-animation 1.5s ease-in-out;
background: linear-gradient(0deg, var(--anim-bg) 55%, transparent 45%) repeat-x; background: linear-gradient(0deg, var(--anim-bg) 55%, transparent 45%) repeat-x;
} }
.title-icon {
line-height: 30px
}
.excerpt {
margin: 8px 0 !important;
background: var(--docsearch-searchbox-background);
}
.excerpt-gradient-top {
background: var(--docsearch-searchbox-background) !important;
clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
transform: translateY(-7px) rotateZ(180deg);
}
.excerpt-gradient-bottom {
background: var(--docsearch-searchbox-background) !important;
clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
transform: translateY(7px);
}