Change title font from Nexa Bold to Poppins Semi-Bold

This commit is contained in:
2025-02-13 23:25:57 +01:00
parent 038d6623a0
commit b6e73d2ead
6 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,9 @@
# Changelog # Changelog
> v1.4.1
- Change title font from Nexa Bold to Poppins Bold
> v1.4.0 > v1.4.0
- Add PR #48 : Fix the default archetype - Add PR #48 : Fix the default archetype

View File

@@ -32,7 +32,7 @@ A demo is available [here](https://themes.gohugo.io/theme/cocoa-eh-hugo-theme/).
The **typography** is what makes Cocoa-EH look cool. The fonts used are: The **typography** is what makes Cocoa-EH look cool. The fonts used are:
* *Nexa Bold* for the blog name, a strong and opinionated font * *Poppins Bold* for the blog name, a strong and opinionated font
* *Raleway* for the titles, light but clearly visible * *Raleway* for the titles, light but clearly visible
* *Merriweather* for the text, an awesome sans serif font to read without difficulties * *Merriweather* for the text, an awesome sans serif font to read without difficulties
* *Ubuntu Mono* for the code * *Ubuntu Mono* for the code

View File

@@ -1,8 +1,3 @@
@font-face {
font-family: 'Nexa Bold';
src: url('{{ .Site.BaseURL }}fonts/Nexa Bold.otf');
}
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, a, abbr, acronym, address, big, cite, code,
@@ -167,7 +162,7 @@ div.header .container .logo {
div.header .name { div.header .name {
padding-top: 20px; padding-top: 20px;
font-size: 28px; font-size: 28px;
font-family: 'Nexa Bold', 'Helvetica Neue', 'Arial', sans-serif; font-family: 'Poppins', 'Helvetica Neue', 'Arial', sans-serif;
letter-spacing: -0.005rem; letter-spacing: -0.005rem;
{{ if isset .Site.Params "titlestyle" }} {{ if isset .Site.Params "titlestyle" }}
{{ if in "capitalize uppercase lowercase none full-width" .Site.Params.titlestyle }} {{ if in "capitalize uppercase lowercase none full-width" .Site.Params.titlestyle }}

View File

@@ -3,7 +3,7 @@
<script> <script>
WebFont.load({ WebFont.load({
google: { google: {
families: ['Raleway:400,600,700', 'Merriweather:300,300i,700,700i', 'Ubuntu+Mono:400,700'] families: ['Raleway:400,600,700', 'Merriweather:300,300i,700,700i', 'Ubuntu+Mono:400,700', 'Poppins:600']
} }
}); });
</script> </script>

View File

@@ -14,6 +14,7 @@
<link href="https://fonts.googleapis.com/css?family=Raleway:400,600,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Raleway:400,600,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,700,700i" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,700,700i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins:600" rel="stylesheet">
</noscript> </noscript>
{{ if .Site.Params.highlightjs }} {{ if .Site.Params.highlightjs }}

Binary file not shown.