Sfoglia il codice sorgente

Change font import

theenglishway (time) 2 anni fa
parent
commit
d3dcb1fbb9
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      lib/templates/cv.html.heex

+ 3 - 2
lib/templates/cv.html.heex

@@ -5,6 +5,9 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Document</title>
+    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans" />
+    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300" />
+
     <link
       rel="stylesheet"
       href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
@@ -13,8 +16,6 @@
       referrerpolicy="no-referrer"
     />
     <style>
-      @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800);
-
       <%= Layout.resets() |> Phoenix.HTML.raw() %>
       <%= Layout.page_css() |> Phoenix.HTML.raw() %>