diff options
author | Matthew Taylor <matthew.taylor@cloudreach.com> | 2018-02-19 14:10:41 +0300 |
---|---|---|
committer | Matthew Taylor <matthew.taylor@cloudreach.com> | 2018-02-19 19:33:30 +0300 |
commit | cca7fdeeb0b1bd24391790490932eb2012865a95 (patch) | |
tree | 78993563edb3e0a87f392b260131effa17874a01 /static | |
parent | ddb8d4c5aad81b2babc6f8829f47e15d15417191 (diff) |
Modify fontawesome selectors for v5.x
Diffstat (limited to 'static')
-rw-r--r-- | static/css/theme.css | 5 | ||||
-rw-r--r-- | static/js/hugo-learn.js | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/static/css/theme.css b/static/css/theme.css index d449cd9..e443e71 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -492,8 +492,9 @@ div.notices p:first-child:before { position: absolute; top: 2px; color: #fff; - font-family: FontAwesome; - content: ''; + font-family: "Font Awesome 5 Free"; + font-weight: 900; + content: "\f06a"; left: 10px; } div.notices p:first-child:after { diff --git a/static/js/hugo-learn.js b/static/js/hugo-learn.js index 213e31e..6faf8d7 100644 --- a/static/js/hugo-learn.js +++ b/static/js/hugo-learn.js @@ -71,7 +71,7 @@ jQuery(document).ready(function() { var url = document.location.origin + document.location.pathname; var link = url + "#"+element[0].id; return " <span class='anchor' data-clipboard-text='"+link+"'>" + - "<i class='fa fa-link fa-lg'></i>" + + "<i class='fas fa-link fa-lg'></i>" + "</span>" ; }); |