I'm using Sugarcube 2 and I'm trying to change the colour of one line of text with a <<click>> macro. At the moment, because the links are set to appear as white on a blue background in most places, the text that says "you're an investor rather than a builder" here, appears white, too.
But I want it to be grey. I tried to add a span class around it and change the font color that way, which I thought would be simple. But it doesn't seem to work. I'm not sure if the other css code is over-riding it somehow. (I've pasted all the css code below, too)
Like many who own land in the city,
<<click "you're an investor rather than a builder.▼">><<toggleclass "#section1" "hidden">><</click>>
<div id="section1" class="hidden">If you were a builder, there would be a number of factors to take into account in deciding whether to build or not: development risks, construction costs, financing, planning, and taxes. But we're not going to go into those here.</div>\
body {
background-color: white;
color: #666666;
font-family: Times, Arial, Helvetica, sans-serif;
font-size: 125%;
}
a {
color: white;
}
.hide {
display: none;
}
a:link{
color: #666666;
}
a:visited{
color: #666666;
}
#ui-bar {
display:none;
}
#story {
margin-left: 3.5em;
}
.score-buttons button {
color: white;
width: 15em;
font-size: 16px;
background-color: #ff9a00;
border: 2px solid #ff9a00;
}
.fixed-buttons button {
color: white;
width: 80%;
font-size: 24px;
}
.wrapper {
text-align: center;
}
.wrapper2 {
text-align: right;
}