diff --git a/css/theme/latex.css b/css/theme/latex.css index d41a5c5..1fc4c30 100644 --- a/css/theme/latex.css +++ b/css/theme/latex.css @@ -564,6 +564,11 @@ 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 { + color: white; } + figcaption a:link::before, figcaption a:hover::before, figcaption a:active::before, figcaption a:visited::before { + background-color: var(--secondary-dark); } + /* * Code Listings * ============= diff --git a/css/theme/source/latex.scss b/css/theme/source/latex.scss index 30dd62a..9d93897 100644 --- a/css/theme/source/latex.scss +++ b/css/theme/source/latex.scss @@ -697,6 +697,19 @@ p, li, h2, td, figcaption, div { } } +figcaption a { + &:link, + &:hover, + &:active, + &:visited { + color: white; + + &::before { + background-color: var(--secondary-dark); + } + } +} + /* * Code Listings