I'm trying to use card-mod to customize heading styles via css, but have been struggling to do the simplest style changes (e.g. font-size & padding)
Right now I'm trying to do it to a markdown card like below, but the font-weight style isn't applying. How do I update the h2 font weight in this instance, or otherwise add a heading where I can customize the css? I'm only using markdown right now because I could at least use a h2 which has a smaller font-size than the default headings.
type: markdown
content: " ## Front door"
text_only: true
card_mod:
style: |
ha-card {
padding: 8px 8px 8px 8px;
}
ha-card h2 {
font-weight: normal !important;
}