portico css: Use classname for header text instead of span.

This commit is contained in:
evykassirer 2024-07-25 16:37:36 -07:00 committed by Tim Abbott
parent cc6118efae
commit e0b0a3638e
2 changed files with 5 additions and 4 deletions

View File

@ -15,13 +15,13 @@
</a>
{% if page_is_help_center %}
<span class="light"> | <a href="{{ root_domain_url }}/help/">{{ doc_root_title }}</a></span>
<span class="light portico-header-text"> | <a href="{{ root_domain_url }}/help/">{{ doc_root_title }}</a></span>
{% endif %}
{% if page_is_api_center %}
<span class="light"> | <a href="{{ root_domain_url }}/api/">{{ doc_root_title }}</a></span>
<span class="light portico-header-text"> | <a href="{{ root_domain_url }}/api/">{{ doc_root_title }}</a></span>
{% endif %}
{% if page_is_policy_center %}
<span class="light"> | <a href="{{ root_domain_url }}/policies/">{{ doc_root_title }}</a></span>
<span class="light portico-header-text"> | <a href="{{ root_domain_url }}/policies/">{{ doc_root_title }}</a></span>
{% endif %}
</div>
{% endif %}

View File

@ -297,7 +297,8 @@ html {
top: 0;
.top-links a,
.header-main .logo span {
/* specificity to override the color of `.light` */
.header-main .logo .portico-header-text {
color: hsl(0deg 0% 27%);
}
}