mirror of
https://github.com/jimeh/jimeh.github.io.git
synced 2026-02-19 09:06:40 +00:00
feat(css): upgrade fontawsome to v6, and self-host it
This commit is contained in:
16
_config.yml
16
_config.yml
@@ -32,32 +32,32 @@ email:
|
||||
links:
|
||||
- name: github
|
||||
url: https://github.com/jimeh
|
||||
class: fab fa-github
|
||||
class: fa-brands fa-github
|
||||
- name: twitter
|
||||
url: https://twitter.com/jimeh
|
||||
class: fab fa-twitter
|
||||
class: fa-brands fa-twitter
|
||||
- name: blog
|
||||
url: https://jimeh.io/
|
||||
class: far fa-newspaper
|
||||
class: fa-solid fa-newspaper
|
||||
- name: linkedin
|
||||
url: https://www.linkedin.com/in/jimeh
|
||||
class: fab fa-linkedin-in
|
||||
class: fa-brands fa-linkedin
|
||||
- name: last.fm
|
||||
url: https://www.last.fm/user/jimeh
|
||||
class: fab fa-lastfm
|
||||
class: fa-brands fa-square-lastfm
|
||||
- name: flickr
|
||||
url: https://flickr.com/photos/jimeh
|
||||
class: fab fa-flickr
|
||||
class: fa-brands fa-flickr
|
||||
- name: vcard
|
||||
id: vcard
|
||||
type: download
|
||||
url: https://assets.jimeh.me/jim-myhrberg.vcf
|
||||
class: far fa-address-card
|
||||
class: fa-solid fa-address-card
|
||||
- name: cv (pdf)
|
||||
id: resume
|
||||
type: download
|
||||
url: https://jimeh.me/cv
|
||||
class: fas fa-file-alt
|
||||
class: fa-solid fa-file-pdf
|
||||
|
||||
# additional stuff
|
||||
exclude:
|
||||
|
||||
@@ -9,9 +9,12 @@
|
||||
{% seo title=false %}
|
||||
<link rel="shortcut icon" href="/favicon.ico?{{ site.time | date: '%s%N' }}" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png?{{ site.time | date: '%s%N' }}" />
|
||||
<link href='//fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300|Open+Sans:400italic,700italic,400,700' rel='stylesheet' type='text/css'>
|
||||
<script src="https://kit.fontawesome.com/dc60666aeb.js" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}">
|
||||
<link href='//fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300|Open+Sans:400italic,700italic,400,700'
|
||||
rel='stylesheet' type='text/css'>
|
||||
<link href="/fa/css/fontawesome.min.css" rel="stylesheet">
|
||||
<link href="/fa/css/brands.min.css" rel="stylesheet">
|
||||
<link href="/fa/css/solid.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ " /css/main.css" | prepend: site.baseurl }}?{{ site.time | date: '%s%N' }}">
|
||||
</head>
|
||||
<body>
|
||||
{{ content }}
|
||||
|
||||
6
fa/css/brands.min.css
vendored
Normal file
6
fa/css/brands.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
fa/css/fontawesome.min.css
vendored
Normal file
6
fa/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
fa/css/solid.min.css
vendored
Normal file
6
fa/css/solid.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Font Awesome Free 6.2.0 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 2022 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}
|
||||
BIN
fa/webfonts/fa-brands-400.ttf
Normal file
BIN
fa/webfonts/fa-brands-400.ttf
Normal file
Binary file not shown.
BIN
fa/webfonts/fa-brands-400.woff2
Normal file
BIN
fa/webfonts/fa-brands-400.woff2
Normal file
Binary file not shown.
BIN
fa/webfonts/fa-regular-400.ttf
Normal file
BIN
fa/webfonts/fa-regular-400.ttf
Normal file
Binary file not shown.
BIN
fa/webfonts/fa-regular-400.woff2
Normal file
BIN
fa/webfonts/fa-regular-400.woff2
Normal file
Binary file not shown.
BIN
fa/webfonts/fa-solid-900.ttf
Normal file
BIN
fa/webfonts/fa-solid-900.ttf
Normal file
Binary file not shown.
BIN
fa/webfonts/fa-solid-900.woff2
Normal file
BIN
fa/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
@@ -12,7 +12,7 @@ layout: default
|
||||
</span>
|
||||
<div class="site-links">
|
||||
<script type="text/javascript">
|
||||
document.write("<n uers=\"{{ site.email.href }}\" bapyvpx=\"_tnd\056chfu(['_genpxRirag', 'yvaxGb', 'rznvy', guvf\056uers]);\"><v pynff=\"sn sn-rairybcr\"><\057v><fcna pynff=\"yvax-grkg\">{{ site.email.title }}<\057fcna><\057n>".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));
|
||||
document.write("<n uers=\"{{ site.email.href }}\" bapyvpx=\"_tnd\056chfu(['_genpxRirag', 'yvaxGb', 'rznvy', guvf\056uers]);\"><v pynff=\"sn-fbyvq sn-rairybcr\"><\057v><fcna pynff=\"yvax-grkg\">{{ site.email.title }}<\057fcna><\057n>".replace(/[a-zA-Z]/g, function (c) { return String.fromCharCode((c <= "Z" ? 90 : 122) >= (c = c.charCodeAt(0) + 13) ? c : c - 26); }));
|
||||
</script>
|
||||
{% for item in site.links %}
|
||||
<a href="{{ item.url }}"><i class="{{ item.class }}"></i><span class="link-text">{{ item.name }}</span></a>{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user