« Web, HTML, Tech Forum

Changing color of non-link text?

I'm trying to figure out how to change the color of "basic" text (text that isn't a link or title of a section) on my profile. Does anyone know which part of my HTML code affects this? 

Here is the full code I am working with:

https://pastebin.com/iWJvCZKK


Report Topic

1 Reply

Reply by Ikoe

posted

SpaceHey's base stylesheet declares an over-arching color on the <main> tag, so you can just overwrite it with: main { color: (your hex of choice) }


It's worth noting (or emphasizing, I guess?), though, that this also applies to .comments-table; if you intend on setting a lighter / white-adjacent color on <main>, consider declaring a darker color on that specific class for the sake of maintaining readable contrast.


Report Reply