Fix link decoration weirdness
This commit is contained in:
parent
5fae1c15ea
commit
7868686860
|
@ -110,7 +110,7 @@ article {
|
|||
|
||||
// Markdown decorations
|
||||
@media screen and (min-width: 768px) {
|
||||
a[data-link] {
|
||||
a {
|
||||
text-decoration: none;
|
||||
&::before { content: "["; }
|
||||
&::after { content: "](" attr(data-link) ")"; word-wrap: break-word; }
|
||||
|
@ -120,7 +120,11 @@ article {
|
|||
font-size: 0.75em;
|
||||
}
|
||||
}
|
||||
a:not([data-link]) { text-decoration: underline; }
|
||||
a[data-no-link-decoration] {
|
||||
text-decoration: underline;
|
||||
&::before { content: ""; }
|
||||
&::after { content: ""; }
|
||||
}
|
||||
sup.footnote-ref > a::before,
|
||||
sup.footnote-ref > a::after,
|
||||
a.footnote-backref::before, a.footnote-backref::after {
|
||||
|
|
|
@ -11,7 +11,7 @@ This is what algorithmic bias looks like. **Algorithms are not neutral.**[^1]
|
|||
|
||||
<figure>
|
||||
<img src="<%= metadata.permalink %>/youtube_thumb.png" alt="YouTube thumbnail of an MKBHD video">
|
||||
<figcaption>A screenshot of the thumbnail for a YouTube video from MKBHD titled "<a href="https://www.youtube.com/watch?v=o-_WXXVye3Y">Reflecting on the Color of My Skin</a>".</figcaption>
|
||||
<figcaption>A screenshot of the thumbnail for a YouTube video from MKBHD titled "<a href="https://www.youtube.com/watch?v=o-_WXXVye3Y" data-no-link-decoration>Reflecting on the Color of My Skin</a>".</figcaption>
|
||||
</figure>
|
||||
|
||||
[^1]: "Algorithm" is a word here used not in the purely computer science sense, but to mean a element of software which operates in a black box, often with a machine learning component, with little or no human supervision, input, or control.
|
||||
|
|
Loading…
Reference in New Issue