mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
滚回到之前的更改
This commit is contained in:
parent
bdb9e7fc00
commit
ae1436be30
@ -43,10 +43,15 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
|
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
|
||||||
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
||||||
|
|
||||||
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
|
--base-font-family: "Roboto", "Noto Serif SC", "PingFang SC", "Microsoft Yahei UI", "Microsoft Yahei", var(--sys-font-family), var(--zh-font-family), sans-serif, "Font Awesome 6 Pro";
|
||||||
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
|
--code-font-family: var(--base-font-family), monospace;
|
||||||
|
}
|
||||||
|
@font-face
|
||||||
|
{
|
||||||
|
font-family: 'Font Awesome 6 Pro';
|
||||||
|
src: url('https://font.onmicrosoft.cn/font6pro@6.2.0/webfonts/fa-solid-900.woff2');
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Card style
|
* Card style
|
||||||
*/
|
*/
|
||||||
|
@ -1,36 +1,36 @@
|
|||||||
Vibrant:
|
Vibrant:
|
||||||
- src: https://cdn.jsdelivr.net/npm/node-vibrant@3.1.6/dist/vibrant.min.js
|
- src: https://jsd.onmicrosoft.cn/npm/node-vibrant@3.1.6/dist/vibrant.min.js
|
||||||
integrity: sha256-awcR2jno4kI5X0zL8ex0vi2z+KMkF24hUW8WePSA9HM=
|
integrity: sha256-awcR2jno4kI5X0zL8ex0vi2z+KMkF24hUW8WePSA9HM=
|
||||||
type: script
|
type: script
|
||||||
|
|
||||||
PhotoSwipe:
|
PhotoSwipe:
|
||||||
- src: https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js
|
- src: https://jsd.onmicrosoft.cn/npm/photoswipe@4.1.3/dist/photoswipe.min.js
|
||||||
integrity: sha256-ePwmChbbvXbsO02lbM3HoHbSHTHFAeChekF1xKJdleo=
|
integrity: sha256-ePwmChbbvXbsO02lbM3HoHbSHTHFAeChekF1xKJdleo=
|
||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js
|
- src: https://jsd.onmicrosoft.cn/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js
|
||||||
integrity: sha256-UKkzOn/w1mBxRmLLGrSeyB4e1xbrp4xylgAWb3M42pU=
|
integrity: sha256-UKkzOn/w1mBxRmLLGrSeyB4e1xbrp4xylgAWb3M42pU=
|
||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css
|
- src: https://jsd.onmicrosoft.cn/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css
|
||||||
type: style
|
type: style
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css
|
- src: https://jsd.onmicrosoft.cn/npm/photoswipe@4.1.3/dist/photoswipe.min.css
|
||||||
type: style
|
type: style
|
||||||
|
|
||||||
KaTeX:
|
KaTeX:
|
||||||
- src: https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.css
|
- src: https://jsd.onmicrosoft.cn/npm/katex@0.15.6/dist/katex.min.css
|
||||||
integrity: sha256-J+iAE0sgH8QSz9hpcDxXIftnj65JEZgNhGcgReTTK9s=
|
integrity: sha256-J+iAE0sgH8QSz9hpcDxXIftnj65JEZgNhGcgReTTK9s=
|
||||||
type: style
|
type: style
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.js
|
- src: https://jsd.onmicrosoft.cn/npm/katex@0.15.6/dist/katex.min.js
|
||||||
integrity: sha256-InsNdER1b2xUewP+pKCUJpkhiqwHgqiPXDlIk7GzBu4=
|
integrity: sha256-InsNdER1b2xUewP+pKCUJpkhiqwHgqiPXDlIk7GzBu4=
|
||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
|
||||||
- src: https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/contrib/auto-render.min.js
|
- src: https://jsd.onmicrosoft.cn/npm/katex@0.15.6/dist/contrib/auto-render.min.js
|
||||||
integrity: sha256-y39Mpg7V3D4lhBX4x6O0bUqTV4pSrfgwEfGKfxkOdgI=
|
integrity: sha256-y39Mpg7V3D4lhBX4x6O0bUqTV4pSrfgwEfGKfxkOdgI=
|
||||||
type: script
|
type: script
|
||||||
defer: true
|
defer: true
|
||||||
|
2
go.mod
2
go.mod
@ -1,3 +1,3 @@
|
|||||||
module github.com/CaiJimmy/hugo-theme-stack/v3
|
module github.com/MCSeekeri/hugo-theme-stack
|
||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
(function () {
|
(function () {
|
||||||
const customFont = document.createElement('link');
|
const customFont = document.createElement('link');
|
||||||
customFont.href = "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap";
|
customFont.href = "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;900&family=Roboto:wght@300;900&display=swap";
|
||||||
|
|
||||||
customFont.type = "text/css";
|
customFont.type = "text/css";
|
||||||
customFont.rel = "stylesheet";
|
customFont.rel = "stylesheet";
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
<title>{{ $title }}</title>
|
<title>{{ $title }}</title>
|
||||||
|
|
||||||
<link rel='canonical' href='{{ .Permalink }}'>
|
<link rel='canonical' href='{{ .Permalink }}'>
|
||||||
|
<link rel="preconnect" href="https://unpkg.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link rel="preconnect" href="https://jsd.onmicrosoft.cn">
|
||||||
{{- partial "head/style.html" . -}}
|
{{- partial "head/style.html" . -}}
|
||||||
{{- partial "head/script.html" . -}}
|
{{- partial "head/script.html" . -}}
|
||||||
{{- partial "head/opengraph/include.html" . -}}
|
{{- partial "head/opengraph/include.html" . -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user