Compare commits

...
9 Commits
Author SHA1 Message Date
Jimmy Cai bdb9e7fc00 release: 3.21.0 2023-10-11 20:53:09 +00:00
潇潇雨歇andGitHub 5c98a38a80 chore(comments): update twikoo to 1.6.21 (#877) 2023-10-07 13:08:02 +02:00
Fabian AlvarezandGitHub bda734fb23 i18n(es): minor grammatical changes (#873)
* Update es.yaml

Minus grammatically corrections

* Update es.yaml

Fix grammar mistakes
2023-09-18 23:24:52 +02:00
Jimmy Cai 70bcf9cbe0 doc: added a note that exampleSite should not be used as a starter template 2023-09-07 21:30:32 +02:00
Jimmy Cai 6f1d676948 release: 3.20.0 2023-09-03 16:17:25 +02:00
d84d0a8522 fix(menu): consistent svg coloring in menu (#837)
* Consistent svg coloring in menu

* fix: use `currentColor` to avoid breaking style of active element

---------

Co-authored-by: Jimmy Cai <[email protected]>
2023-09-03 16:15:51 +02:00
418d5677b1 feat(i18n): add readtime translation in Dutch (#801)
* Update nl.yaml

Added readtime translation in Dutch

* style(i18n/nl): remove duplicated translation

---------

Co-authored-by: Jimmy Cai <[email protected]>
2023-09-03 16:10:23 +02:00
Jacob ZhongandGitHub be4fd55095 feat(article): font enhancement (#767)
Change font settings
2023-09-03 15:32:44 +02:00
SimbaFsandGitHub d3682b3567 fix(article): margin collapsing in code block (firefox) (#833)
fix margin collasping in codeblock
2023-09-03 13:03:17 +02:00
10 changed files with 20 additions and 10 deletions
+1
View File
@@ -54,6 +54,7 @@
} }
.article-title { .article-title {
font-family: var(--article-font-family);
font-weight: 600; font-weight: 600;
margin: 0; margin: 0;
color: var(--card-text-color-main); color: var(--card-text-color-main);
@@ -55,6 +55,7 @@
margin-right: 0.4em; margin-right: 0.4em;
padding: 0 0.4em 0 0.4em; padding: 0 0.4em 0 0.4em;
color: #7f7f7f; color: #7f7f7f;
display: block;
} }
/* LineNumbers */ /* LineNumbers */
+4
View File
@@ -33,6 +33,10 @@
margin: var(--card-padding) 0; margin: var(--card-padding) 0;
color: var(--card-text-color-main); color: var(--card-text-color-main);
.footnotes {
font-family: var(--base-font-family);
}
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
+1 -1
View File
@@ -176,8 +176,8 @@
} }
svg { svg {
stroke: currentColor;
stroke-width: 1.33; stroke-width: 1.33;
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
+1 -1
View File
@@ -44,7 +44,7 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--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: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace; --code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
} }
/* /*
+3 -1
View File
@@ -1 +1,3 @@
Example site modified from https://github.com/gohugoio/hugoBasicExample This is an example site used for solely for testing purposes. **It is not meant to be used as a template for your site**.
To create a new site, please use the starter template: [CaiJimmy/hugo-theme-stack-starter](https://github.com/CaiJimmy/hugo-theme-stack-starter/)
+5 -5
View File
@@ -1,5 +1,5 @@
toggleMenu: toggleMenu:
other: Toggle Menu other: Ocultar menú
darkMode: darkMode:
other: Modo oscuro other: Modo oscuro
@@ -27,11 +27,11 @@ article:
other: Contenidos relacionados other: Contenidos relacionados
lastUpdatedOn: lastUpdatedOn:
other: Última vez actualizado other: Última actualización
readingTime: readingTime:
one: "{{ .Count }} minuto a leer" one: "Tiempo de lectura {{ .Count }} minuto"
other: "{{ .Count }} minutos a leer" other: "Tiempo de lectura {{ .Count }} minutos"
notFound: notFound:
title: title:
@@ -60,7 +60,7 @@ search:
other: Búsqueda other: Búsqueda
placeholder: placeholder:
other: Teclea algo... other: Escribe algo...
resultTitle: resultTitle:
other: "#PAGES_COUNT páginas en (#TIME_SECONDS segundos)" other: "#PAGES_COUNT páginas en (#TIME_SECONDS segundos)"
+2
View File
@@ -21,6 +21,8 @@ article:
other: Gerelateerde inhoud other: Gerelateerde inhoud
lastUpdatedOn: lastUpdatedOn:
other: Laatst bijgewerkt op other: Laatst bijgewerkt op
readingTime:
other: "{{ .Count }} leestijd"
notFound: notFound:
title: title:
@@ -1,4 +1,4 @@
<script src="//cdn.jsdelivr.net/npm/[email protected].11/dist/twikoo.all.min.js"></script> <script src="//cdn.jsdelivr.net/npm/[email protected].21/dist/twikoo.all.min.js"></script>
<div id="tcomment"></div> <div id="tcomment"></div>
<style> <style>
.twikoo { .twikoo {
+1 -1
View File
@@ -1,4 +1,4 @@
{{- $ThemeVersion := "3.19.0" -}} {{- $ThemeVersion := "3.21.0" -}}
<footer class="site-footer"> <footer class="site-footer">
<section class="copyright"> <section class="copyright">
&copy; &copy;