branding.css

Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/components/blocks/branding/branding.css
  2. 10 core/profiles/demo_umami/themes/umami/components/branding/branding.css
  3. 11.x core/profiles/demo_umami/themes/umami/components/branding/branding.css

This file is used to style the branding block.

File

core/profiles/demo_umami/themes/umami/css/components/blocks/branding/branding.css

View source
  1. /**
  2. * @file
  3. * This file is used to style the branding block.
  4. */
  5. .block-system-branding-block {
  6. flex: 0 1 40%;
  7. }
  8. @media screen and (min-width: 48em) {
  9. .block-system-branding-block {
  10. flex: 0 1 220px;
  11. margin: 2.5rem 0;
  12. text-align: left;
  13. }
  14. }
  15. .site-logo {
  16. display: inline-block;
  17. width: 100%;
  18. max-width: 205px;
  19. background-color: inherit;
  20. }
  21. .site-logo:hover,
  22. .site-logo:focus {
  23. background-color: inherit;
  24. }
  25. .site-logo svg {
  26. width: 100%;
  27. max-width: 205px;
  28. height: auto;
  29. }

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