Add “current” styles to <a> elements
When browsing the history, the current page (as determined by the
middleman-aria_current extension, will
annotate the <a> element with the [aria-current="page"]
attribute.
According to the middleman-aria_current documentation, the
:not([aria-current="false"]) portion of the CSS declaration is
significant and intentional:
Note that we exclude styling the link if
aria-currenthas a value offalse. This is becausefalseis a valid and useful value for denoting a link that does not represent the current item within a set.
When a commit is “current”, its indicator is bolded. Otherwise, they render as the typography font-weight:
