naturalcrit / homebrewery

Create authentic looking D&D homebrews using only markdown
https://homebrewery.naturalcrit.com
MIT License
1.1k stars 327 forks source link

Style Editor cannot change class elements #3896

Open TheYellowArchitect opened 4 hours ago

TheYellowArchitect commented 4 hours ago

What happened?

Using the style editor, I cannot change h3 or .note. It seems the only elements I can change are those with # aka IDs.

Code

### Test

Style Editor:

h3
{
color: red;
}

The above does not work.

As for doing a note.

{{note
Test!
}}

Style Editor:

.note
{
color: red;
}

If I am doing something wrong, freely close this issue. The above element identities are from developer tools, so for an ### test element, I clicked it and it says plain h3.

Gazook89 commented 4 hours ago

Try putting .page at the start of each selector. You have to override the default css, which uses that selector.

Gazook89 commented 4 hours ago

So .page h3 {