language-switcher.css

Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/components/blocks/language-switcher/language-switcher.css
  2. 8.9.x core/profiles/demo_umami/themes/umami/css/components/blocks/language-switcher/language-switcher.css
  3. 11.x core/profiles/demo_umami/themes/umami/css/components/blocks/language-switcher/language-switcher.css

Stylesheet for the language switcher block.

File

core/profiles/demo_umami/themes/umami/css/components/blocks/language-switcher/language-switcher.css

View source
  1. /**
  2. * @file
  3. * Stylesheet for the language switcher block.
  4. */
  5. .block-language > .links {
  6. display: inline-flex;
  7. margin: 0;
  8. padding: 0;
  9. list-style: none;
  10. }
  11. .block-language > .links li + li {
  12. margin-inline-start: 1rem;
  13. }
  14. .language-link,
  15. .language-link:hover,
  16. .language-link:focus {
  17. text-decoration: none;
  18. color: inherit;
  19. background-color: inherit;
  20. }
  21. .language-link:hover,
  22. .language-link:focus {
  23. text-decoration: underline;
  24. }
  25. .language-link.is-active {
  26. font-weight: 700;
  27. }

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