You are here

links.css in Drupal 10

Links component.

File

core/themes/olivero/css/components/links.css
View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Links component.
  10. */
  11. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. [dir="ltr"] .links.inline {
  20. margin-left: 0
  21. }
  22. [dir="rtl"] .links.inline {
  23. margin-right: 0
  24. }
  25. [dir="ltr"] .links.inline {
  26. padding-left: 0
  27. }
  28. [dir="rtl"] .links.inline {
  29. padding-right: 0
  30. }
  31. [dir="ltr"] .links.inline {
  32. padding-right: 0
  33. }
  34. [dir="rtl"] .links.inline {
  35. padding-left: 0
  36. }
  37. .links.inline {
  38. padding-top: 0;
  39. padding-bottom: 0;
  40. list-style: none
  41. }
  42. .links.inline > * {
  43. display: inline
  44. }
  45. [dir="ltr"] .links.inline > *:not(:last-child) {
  46. padding-right: 1em
  47. }
  48. [dir="rtl"] .links.inline > *:not(:last-child) {
  49. padding-left: 1em
  50. }
  51. @media (min-width: 43.75rem) {
  52. [dir="ltr"] .node--type-book .links.inline {
  53. text-align: right
  54. }
  55. [dir="rtl"] .node--type-book .links.inline {
  56. text-align: left
  57. }
  58. }