Fix invisible figcaption link

This commit is contained in:
Knoch 2019-10-25 09:11:01 +02:00
parent f1f9642261
commit 273a9b015f
3 changed files with 4 additions and 4 deletions

View File

@ -564,9 +564,9 @@ p a:link, p a:hover, p a:active, p a:visited, li a:link, li a:hover, li a:active
p a:hover::before, li a:hover::before, h2 a:hover::before, td a:hover::before, figcaption a:hover::before, div a:hover::before { p a:hover::before, li a:hover::before, h2 a:hover::before, td a:hover::before, figcaption a:hover::before, div a:hover::before {
height: 110%; } height: 110%; }
figcaption a:link, figcaption a:hover, figcaption a:active, figcaption a:visited { figcaption a:not(.dark-font):link, figcaption a:not(.dark-font):hover, figcaption a:not(.dark-font):active, figcaption a:not(.dark-font):visited {
color: white; } color: white; }
figcaption a:link::before, figcaption a:hover::before, figcaption a:active::before, figcaption a:visited::before { figcaption a:not(.dark-font):link::before, figcaption a:not(.dark-font):hover::before, figcaption a:not(.dark-font):active::before, figcaption a:not(.dark-font):visited::before {
background-color: var(--secondary-dark); } background-color: var(--secondary-dark); }
/* /*

View File

@ -697,7 +697,7 @@ p, li, h2, td, figcaption, div {
} }
} }
figcaption a { figcaption a:not(.dark-font) {
&:link, &:link,
&:hover, &:hover,
&:active, &:active,

View File

@ -81,7 +81,7 @@
</ul> </ul>
<figure style="display: flex; justify-content: space-between; width: 100%; align-items: flex-end;"> <figure style="display: flex; justify-content: space-between; width: 100%; align-items: flex-end;">
<img src="sections/german/01/satzspiegel.svg" style="height: 8em"> <img src="sections/german/01/satzspiegel.svg" style="height: 8em">
<figcaption style="margin-left: 1em; font-size: .8em">Satzspiegel-Konstruktion nach Villard (<a href="https://commons.wikimedia.org/wiki/File:Satzspiegel-4.svg">Quelle</a>)</figcaption> <figcaption style="margin-left: 1em; font-size: .8em">Satzspiegel-Konstruktion nach Villard (<a class="dark-font" href="https://commons.wikimedia.org/wiki/File:Satzspiegel-4.svg">Quelle</a>)</figcaption>
</figure> </figure>
</div> </div>
<div class="layout-preview"> <div class="layout-preview">