Single post in A Somewhat Extensive Guide to BBCodes
Forum Index > PokéFarm > Guides > A Somewhat Extensive Guide to BBCodes >
QUOTE originally posted by Squipples
i was ignoring this bc it looks fine in my skin, but on others' skins it might not o_O;
am trying to change the colors of the 'panel' boxes, and the &>div section has worked fine, as well as the background color for &>h3, but for some reason i can't get the text color to change in the 'header'?
like this all looks fine aside from the fact that the text in the heading isn't actually white. idk what the problem is, my grasp on bbcode & css is loose at best.
Example
boop
nobb'd
[style]
.panel {
box-shadow: 0 0 0 transparent;
&>h3 {
background: rgba(49, 74, 123, 1);
color: white;
}
&>div {
background: rgba(255, 255, 255, 1);
border:2px dashed rgba(197, 25, 82, .5);
text-align: center;
color: rgba(197, 25, 82, 1);
}
}
[/style]
boop
hiya!
code
[style]
.panel {
box-shadow: 0 0 0 transparent;
a {
color: white;
}
&>h3 {
background: rgba(49, 74, 123, 1);
color: white;
}
&>div {
background: rgba(255, 255, 255, 1);
border:2px dashed rgba(197, 25, 82, .5);
text-align: center;
color: rgba(197, 25, 82, 1);
}
}
[/style]