Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add color utility classes #1071

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/404.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ eleventyExcludeFromCollections: true
---

<div class="l-simple c-hero c-simple--404">
<div class="c-simple__hero">
<div class="[ u-color-background-white ] [c-simple__hero ]">
<h1 id="page-not-found" class="c-heading-large">
{{ title }}
</h1>
Expand Down
6 changes: 3 additions & 3 deletions src/_includes/checklist.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
</span>
</summary>
<p class="c-checklist__citation">
<a class="u-text-transform-uppercase c-checklist__link" href="{{ url }}">{{ wcag }}</a>
<a class="[ u-text-transform-uppercase ] [ c-checklist__link ]" href="{{ url }}">{{ wcag }}</a>
</p>
<p class="u-font-size-body-small c-checklist__description">
<p class="[ u-font-size-body-small ] [ c-checklist__description ]">
{{ description }}
</p>
<p class="c-checklist__share-link">
<a class="u-text-transform-uppercase c-checklist__link" href="#{{ slugifiedTitle }}">
<a class="[ u-text-transform-uppercase ] [ c-checklist__link ]" href="#{{ slugifiedTitle }}">
Share Link
<span class="u-hide-visually">to checklist item: {{ title }}</span>
</a>
Expand Down
6 changes: 3 additions & 3 deletions src/_includes/featured.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p class="c-linkroll__entry--{{ post.data.category | slugify }}">
<a class="c-linkroll__link c-linkroll__link--featured" href="{{ post.url | url }}">
<span class="u-font-size-body-medium c-linkroll__featured">Featured Post</span><span class="u-hide-visually">. </span></span>
<span class="u-font-size-body-tiny c-linkroll__category u-text-transform-uppercase c-linkroll__category--featured">{{ post.data.category }}<span class="u-hide-visually">: </span></span>
<span class="u-font-size-body-medium c-linkroll__title c-linkroll__title--featured">{{ post.data.title }}</span>
<span class="[ u-font-size-body-medium ] [ c-linkroll__featured ]">Featured Post</span><span class="u-hide-visually">. </span></span>
<span class="[ u-font-size-body-tiny u-text-transform-uppercase ] [ c-linkroll__category c-linkroll__category--featured ]">{{ post.data.category }}<span class="u-hide-visually">: </span></span>
<span class="[ u-font-size-body-medium ] [ c-linkroll__title c-linkroll__title--featured ]">{{ post.data.title }}</span>
</a>
</p>
8 changes: 4 additions & 4 deletions src/_includes/heroes/home.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="l-hero c-hero c-hero--home">
<div class="l-hero__promo c-a11y-summary">
<h1 id="title" class="u-font-size-body-large c-a11y-summary__explanation">
<abbr>a11y</abbr> stands for <span class="u-text-transform-uppercase c-a11y-summary__accessibility">accessibility<span>
<div class="[ u-color-background-white ] [ l-hero__promo ] [ c-a11y-summary ]">
<h1 id="title" class="[ u-font-size-body-large ] [ c-a11y-summary__explanation ]">
<abbr>a11y</abbr> stands for <span class="[ u-text-transform-uppercase ] [ c-a11y-summary__accessibility ]">accessibility<span>
</h1>
<p class="c-a11y-summary__mission">
The A11Y Project is a community-driven effort to make digital accessibility easier.
Expand All @@ -10,5 +10,5 @@
</div>

