revises code fonts and styles
This commit is contained in:
parent
5debbbb2e1
commit
82ce92d9c4
3 changed files with 12 additions and 15 deletions
|
@ -14,7 +14,7 @@
|
||||||
<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=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i,700,700i" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono: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">
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{.}}.min.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{.}}.min.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
hljs.configure({languages: []});
|
||||||
hljs.initHighlightingOnLoad();
|
hljs.initHighlightingOnLoad();
|
||||||
</script>
|
</script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -32,7 +32,7 @@ body
|
||||||
|
|
||||||
.meta
|
.meta
|
||||||
{
|
{
|
||||||
font-size: .8rem !important;
|
font-size: .8rem;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,28 +50,24 @@ pre
|
||||||
overflow-x: auto; /* no line wrapping */
|
overflow-x: auto; /* no line wrapping */
|
||||||
}
|
}
|
||||||
|
|
||||||
pre,
|
pre code, li code, td code, code
|
||||||
code
|
|
||||||
{
|
{
|
||||||
font-family: 'Roboto Mono', monospace;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
width: 100%;
|
white-space: pre-wrap;
|
||||||
font-size: .9em;
|
padding:1px 4px;
|
||||||
|
background: #eee;
|
||||||
|
/* color: #444; */
|
||||||
|
border: 1px solid #d9d9d9;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
padding:.20em .2em .10em;
|
font-family: 'Roboto Mono', monospace;
|
||||||
background: #272932!important;
|
font-size: 90%;
|
||||||
color: #ececec!important;
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin: 0 .25em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.copyright,
|
.copyright,
|
||||||
.poweredby
|
.poweredby
|
||||||
{
|
{
|
||||||
font-size: 13px !important;
|
font-size: 13px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue