Revises minor points; renames custome.css to hyde-hyde.css

This commit is contained in:
Huy Tran 2018-07-04 21:17:47 +10:00
parent 6ea2787b11
commit 76cb6c2dee
3 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}" class="wf-firasans-n4-active wf-active"> <html lang="{{ .Site.LanguageCode }}">
<head> <head>
{{ block "header" . -}}{{- end }} {{ block "header" . -}}{{- end }}
</head> </head>

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 }}{{ .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"> <meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Site.Params.meta.description }}{{ if eq $isHomePage false }} - {{ .Description }}{{ end }}" property="og:description">
{{ "<!-- CSS -->" | safeHTML }} {{ "<!-- CSS -->" | safeHTML }}
<link href="https://fonts.googleapis.com/css?family=Noto+Serif:300,300i,400,400i,700,700i|Source+Code+Pro:300,300i,400,400i" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i,700,700i|Source+Code+Pro:300,300i,400,400i" rel="stylesheet">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print"> <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/poole.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/hyde.css">
{{ "<!-- Font-Awesome -->" | safeHTML }} {{ "<!-- Font-Awesome -->" | safeHTML }}
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script> <script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script>
{{ if .Site.Params.highlightjs -}} {{ if .Site.Params.highlightjs -}}
@ -26,10 +26,10 @@
{{- end }} {{- end }}
{{ if .Site.Params.PygmentsUseClasses -}} {{ if .Site.Params.PygmentsUseClasses -}}
{{ "<!-- Pygments Syntax -->" | safeHTML }} {{ "<!-- Pygments Syntax -->" | safeHTML }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/syntax.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.css">
{{- end }} {{- end }}
{{- "<!-- Customised CSS -->" | safeHTML }} {{- "<!-- Customised CSS -->" | safeHTML }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/custom.css"> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/hyde-hyde.css">
{{ `<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> {{ `<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>

View file

@ -1,8 +1,8 @@
html, html,
body body
{ {
font-family: 'Noto Serif', serif; font-family: 'Fira Sans', sans-serif;
font-size: 18px; font-size: 17px;
font-weight: 300; font-weight: 300;
line-height: 1.66em; line-height: 1.66em;
} }