Change font

This commit is contained in:
Oliver Davies 2019-01-04 19:50:45 +00:00
parent a2d7a5bad0
commit 79632b4052
5 changed files with 6 additions and 11 deletions

View file

@ -7,7 +7,7 @@ a
b, b,
strong strong
@apply font-semibold @apply font-bold
main a main a
@apply underline @apply underline
@ -20,7 +20,7 @@ main a
@apply text-white bg-blue outline-none px-px -mx-px @apply text-white bg-blue outline-none px-px -mx-px
h1, h2, h3 h1, h2, h3
@apply text-black mb-2 font-semibold @apply text-black mb-2 font-bold
.content h2, .content h2,
.content h3 .content h3

View file

@ -14,7 +14,7 @@
p, p,
li li
code code
@apply inline-block px-1 py-1 border border-grey-light font-semibold @apply inline-block px-1 py-1 border border-grey-light font-bold
p:last-child p:last-child
@apply mb-0 @apply mb-0

View file

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html class="no-js text-base md:text-lg" lang="en-GB"> <html class="no-js text-sm md:text-base" lang="en-GB">
<head> <head>
<title>{% if page.title is defined and page.url != '//' %}{{ page.title }} | {% endif %}{{ site.title }} - {{ site.subtitle }}</title> <title>{% if page.title is defined and page.url != '//' %}{{ page.title }} | {% endif %}{{ site.title }} - {{ site.subtitle }}</title>
{% include 'meta' %} {% include 'meta' %}
@ -15,8 +15,6 @@
{% for size in site.favicon_sizes %} {% for size in site.favicon_sizes %}
<link rel="icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}"> <link rel="icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %} {% endfor %}
<link href="https://fonts.googleapis.com/css?family=Barlow:400,600,700" rel="stylesheet">
</head> </head>
<body class="font-sans text-black leading-normal"> <body class="font-sans text-black leading-normal">
<div id="app" v-cloak> <div id="app" v-cloak>

View file

@ -1,5 +1,5 @@
<div class="flex mb-3"> <div class="flex mb-3">
<div class="w-16 mr-3 flex-none"> <div class="w-16 mr-2 flex-none">
<div class="flex flex-col items-center"> <div class="flex flex-col items-center">
<img src="/images/badges/{{ image.filename }}" alt="{{ image.alt }}" /> <img src="/images/badges/{{ image.filename }}" alt="{{ image.alt }}" />
</div> </div>

View file

@ -36,7 +36,6 @@ module.exports = {
fonts: { fonts: {
'sans': [ 'sans': [
'Barlow',
'-apple-system', '-apple-system',
'BlinkMacSystemFont', 'BlinkMacSystemFont',
'Segoe UI', 'Segoe UI',
@ -85,11 +84,9 @@ module.exports = {
}, },
fontWeights: { fontWeights: {
'light': 300,
'normal': 400, 'normal': 400,
'medium': 500, 'medium': 500,
'semibold': 600, 'bold': 700,
'bold': 600,
}, },
leading: { leading: {