An example of this might be when the player is asking a series of questions that all lead back to a single passage. I need to alter the color of choice buttons that have been previously selected. The player can still access them, but this will make the process easier to follow.
Here's my stylesheet.
/*choice button*/
#choices {
list-style: none;
padding: 0;
border: 1px solid #bbb;
}
#choices li {
margin: 0;
padding: 0;
}
#choices li:not(:first-child) {
border-top: 1px solid #bbb;
}
#choices li a {
display: block;
margin: 0;
padding: 0.5em 0.8em;
border: none;
text-decoration: none;
font-size: 75%;
}
#choices li a:hover {
color: #fff;
background-color: #718389;
}
/*name input button*/
#nameinput button {
display: block;
width: 100%;
border: 1px solid #bbb;
background-color: inherit;
line-height: inherit;
padding: 0.5em 0.8em;
text-align: left;
font-size: 75%;
}
#nameinput button:hover {
color: #fff;
background-color: #718389;
}