badge.css

Same filename in other branches
  1. 10 core/profiles/demo_umami/themes/umami/components/badge/badge.css
.umami-badge__container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Large */
@media screen and (min-width: 60rem) {
  /* 960px */
  .umami-badge__container {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-block: 0.96em;
  }
}

.umami-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

/* Large */
@media screen and (min-width: 60rem) {
  /* 960px */
  .umami-badge__icon {
    align-items: start;
    width: 56px;
    height: 64px;
  }
}

.umami-badge__label {
  font-weight: bold;
}

.umami-badge__label::after {
  content: ":";
}

File

core/profiles/demo_umami/themes/umami/components/badge/badge.css

View source
  1. .umami-badge__container {
  2. display: flex;
  3. align-items: center;
  4. gap: 0.5rem;
  5. }
  6. /* Large */
  7. @media screen and (min-width: 60rem) {
  8. /* 960px */
  9. .umami-badge__container {
  10. flex-direction: column;
  11. gap: 0;
  12. width: 100%;
  13. padding-block: 0.96em;
  14. }
  15. }
  16. .umami-badge__icon {
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. width: 40px;
  21. height: 40px;
  22. }
  23. /* Large */
  24. @media screen and (min-width: 60rem) {
  25. /* 960px */
  26. .umami-badge__icon {
  27. align-items: start;
  28. width: 56px;
  29. height: 64px;
  30. }
  31. }
  32. .umami-badge__label {
  33. font-weight: bold;
  34. }
  35. .umami-badge__label::after {
  36. content: ":";
  37. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.