🐛 fixes nav colors on docs

BoostBook.css is overriding the link styles on the nav. This fixes that.
This commit is contained in:
Greg Newman
2024-02-08 09:11:37 -05:00
parent c95e5407db
commit 59a638c2a1
3 changed files with 10 additions and 3 deletions

View File

@@ -37,3 +37,12 @@ div.book:first-of-type, {
#userMenu, #guideMenu {
border: 1px solid #d1d5db;
}
#headblock nav a,
#headblock nav a:visited {
@apply dark:text-white text-slate;
}
#headblock nav a:hover {
@apply !text-orange;
}

File diff suppressed because one or more lines are too long

View File

@@ -22,10 +22,8 @@
<div class="flex pt-1 w-full">
<nav class="relative items-center pl-6 space-x-4 w-full text-lg text-left md:space-x-6 lg:space-x-10">
<a href="{% url 'news' %}" class="hover:no-underline font-semibold dark:font-medium hover:text-orange dark:hover:text-orange {% active_link 'news' css_class='dark:text-orange dark:visited:text-orange text-orange visited:text-orange dark:hover:text-white' inactive_class='dark:text-white text-slate' %}">News</a>
{% comment %}TODO: Greg - Fix the paths for docs in the template tag{% endcomment %}
<a href="{% url 'docs' %}" class="hover:no-underline font-semibold dark:font-medium hover:text-orange dark:hover:text-orange {% active_link 'docs||docs-user-guide' css_class='dark:text-orange dark:visited:text-orange text-orange visited:text-orange dark:hover:text-white' inactive_class='dark:text-white text-slate' url='/doc/user-guide/' %}">Learn</a>
<a href="{% url 'community' %}" class="hover:no-underline font-semibold dark:font-medium hover:text-orange dark:hover:text-orange {% active_link 'community' css_class='dark:text-orange dark:visited:text-orange text-orange visited:text-orange dark:hover:text-white' inactive_class='dark:text-white text-slate' %}">Community</a>
{% comment %}TODO: Greg - Fix the paths for libraries in the template tag{% endcomment %}
<a href="{% url 'libraries' %}" class="hover:no-underline font-semibold dark:font-medium hover:text-orange dark:hover:text-orange {% active_link 'libraries||docs-libs-page' css_class='dark:text-orange dark:visited:text-orange text-orange visited:text-orange dark:hover:text-white' inactive_class='dark:text-white text-slate' url='/doc/libs/' %}">Libraries</a>
<a href="{% url 'releases-most-recent' %}" class="hover:no-underline font-semibold dark:font-medium hover:text-orange dark:hover:text-orange {% active_link 'releases-most-recent' css_class='dark:text-orange dark:visited:text-orange text-orange visited:text-orange dark:hover:text-white' inactive_class='dark:text-white text-slate' %}">Releases</a>
</nav>