diff options
| author | Ariel Costas <94913521+arielcostas@users.noreply.github.com> | 2024-01-28 11:25:29 +0100 |
|---|---|---|
| committer | Ariel Costas <94913521+arielcostas@users.noreply.github.com> | 2024-01-28 11:25:29 +0100 |
| commit | 7ba087bce2fa4c5e04062451699378bfbf47c138 (patch) | |
| tree | e967a7b10f70f5f078384b6012c0d6f4f94ee935 | |
| parent | 0a5e42c64a0657fdd52a3714996a079ff20fe3d3 (diff) | |
Replace TTF fonts by WOFF2
| -rw-r--r-- | assets/css/fonts.scss | 12 | ||||
| -rw-r--r-- | assets/css/partials/footer.scss | 1 | ||||
| -rw-r--r-- | hugo.yaml | 1 | ||||
| -rw-r--r-- | static/fonts/aleo.ttf | bin | 146636 -> 0 bytes | |||
| -rw-r--r-- | static/fonts/aleo.woff2 | bin | 0 -> 62932 bytes | |||
| -rw-r--r-- | static/fonts/rubik.ttf | bin | 356080 -> 0 bytes | |||
| -rw-r--r-- | static/fonts/rubik.woff2 | bin | 0 -> 110796 bytes |
7 files changed, 3 insertions, 11 deletions
diff --git a/assets/css/fonts.scss b/assets/css/fonts.scss index a07f8f7..19511ef 100644 --- a/assets/css/fonts.scss +++ b/assets/css/fonts.scss @@ -3,15 +3,7 @@ font-style: normal; font-weight: 100 900; font-display: swap; - src: url('/fonts/aleo.ttf') format('truetype-variations'); -} - -@font-face { - font-family: 'Aleo'; - font-style: italic; - font-weight: 100 900; - font-display: swap; - src: url('/fonts/aleo-italic.ttf') format('truetype-variations'); + src: url('/fonts/aleo.woff2') format('woff2-variations'); } @font-face { @@ -19,5 +11,5 @@ font-style: normal; font-weight: 100 900; font-display: swap; - src: url('/fonts/rubik.ttf') format('truetype-variations'); + src: url('/fonts/rubik.woff2') format('woff2-variations'); }
\ No newline at end of file diff --git a/assets/css/partials/footer.scss b/assets/css/partials/footer.scss index 60ad7a6..9c6ccc1 100644 --- a/assets/css/partials/footer.scss +++ b/assets/css/partials/footer.scss @@ -5,7 +5,6 @@ footer { padding: 0.5rem 1rem; - a { color: var(--accent-7); } @@ -1,5 +1,6 @@ baseURL: https://www.costas.dev/ languageCode: es-ES +defaultContentLanguage: es title: Ariel Costas outputs: diff --git a/static/fonts/aleo.ttf b/static/fonts/aleo.ttf Binary files differdeleted file mode 100644 index c2e699f..0000000 --- a/static/fonts/aleo.ttf +++ /dev/null diff --git a/static/fonts/aleo.woff2 b/static/fonts/aleo.woff2 Binary files differnew file mode 100644 index 0000000..fe02907 --- /dev/null +++ b/static/fonts/aleo.woff2 diff --git a/static/fonts/rubik.ttf b/static/fonts/rubik.ttf Binary files differdeleted file mode 100644 index bbab349..0000000 --- a/static/fonts/rubik.ttf +++ /dev/null diff --git a/static/fonts/rubik.woff2 b/static/fonts/rubik.woff2 Binary files differnew file mode 100644 index 0000000..759c55f --- /dev/null +++ b/static/fonts/rubik.woff2 |
