Change link styles for figcaptions

This commit is contained in:
Knoch 2019-05-12 17:29:45 +02:00
parent 06f3cc2058
commit 611728e026
2 changed files with 18 additions and 0 deletions

View File

@ -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
* =============

View File

@ -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