fonts.css

Same filename in this branch
  1. 10 core/modules/navigation/css/base/fonts.css
Same filename in other branches
  1. 9 core/themes/olivero/css/base/fonts.css
  2. 11.x core/themes/olivero/css/base/fonts.css
  3. 11.x core/modules/navigation/css/base/fonts.css

Base Fonts.

File

core/themes/olivero/css/base/fonts.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. * Base Fonts.
  10. */
  11. @font-face {
  12. font-family: metropolis;
  13. src: url("../../fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
  14. font-weight: normal;
  15. font-style: normal;
  16. font-display: swap;
  17. }
  18. @font-face {
  19. font-family: metropolis;
  20. src: url("../../fonts/metropolis/Metropolis-Bold.woff2") format("woff2");
  21. font-weight: 700;
  22. font-style: normal;
  23. font-display: swap;
  24. }
  25. @font-face {
  26. font-family: metropolis;
  27. src: url("../../fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
  28. font-weight: 600;
  29. font-style: normal;
  30. font-display: swap;
  31. }
  32. /* lora-regular - latin */
  33. @font-face {
  34. font-family: Lora;
  35. src:
  36. local("Lora Regular"),
  37. local("Lora-Regular"),
  38. url("../../fonts/lora/lora-v14-latin-regular.woff2") format("woff2");
  39. font-weight: 400;
  40. font-style: normal;
  41. font-display: swap;
  42. }
  43. /* lora-italic - latin */
  44. @font-face {
  45. font-family: Lora;
  46. src:
  47. local("Lora Italic"),
  48. local("Lora-Italic"),
  49. url("../../fonts/lora/lora-v14-latin-italic.woff2") format("woff2");
  50. font-weight: 400;
  51. font-style: italic;
  52. font-display: swap;
  53. }
  54. /* lora-700 - latin */
  55. @font-face {
  56. font-family: Lora;
  57. src:
  58. local("Lora Bold"),
  59. local("Lora-Bold"),
  60. url("../../fonts/lora/lora-v14-latin-700.woff2") format("woff2");
  61. font-weight: 700;
  62. font-style: normal;
  63. font-display: swap;
  64. }

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