Fix opacity issue
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 52s

This commit is contained in:
thepaperpilot 2024-06-18 20:21:02 -05:00
parent 64d6fbfe89
commit 6de299bd50

View file

@ -673,12 +673,19 @@ footer img {
.excerpt-gradient-top {
background: var(--docsearch-searchbox-background) !important;
opacity: 0.5;
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;
opacity: 0.5;
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);
}
.selected .excerpt-gradient-top,
.selected .excerpt-gradient-bottom {
opacity: 1;
}