mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +02:00
Change title font from Nexa Bold to Poppins Semi-Bold
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
> v1.4.1
|
||||
|
||||
- Change title font from Nexa Bold to Poppins Bold
|
||||
|
||||
> v1.4.0
|
||||
|
||||
- Add PR #48 : Fix the default archetype
|
||||
|
@@ -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:
|
||||
|
||||
* *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
|
||||
* *Merriweather* for the text, an awesome sans serif font to read without difficulties
|
||||
* *Ubuntu Mono* for the code
|
||||
|
@@ -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,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
@@ -167,7 +162,7 @@ div.header .container .logo {
|
||||
div.header .name {
|
||||
padding-top: 20px;
|
||||
font-size: 28px;
|
||||
font-family: 'Nexa Bold', 'Helvetica Neue', 'Arial', sans-serif;
|
||||
font-family: 'Poppins', 'Helvetica Neue', 'Arial', sans-serif;
|
||||
letter-spacing: -0.005rem;
|
||||
{{ if isset .Site.Params "titlestyle" }}
|
||||
{{ if in "capitalize uppercase lowercase none full-width" .Site.Params.titlestyle }}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<script>
|
||||
WebFont.load({
|
||||
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>
|
||||
|
@@ -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=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/css2?family=Poppins:600" rel="stylesheet">
|
||||
</noscript>
|
||||
|
||||
{{ if .Site.Params.highlightjs }}
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user