<p class="c-cta-get-started">
<a class="u-text-transform-uppercase c-cta-get-started__link" href="#learn-the-fundamentals-and-principles-behind-accessible-design">How do I get started?</a>
<a class="[ u-text-transform-uppercase ] [ c-cta-get-started__link ]" href="#learn-the-fundamentals-and-principles-behind-accessible-design">How do I get started?</a>
</p>
2 changes: 1 addition & 1 deletion src/_includes/heroes/primary-nav.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="l-hero c-hero">
<div class="u-text-transform-uppercase l-hero__promo c-hero-summary">
<div class="[ u-text-transform-uppercase ] [ l-hero__promo ] [ c-hero-summary ]">
<h1 id="title" class="u-hide-visually">
{{ hero.title }}
</h1>
Expand Down
8 changes: 4 additions & 4 deletions src/_includes/highlight.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="c-card__wrapper c-card--highlight {% if templateClass == "template-posts"%}c-card--post{% else %}c-card--resource{% endif %}">
<h2
id="latest"
class="u-font-size-body u-text-transform-uppercase c-banner {% if templateClass == "template-posts"%}c-banner--post{% else %}c-banner--resource{% endif %}">
class="[ u-font-size-body u-text-transform-uppercase ] [ c-banner {% if templateClass == "template-posts"%}c-banner--post{% else %}c-banner--resource{% endif %} ]">
<svg aria-hidden="true" focusable="false" class="c-banner__icon" width="22" height="22">
<use xlink:href="{{ '/img/icons.svg#featured' | url }}"></use>
</svg>
Expand All @@ -16,16 +16,16 @@
{% endif %}
</h3>
{% if templateClass == "template-resources" %}
<p class="u-font-size-body-small u-text-transform-uppercase c-card__additional">
<p class="[ u-font-size-body-small u-text-transform-uppercase ] [ c-card__additional ]">
{{ featuredResource.additional }}
</p>
{% endif %}
{% if templateClass == "template-posts" %}
<p class="u-font-size-body-small c-card__meta">
<p class="[ u-font-size-body-small ] [ c-card__meta ]">
<time datetime="{{ post.date | htmlDateString }}">{{ post.date | dateReadable }}</time>{% if post.data.author%} by {{ post.data.author }}{% endif %}
</p>
{% endif %}
<p class="u-font-size-body-small c-card__description">
<p class="[ u-font-size-body-small ] [ c-card__description ]">
{% if templateClass == "template-posts" %}
{{ post.data.description | safe }}
{% elif templateClass == "template-resources" %}
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/homepage/featured-resource.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
alt="{{ featuredResource.alt }}"
src="img/resources/{{ featuredResource.image }}" />
</div>
<p class="u-font-size-body-small u-text-transform-uppercase c-homepage-card__author">
<p class="[ u-font-size-body-small u-text-transform-uppercase ] [ c-homepage-card__author ]">
{{ featuredResource.author }}
</p>
<h3 class="u-font-size-body-medium c-homepage-card__title" onclick="location.href='/resources/{{ featuredResource.title | slugify | url }}'">
<h3 class="[ u-font-size-body-medium ] [ c-homepage-card__title ]" onclick="location.href='/resources/{{ featuredResource.title | slugify | url }}'">
{{ featuredResource.title }}
</h3>
<p class="c-homepage-card__description">
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/homepage/spotlight.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
onclick="location.href='/spotlight/{{ spotlight.name | slugify | url }}'"
src="img/spotlight/{{ spotlight.image }}" />
<div class="c-homepage-card__spotlight__info">
<p class="u-font-size-body-medium c-homepage-card__spotlight-name">
<p class="[ u-font-size-body-medium ] [ c-homepage-card__spotlight-name ]">
{{ spotlight.name }}
</p>
<p class="u-font-size-body-small u-text-transform-uppercase c-homepage-card__spotlight-role">
<p class="[ u-font-size-body-small u-text-transform-uppercase ] [ c-homepage-card__spotlight-role ]">
{{ spotlight.role }}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/layouts/featured.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ templateClass: template-generic
<div data-content class="l-content c-content c-content--generic">

<h1 id="title" class="c-heading-largest c-heading-largest--generic">
<span class="u-font-size-body-medium u-text-transform-uppercase c-spotlight__subheading">{{ category }}<span class="u-hide-visually">:</span></span>
<span class="[ u-font-size-body-medium u-text-transform-uppercase ] [ c-spotlight__subheading ]">{{ category }}<span class="u-hide-visually">:</span></span>
{{ title }}
</h1>

Expand Down
4 changes: 2 additions & 2 deletions src/_includes/layouts/post.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ templateClass: template-post
<header class="l-post__header">
<div class="l-post__category c-post__category">
<p class="u-font-size-body u-text-transform-uppercase">
<a class="u-font-size-body c-post__category__link" href="/posts/#{{ category | slugify | url }}">
<a class="[ u-font-size-body ] [ c-post__category__link ]" href="/posts/#{{ category | slugify | url }}">
{{ category }}
</a>
</p>
Expand All @@ -17,7 +17,7 @@ templateClass: template-post
{{ title | safe }}
</h1>

