From 273a9b015f2d63872fa597cc81e7c0960e724c94 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Fri, 25 Oct 2019 09:11:01 +0200 Subject: [PATCH] Fix invisible figcaption link --- css/theme/latex.css | 4 ++-- css/theme/source/latex.scss | 2 +- sections/german/01/01.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/theme/latex.css b/css/theme/latex.css index 1fc4c30..c8e043d 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -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 { 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; } - 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); } /* diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss index 9d93897..4992515 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -697,7 +697,7 @@ p, li, h2, td, figcaption, div { } } -figcaption a { +figcaption a:not(.dark-font) { &:link, &:hover, &:active, diff --git a/sections/german/01/01.md b/sections/german/01/01.md index 7502e8a..a961638 100644 --- a/sections/german/01/01.md +++ b/sections/german/01/01.md @@ -81,7 +81,7 @@
-
Satzspiegel-Konstruktion nach Villard (Quelle)
+
Satzspiegel-Konstruktion nach Villard (Quelle)