This commit is contained in:
realaravinth
2021-04-05 16:38:32 +05:30
parent a78b1eb25d
commit 2ce8a46a3f
49 changed files with 1203 additions and 1036 deletions

View File

@@ -0,0 +1,24 @@
<li
class='<.= if active.name == heading.name {"nav-section__item--active"} else { "nav-section__item"} .>'
<a href="#0" class="nav-menu__item__link nav-section__item__link">
<img
class="icon nav-menu__item__icon nav-section__item__icon"
src="/svg/<.= heading.icon.>.svg"
alt=""
/>
<.= heading.name .>
</a>
</li>
<style>
.nav-section__item__link {
filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(298deg)
brightness(104%) contrast(101%);
}
.nav-section__item:hover {
background: var(--page-header-bgColor-hover);
color: var(--blue);
outline: none;
}
</style>