<p id="metadata" class="u-font-size-body-small l-post__metadata c-post__metadata">
<p id="metadata" class="[ u-font-size-body-small ] [ l-post__metadata ] [ c-post__metadata ]">
{% if author %}
<span class="c-post__metadata--author">
<span class="u-text-transform-uppercase">By:&#8194;</span><a class="c-post__metadata-link" href="/authors/#{{ author | slugify | url }}">{{ author }}</a><span class="u-hide-visually">.</span>
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/linkroll.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<li class="c-linkroll__entry c-linkroll__entry--{{ post.data.category | slugify }}">
<a class="c-linkroll__link" href="{{ post.url | url }}">
<span class="u-font-size-body-tiny u-text-transform-uppercase c-linkroll__category">{{ post.data.category }}<span class="u-hide-visually">: </span></span>
<span class="u-font-size-body-medium c-linkroll__title">{{ post.data.title }}</span>
<span class="[ u-font-size-body-tiny u-text-transform-uppercase ] c-linkroll__category ]">{{ post.data.category }}<span class="u-hide-visually">: </span></span>
<span class="[ u-font-size-body-medium ] [ c-linkroll__title ]">{{ post.data.title }}</span>
</a>
</li>
4 changes: 2 additions & 2 deletions src/_includes/nav/copyright-back-to-top.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
Powered by <a class="c-footer__copyright-link" href="https://www.11ty.io/">Eleventy</a>, <a class="c-footer__copyright-link" href="https://www.netlify.com/">Netlify</a>, and <a class="c-footer__copyright-link" href="https://github.com/a11yproject/a11yproject.com">GitHub</a>.
</p>
</div>
<p class="u-font-size-body-small l-footer__top">
<a class="c-footer__copyright-link" href="#header">Back to top</a>
<p class="[ u-font-size-body-small ] [ l-footer__top ]">
<a class="c-footer__copyright-link" href="#header">Back to top</a>
</p>
10 changes: 5 additions & 5 deletions src/_includes/nav/footer.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav id="site-navigation" class="l-footer-nav" aria-label="Site">

<div class="l-footer-nav__features c-footer__subnav">
<h2 id="features" class="u-font-size-body-medium u-text-transform-uppercase c-footer__heading">
<h2 id="features" class="[ u-font-size-body-medium u-text-transform-uppercase ] [ c-footer__heading ]">
Features
</h2>
<ul class="c-footer__list">
Expand All @@ -20,7 +20,7 @@
</div>

<div class="l-footer-nav__project c-footer__subnav">
<h2 id="project" class="u-font-size-body-medium u-text-transform-uppercase c-footer__heading">
<h2 id="project" class="[ u-font-size-body-medium u-text-transform-uppercase ] [ c-footer__heading ]">
Project
</h2>
<ul class="c-footer__list">
Expand All @@ -39,7 +39,7 @@
</div>

<div class="l-footer-nav__utility c-footer__subnav">
<h2 id="site" class="u-font-size-body-medium u-text-transform-uppercase c-footer__heading">
<h2 id="site" class="[ u-font-size-body-medium u-text-transform-uppercase ] [ c-footer__heading ]">
Site
</h2>
<ul class="c-footer__list">
Expand All @@ -58,7 +58,7 @@
</div>

<div class="l-footer-nav__social c-footer__subnav">
<h2 id="social" class="u-font-size-body-medium u-text-transform-uppercase c-footer__heading">
<h2 id="social" class="[ u-font-size-body-medium u-text-transform-uppercase ] [ c-footer__heading ]">
Social
</h2>
<ul class="c-footer__list">
Expand All @@ -81,7 +81,7 @@
</div>

