Change fixed width font to Roboto Mono

This commit is contained in:
Huy Tran 2018-03-31 15:48:32 +11:00
parent 14a369751b
commit 5debbbb2e1
3 changed files with 4 additions and 4 deletions

View file

@ -14,10 +14,10 @@
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}" property="og:title">
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Site.Params.meta.description }}{{ if eq $isHomePage false }} - {{ .Description }}{{ end }}" property="og:description">
{{ "<!-- CSS -->" | safeHTML }}
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i,700,700i" rel="stylesheet">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i,500">
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" /> -->
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script>
{{ if .Site.Params.highlightjs -}}

View file

@ -53,7 +53,7 @@ pre
pre,
code
{
font-family: monospace;
font-family: 'Roboto Mono', monospace;
border-radius: 4px;
width: 100%;
font-size: .9em;

View file

@ -32,8 +32,8 @@
*/
html {
font-family: "Fira Sans", sans-serif;
font-weight:300;
font-family: 'Fira Sans', 'Helvetica Neue', 'Arial', sans-serif;
font-weight:300;
}
@media (min-width: 48em) {