fonts.css

Same filename in other branches
  1. 10 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
  4. 10 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:
  14. url("../../fonts/metropolis/Metropolis-Regular.woff2") format("woff2"),
  15. url("../../fonts/metropolis/Metropolis-Regular.woff") format("woff");
  16. font-weight: normal;
  17. font-style: normal;
  18. font-display: swap;
  19. }
  20. @font-face {
  21. font-family: metropolis;
  22. src:
  23. url("../../fonts/metropolis/Metropolis-Bold.woff2") format("woff2"),
  24. url("../../fonts/metropolis/Metropolis-Bold.woff") format("woff");
  25. font-weight: 700;
  26. font-style: normal;
  27. font-display: swap;
  28. }
  29. @font-face {
  30. font-family: metropolis;
  31. src:
  32. url("../../fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2"),
  33. url("../../fonts/metropolis/Metropolis-SemiBold.woff") format("woff");
  34. font-weight: 600;
  35. font-style: normal;
  36. font-display: swap;
  37. }
  38. /* lora-regular - latin */
  39. @font-face {
  40. font-family: Lora;
  41. src:
  42. local("Lora Regular"),
  43. local("Lora-Regular"),
  44. url("../../fonts/lora/lora-v14-latin-regular.woff2") format("woff2"),
  45. url("../../fonts/lora/lora-v14-latin-regular.woff") format("woff");
  46. font-weight: 400;
  47. font-style: normal;
  48. font-display: swap;
  49. }
  50. /* lora-italic - latin */
  51. @font-face {
  52. font-family: Lora;
  53. src:
  54. local("Lora Italic"),
  55. local("Lora-Italic"),
  56. url("../../fonts/lora/lora-v14-latin-italic.woff2") format("woff2"),
  57. url("../../fonts/lora/lora-v14-latin-italic.woff") format("woff");
  58. font-weight: 400;
  59. font-style: italic;
  60. font-display: swap;
  61. }
  62. /* lora-700 - latin */
  63. @font-face {
  64. font-family: Lora;
  65. src:
  66. local("Lora Bold"),
  67. local("Lora-Bold"),
  68. url("../../fonts/lora/lora-v14-latin-700.woff2") format("woff2"),
  69. url("../../fonts/lora/lora-v14-latin-700.woff") format("woff");
  70. font-weight: 700;
  71. font-style: normal;
  72. font-display: swap;
  73. }

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