Removed external fonts

* Added andada font server from the site
* Removed fork-awesome (not in use anymore)
* Some UI fixes to adapt small text to the new font
This commit is contained in:
Felipe Martin 2020-01-19 22:53:16 +01:00
parent 19827c81d1
commit 876b7074d2
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
12 changed files with 30 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

27
static/sass/_fonts.sass Normal file
View File

@ -0,0 +1,27 @@
@font-face
font-family: 'andada'
src: url('../fonts/andada-regular-webfont.woff2') format('woff2')
src: url('../fonts/andada-regular-webfont.woff') format('woff')
font-weight: normal
font-style: normal
@font-face
font-family: 'andada'
src: url('../fonts/andada-bold-webfont.woff2') format('woff2')
src: url('../fonts/andada-bold-webfont.woff') format('woff')
font-weight: bold
font-style: normal
@font-face
font-family: 'andada'
src: url('../fonts/andada-bolditalic-webfont.woff2') format('woff2')
src: url('../fonts/andada-bolditalic-webfont.woff') format('woff')
font-weight: bold
font-style: italic
@font-face
font-family: 'andada'
src: url('../fonts/andada-italic-webfont.woff2') format('woff2')
src: url('../fonts/andada-italic-webfont.woff') format('woff')
font-weight: normal
font-style: italic

View File

@ -2,10 +2,10 @@ $highlight-color: #c24e4a
$lightgray: #f6f6f6
$darkgray: #e9e9e9
$font-family: "Antic Slab"
$font-family: "andada"
$font-size-base: 1.2em
$font-size-small: 0.8em
$font-size-small: 0.75em
$font-size-normal: 1.3em
$font-size-enormous: 5em

View File

@ -1,5 +1,6 @@
@import ./variables
@import ./mediaqueries
@import ./fonts
@import ./mixins
@import ./grid
@import ./layout

View File

@ -3,9 +3,7 @@
<head>
<meta charset="UTF-8">
<title>{% block page_title %}Felipe Martin{% endblock %}</title>
<link href='https://fonts.googleapis.com/css?family=Antic+Slab' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ '/static/css/style.css'|asseturl }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.0.11/css/fork-awesome.min.css" integrity="sha256-MGU/JUq/40CFrfxjXb5pZjpoZmxiP2KuICN5ElLFNd8=" crossorigin="anonymous">
<link rel="stylesheet" href="{{ get_pygments_stylesheet()|url }}">
<link rel="alternate" type="application/rss+xml" title="RSS Feed for fmartingr.com" href="/feed.xml" />
<link rel="icon" href="/static/images/favicon.ico">