Amaury
Well-known member
This is something I've never really thought about, but I've become curious.
When and how do you know when you can combine CSS to make it more compact? For example, I was able to change both the section text in preferences (Locale, Options, Notices) and the Share This Page text with:
In the framework I'm working with, whereas in KH-Flare 2015 I have:
Is it just a matter of things that will be, for example, using the same color or can only certain things be put together?
When and how do you know when you can combine CSS to make it more compact? For example, I was able to change both the section text in preferences (Locale, Options, Notices) and the Share This Page text with:
Code:
.larger.textHeading, .xenForm .sectionHeader {
color: @contentText;
}
In the framework I'm working with, whereas in KH-Flare 2015 I have:
Code:
.xenForm .sectionHeader {
color: @secondaryDarker;
}
Code:
.sharePage, .xenForm .sectionHeader {
color: @secondaryDarker;
}
Is it just a matter of things that will be, for example, using the same color or can only certain things be put together?