nervetattoo / banner-card

A fluffy banner card for Home Assistant 🥰
MIT License
606 stars 58 forks source link

How can i resize the entity fonts? #160

Open jgeorge1983 opened 11 months ago

jgeorge1983 commented 11 months ago

I am going nuts here but cant get the format to change the font size, what am i missing?

type: custom:banner-card
card_mod:
  style: |
    ha-card .heading {
      font-size: 1em;
      font-weight: 400
    }`
    ha-card--banner-card-entity-value-size {
      font-size: 10em;
      font-weight: 400
    }`
heading:
  - mdi:light-flood-down
  - Living Room
link: /lovelace/livingroom
entities:
  - light.living_room_lights
  - sensor.living_room_temperature
  - entity: sensor.motion_kitchen_illuminance_lux

I have tried ha-card .entity-value-size { font-size: 10em; font-weight: 400 }`

ha-card .entity-value {
  font-size: 10em;
  font-weight: 400    }`

ha-card .entity.value {
  font-size: 10em;
  font-weight: 400    }`

I just can't seem to get it :(