docs/assets/css/toc.css

19 lines
558 B
CSS

#TableOfContents {
nav {
@apply border-l-2 border-divider-light;
}
ul ul {
@apply pl-2;
}
a {
@apply max-w-full truncate py-1 block hover:font-medium hover:no-underline pl-2;
&[aria-current="true"],
&:hover {
@apply font-medium text-black dark:text-white border-l-2 border-l-gray-light bg-gradient-to-r from-gray-light-100 dark:border-l-gray-dark dark:from-gray-dark-200;
}
&:not([aria-current="true"]) {
@apply text-gray-light-600 dark:text-gray-dark-700 hover:text-black dark:hover:text-white;
}
}
}