<div class="l-footer-nav__support c-footer__subnav">
<h2 id="support" class="u-font-size-body-medium u-text-transform-uppercase c-footer__heading">
<h2 id="support" class="[ u-font-size-body-medium u-text-transform-uppercase ] [ c-footer__heading ]">
Support
</h2>
<ul class="c-footer__list">
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/nav/primary.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<div id="logo" class="l-primary-nav__logo c-logo">
<a class="c-logo__link" href="{{ '/' | url }}">
<div aria-hidden="true" class="c-logo__lockup">
<svg class="c-logo__icon" aria-hidden="true" focusable="false" width="51" height="51" xmlns="http://www.w3.org/2000/svg">
<svg class="[ u-color-fill-white ] [ c-logo__icon ]" aria-hidden="true" focusable="false" width="51" height="51" xmlns="http://www.w3.org/2000/svg">
<title>{{ metadata.title }}</title>
<path d="M25.5 0C11.417 0 0 11.417 0 25.5S11.417 51 25.5 51 51 39.583 51 25.5 39.583 0 25.5 0zm-.385 5.064a3.3 3.3 0 0 1 3.307 3.291 3.304 3.304 0 0 1-3.307 3.306 3.3 3.3 0 0 1-3.29-3.306 3.29 3.29 0 0 1 3.29-3.291zm14.289 10.652l-9.809 1.24.005 9.817 4.755 15.867a1.85 1.85 0 0 1-1.344 2.252c-.989.25-2.003-.3-2.252-1.298l-4.87-14.443h-1.498l-4.48 14.742c-.374.964-1.448 1.404-2.407 1.03-.954-.37-1.533-1.454-1.158-2.418l4.115-15.572v-9.978l-9.04-1.228c-.928-.075-1.558-.89-1.483-1.818.07-.934.914-1.628 1.838-1.554l10.982.944h4.815l11.69-.963a1.68 1.68 0 0 1 1.749 1.623c.04.924-.68 1.718-1.608 1.758z" />
</svg>
<svg class="c-logo__wordmark" aria-hidden="true" focusable="false" width="180" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M6.973 15H3.945V3.242H.068V.722H10.85v2.52H6.973V15zM24.746 15H21.73V8.838h-5.655V15h-3.027V.723h3.027v5.595h5.654V.723h3.018V15zM36.582 15h-8.223V.723h8.223v2.48h-5.195v3.135h4.834v2.48h-4.834V12.5h5.195V15zM53.506 15l-1.035-3.398h-5.205L46.23 15h-3.262L48.008.664h3.701L56.768 15h-3.262zm-1.758-5.938c-.957-3.079-1.497-4.82-1.621-5.224a16.453 16.453 0 0 1-.254-.957c-.215.833-.83 2.894-1.846 6.181h3.721zM64.756 15h-3.018V6.738v-.605l.02-.742c.013-.26.023-.521.03-.782.012-.26.022-.498.028-.713-.032.04-.088.098-.166.176l-.263.264-.303.283a5.13 5.13 0 0 1-.303.264L59.141 6.2l-1.465-1.816 4.6-3.662h2.48V15zM75.772 15h-3.018V6.738v-.605l.02-.742c.013-.26.022-.521.029-.782.013-.26.023-.498.029-.713-.032.04-.088.098-.166.176l-.264.264-.302.283a5.162 5.162 0 0 1-.303.264L70.157 6.2 68.69 4.385l4.6-3.662h2.48V15zM85.049 6.602l2.978-5.88h3.262l-4.736 8.721V15h-3.008V9.541L78.809.723h3.28l2.96 5.879zM101.309 7.441h.996c.931 0 1.627-.182 2.09-.546.462-.372.693-.909.693-1.612 0-.71-.195-1.234-.586-1.572-.384-.339-.99-.508-1.816-.508h-1.377v4.238zm6.836-2.265c0 1.536-.482 2.711-1.446 3.525-.957.814-2.321 1.22-4.092 1.22h-1.298V15h-3.028V.723h4.561c1.732 0 3.047.374 3.945 1.123.905.742 1.358 1.852 1.358 3.33zM113.867 7.06h.977c.957 0 1.663-.159 2.119-.478.456-.319.683-.82.683-1.504 0-.677-.234-1.159-.703-1.445-.462-.287-1.181-.43-2.158-.43h-.918v3.858zm0 2.461V15h-3.027V.723H115c1.94 0 3.376.354 4.307 1.064.931.703 1.396 1.774 1.396 3.213 0 .84-.231 1.589-.693 2.246-.462.651-1.117 1.162-1.963 1.533L122.246 15h-3.359l-3.408-5.479h-1.612zM137.002 7.842c0 2.363-.586 4.18-1.758 5.449-1.172 1.27-2.851 1.904-5.039 1.904-2.187 0-3.867-.635-5.039-1.904-1.172-1.27-1.758-3.092-1.758-5.469 0-2.376.586-4.19 1.758-5.44 1.178-1.256 2.865-1.884 5.059-1.884s3.87.632 5.029 1.895c1.165 1.263 1.748 3.079 1.748 5.449zm-10.42 0c0 1.595.303 2.796.908 3.603.606.808 1.511 1.211 2.715 1.211 2.415 0 3.623-1.605 3.623-4.814 0-3.216-1.201-4.824-3.603-4.824-1.205 0-2.113.406-2.725 1.22-.612.808-.918 2.009-.918 3.604zM138.467 19.2c-.684 0-1.279-.072-1.787-.216v-2.52c.521.131.996.196 1.425.196.665 0 1.14-.208 1.426-.625.287-.41.43-1.055.43-1.933V.722h3.027v13.36c0 1.667-.381 2.936-1.142 3.809-.762.872-1.888 1.308-3.379 1.308zM154.805 15h-8.223V.723h8.223v2.48h-5.196v3.135h4.834v2.48h-4.834V12.5h5.196V15zM163.857 3.037c-1.139 0-2.021.43-2.646 1.29-.625.852-.938 2.043-.938 3.573 0 3.184 1.195 4.776 3.584 4.776 1.003 0 2.217-.25 3.643-.752v2.539c-1.172.488-2.48.732-3.926.732-2.077 0-3.665-.628-4.765-1.885-1.101-1.263-1.651-3.072-1.651-5.43 0-1.484.27-2.782.811-3.896.54-1.12 1.315-1.976 2.324-2.568 1.016-.599 2.204-.898 3.564-.898 1.387 0 2.78.335 4.18 1.005l-.976 2.461a16.127 16.127 0 0 0-1.612-.664 4.806 4.806 0 0 0-1.592-.283zM176.055 15h-3.028V3.242h-3.877V.722h10.782v2.52h-3.877V15z" /></svg>
<svg class="[ u-color-fill-white ] [ c-logo__wordmark ]" aria-hidden="true" focusable="false" width="180" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M6.973 15H3.945V3.242H.068V.722H10.85v2.52H6.973V15zM24.746 15H21.73V8.838h-5.655V15h-3.027V.723h3.027v5.595h5.654V.723h3.018V15zM36.582 15h-8.223V.723h8.223v2.48h-5.195v3.135h4.834v2.48h-4.834V12.5h5.195V15zM53.506 15l-1.035-3.398h-5.205L46.23 15h-3.262L48.008.664h3.701L56.768 15h-3.262zm-1.758-5.938c-.957-3.079-1.497-4.82-1.621-5.224a16.453 16.453 0 0 1-.254-.957c-.215.833-.83 2.894-1.846 6.181h3.721zM64.756 15h-3.018V6.738v-.605l.02-.742c.013-.26.023-.521.03-.782.012-.26.022-.498.028-.713-.032.04-.088.098-.166.176l-.263.264-.303.283a5.13 5.13 0 0 1-.303.264L59.141 6.2l-1.465-1.816 4.6-3.662h2.48V15zM75.772 15h-3.018V6.738v-.605l.02-.742c.013-.26.022-.521.029-.782.013-.26.023-.498.029-.713-.032.04-.088.098-.166.176l-.264.264-.302.283a5.162 5.162 0 0 1-.303.264L70.157 6.2 68.69 4.385l4.6-3.662h2.48V15zM85.049 6.602l2.978-5.88h3.262l-4.736 8.721V15h-3.008V9.541L78.809.723h3.28l2.96 5.879zM101.309 7.441h.996c.931 0 1.627-.182 2.09-.546.462-.372.693-.909.693-1.612 0-.71-.195-1.234-.586-1.572-.384-.339-.99-.508-1.816-.508h-1.377v4.238zm6.836-2.265c0 1.536-.482 2.711-1.446 3.525-.957.814-2.321 1.22-4.092 1.22h-1.298V15h-3.028V.723h4.561c1.732 0 3.047.374 3.945 1.123.905.742 1.358 1.852 1.358 3.33zM113.867 7.06h.977c.957 0 1.663-.159 2.119-.478.456-.319.683-.82.683-1.504 0-.677-.234-1.159-.703-1.445-.462-.287-1.181-.43-2.158-.43h-.918v3.858zm0 2.461V15h-3.027V.723H115c1.94 0 3.376.354 4.307 1.064.931.703 1.396 1.774 1.396 3.213 0 .84-.231 1.589-.693 2.246-.462.651-1.117 1.162-1.963 1.533L122.246 15h-3.359l-3.408-5.479h-1.612zM137.002 7.842c0 2.363-.586 4.18-1.758 5.449-1.172 1.27-2.851 1.904-5.039 1.904-2.187 0-3.867-.635-5.039-1.904-1.172-1.27-1.758-3.092-1.758-5.469 0-2.376.586-4.19 1.758-5.44 1.178-1.256 2.865-1.884 5.059-1.884s3.87.632 5.029 1.895c1.165 1.263 1.748 3.079 1.748 5.449zm-10.42 0c0 1.595.303 2.796.908 3.603.606.808 1.511 1.211 2.715 1.211 2.415 0 3.623-1.605 3.623-4.814 0-3.216-1.201-4.824-3.603-4.824-1.205 0-2.113.406-2.725 1.22-.612.808-.918 2.009-.918 3.604zM138.467 19.2c-.684 0-1.279-.072-1.787-.216v-2.52c.521.131.996.196 1.425.196.665 0 1.14-.208 1.426-.625.287-.41.43-1.055.43-1.933V.722h3.027v13.36c0 1.667-.381 2.936-1.142 3.809-.762.872-1.888 1.308-3.379 1.308zM154.805 15h-8.223V.723h8.223v2.48h-5.196v3.135h4.834v2.48h-4.834V12.5h5.196V15zM163.857 3.037c-1.139 0-2.021.43-2.646 1.29-.625.852-.938 2.043-.938 3.573 0 3.184 1.195 4.776 3.584 4.776 1.003 0 2.217-.25 3.643-.752v2.539c-1.172.488-2.48.732-3.926.732-2.077 0-3.665-.628-4.765-1.885-1.101-1.263-1.651-3.072-1.651-5.43 0-1.484.27-2.782.811-3.896.54-1.12 1.315-1.976 2.324-2.568 1.016-.599 2.204-.898 3.564-.898 1.387 0 2.78.335 4.18 1.005l-.976 2.461a16.127 16.127 0 0 0-1.612-.664 4.806 4.806 0 0 0-1.592-.283zM176.055 15h-3.028V3.242h-3.877V.722h10.782v2.52h-3.877V15z" /></svg>
</div>
<p class="u-hide-visually">
The A11Y Project
Expand Down
8 changes: 4 additions & 4 deletions src/_includes/nav/recommended-reading.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p class="c-recommended-reading__wrapper">
{% set previousPost = collections.posts | getPreviousCollectionItem(page) %}
{% if previousPost %}
<a class="c-recommended-reading__link" href="{{ previousPost.url }}">
<span class="u-font-size-body-small u-text-transform-uppercase c-recommended-reading__category">Previous Post<span class="u-hide-visually">:</span></span>
<a class="[ u-color-background-white ] [ c-recommended-reading__link ]" href="{{ previousPost.url }}">
<span class="[ u-font-size-body-small u-text-transform-uppercase ] [ c-recommended-reading__category ]">Previous Post<span class="u-hide-visually">:</span></span>
<span class="c-recommended-reading__title">{{ previousPost.data.category }}: {{ previousPost.data.title | safe }}</span>
</a>
{% endif %}
Expand All @@ -13,8 +13,8 @@
<p class="c-recommended-reading__wrapper">
{% set nextPost = collections.posts | getNextCollectionItem(page) %}
{% if nextPost %}
<a class="c-recommended-reading__link" href="{{ nextPost.url }}">
<span class="u-font-size-body-small u-text-transform-uppercase c-recommended-reading__category">Next Post<span class="u-hide-visually">:</span></span>
<a class="[ u-color-background-white ] [ c-recommended-reading__link ]" href="{{ nextPost.url }}">
<span class="[ u-font-size-body-small u-text-transform-uppercase ] [ c-recommended-reading__category ]">Next Post<span class="u-hide-visually">:</span></span>
<span class="c-recommended-reading__title">{{ nextPost.data.category }}: {{ nextPost.data.title | safe }}</span>
</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/nav/skipnav.njk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a class="u-text-transform-uppercase c-skipnav" href="#title">Skip to content.</a>
<a class="[ u-text-transform-uppercase ] [ c-skipnav ]" href="#title">Skip to content.</a>
Loading