Hello, how can I use FontAwesome to create passage links that change color on Hover?
I have achieved ½ of the solution but hovering the link-text does not change/highlight the icon.
Currently I’m using TheMadExile’s Solution from twinery.org,
<<link '<i class="fas fa-shopping-basket fa-fwtravel"></i> Corner Pick & Pay' "Loc02">><</link>>
via applying a hover effect via css
.fa-fwtravel {
text-align: center;
font-size: 18px;
width: 1.25em;
text-shadow: 0px 0px 1px black, 0 0 4px #c0c0c0, 0 0 4px #000;
color: #c0c0c0;
cursor: pointer;
}
.fa-fwtravel:hover {
text-align: center;
font-size: 18px;
width: 1.25em;
text-shadow: 0px 0px 1px black, 0 0 4px #c0c0c0, 0 0 4px #000;
color: #ffdc00;
cursor: pointer;
}
.link-internal:hover {
color: #ffdc00;
}
Which works fine, hovering the icon highlights both, but when hovering the text the icon does not:
Example
How can I make the Whole link change when hovering either the icon or link?
Using Twine 2.2.1 SugarCube 2.28.2 on the offline editor