Use with in head.html and add code block section to CSS

This commit is contained in:
BBaoVanC 2021-10-10 19:36:47 -05:00
parent ddbcaa6d56
commit 9ff5314bc0
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 10 additions and 6 deletions

View File

@ -118,6 +118,13 @@ hr {
border-color: #444; border-color: #444;
} }
* {
box-sizing: border-box;
}
/* Code blocks */
pre { pre {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
@ -130,10 +137,6 @@ pre {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
* {
box-sizing: border-box;
}
/* Icons */ /* Icons */

View File

@ -3,8 +3,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
{{ hugo.Generator }} {{ hugo.Generator }}
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }} {{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}"> <link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
{{ end }}
{{ with .Site.Params.faviconICO }} {{ with .Site.Params.faviconICO }}
<link rel="icon" type="image/x-icon" href="{{.}}" /> <link rel="icon" type="image/x-icon" href="{{.}}" />