Skip to content

Commit

Permalink
Merge pull request #516 from grycap/devel
Browse files Browse the repository at this point in the history
Use local fontawsome
  • Loading branch information
micafer authored Mar 11, 2024
2 parents 7a9fb1b + 12b040d commit 56ed29f
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/static/css/brands.min.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions app/static/css/fontawesome.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions app/static/css/regular.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*!
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2023 Fonticons, Inc.
*/
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-weight:400}
6 changes: 6 additions & 0 deletions app/static/css/solid.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*!
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2023 Fonticons, Inc.
*/
:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}
Binary file added app/static/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file added app/static/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added app/static/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file added app/static/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file added app/static/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file added app/static/webfonts/fa-solid-900.woff2
Binary file not shown.
7 changes: 6 additions & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@
<link rel="manifest" href="{{ url_for('static', filename='images/favicon_io/site.webmanifest') }}">
<!-- BS5-->
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
<!-- FontAwesome-->
<!-- FontAwesome
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.4.0/css/all.css"
integrity="sha384-iw3OoTErCYJJB9mCa8LNS2hbsQ7M3C0EpIsO/H5+EGAkPGc6rk+V8i04oW/K5xq0" crossorigin="anonymous">
-->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/fontawesome.min.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/regular.min.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/brands.min.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/solid.min.css') }}" />
<!-- Cookie Consent -->
<script src="{{ url_for('static', filename='js/cookieconsent-4.0.1.min.js') }}"></script>
{% if home is not defined %}
Expand Down

0 comments on commit 56ed29f

Please sign in to comment.