modules/QSL/AMP/templates/web/customer/modules/QSL/AMP/header/parts/style_amp_custom.twig line 1

Open in your IDE?
  1. {##
  2.  # Head list children
  3.  #
  4.  # @ListChild (list="amp.head", weight="1100")
  5.  #}
  6. <style amp-custom>
  7.   /* open-sans-regular - latin */
  8.   @font-face {
  9.     font-family: 'Open Sans';
  10.     font-style: normal;
  11.     font-weight: 400;
  12.     font-display: swap;
  13.     src: local(''),
  14.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-regular.woff2') }}) format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  15.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-regular.woff') }}) format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  16.   }
  17.   /* open-sans-italic - latin */
  18.   @font-face {
  19.     font-family: 'Open Sans';
  20.     font-style: italic;
  21.     font-weight: 400;
  22.     font-display: swap;
  23.     src: local(''),
  24.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-italic.woff2') }}) format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  25.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-italic.woff') }}) format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  26.   }
  27.   /* open-sans-600 - latin */
  28.   @font-face {
  29.     font-family: 'Open Sans';
  30.     font-style: normal;
  31.     font-weight: 600;
  32.     font-display: swap;
  33.     src: local(''),
  34.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-600.woff2') }}) format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  35.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-600.woff') }}) format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  36.   }
  37.   /* open-sans-700 - latin */
  38.   @font-face {
  39.     font-family: 'Open Sans';
  40.     font-style: normal;
  41.     font-weight: 700;
  42.     font-display: swap;
  43.     src: local(''),
  44.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-700.woff2') }}) format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  45.     xurl({{ this.getAbsoluteURL('/assets/web/common/fonts/open_sans/open-sans-v27-latin-700.woff') }}) format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  46.   }
  47. {% for file in this.getAMPCSSResources() %}
  48. {{ this.getAMPStyle(file)|raw }}
  49. {% endfor %}
  50. </style>