mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
🐛 fixes nav colors on docs
BoostBook.css is overriding the link styles on the nav. This fixes that.
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user