mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 03:32:51 +02:00
docs: update detailed usage documentation in readme
- update footnotes style - update theme guides
This commit is contained in:
parent
5f95201576
commit
21d502b8d0
9 changed files with 116 additions and 36 deletions
|
@ -14,7 +14,7 @@ Retypeset is a static blog theme based on the [Astro](https://astro.build/) fram
|
|||
|
||||
## Theme Configuration
|
||||
|
||||
Customize your blog by modifying the theme configuration file [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts).
|
||||
Modify the theme configuration file [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts) to customize your blog.
|
||||
|
||||
### Site Information
|
||||
|
||||
|
@ -352,7 +352,7 @@ getImageOptions: (_path, page) => ({
|
|||
RSS feed page styles.
|
||||
|
||||
```html
|
||||
<!-- public/rss-style.xsl -->
|
||||
<!-- public/rss/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{color:oklch(25% 0.005 298)} /* font color */
|
||||
|
|
|
@ -14,7 +14,7 @@ Retypeset es un tema de blog estático basado en el framework [Astro](https://as
|
|||
|
||||
## Configuración del Tema
|
||||
|
||||
Personaliza tu blog modificando el archivo de configuración del tema [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts).
|
||||
Modifica el archivo de configuración del tema [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts) para personalizar tu blog.
|
||||
|
||||
### Información del Sitio
|
||||
|
||||
|
@ -352,7 +352,7 @@ getImageOptions: (_path, page) => ({
|
|||
Estilos de página del feed RSS.
|
||||
|
||||
```html
|
||||
<!-- public/rss-style.xsl -->
|
||||
<!-- public/rss/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{color:oklch(25% 0.005 298)} /* color de fuente */
|
||||
|
|
|
@ -352,7 +352,7 @@ getImageOptions: (_path, page) => ({
|
|||
RSSフィードページスタイル。
|
||||
|
||||
```html
|
||||
<!-- public/rss-style.xsl -->
|
||||
<!-- public/rss/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{color:oklch(25% 0.005 298)} /* フォントカラー */
|
||||
|
|
|
@ -352,7 +352,7 @@ getImageOptions: (_path, page) => ({
|
|||
Стили страницы RSS-ленты.
|
||||
|
||||
```html
|
||||
<!-- public/rss-style.xsl -->
|
||||
<!-- public/rss/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{color:oklch(25% 0.005 298)} /* цвет шрифта */
|
||||
|
|
|
@ -14,7 +14,7 @@ Retypeset 是一款基於 [Astro](https://astro.build/) 框架的靜態部落格
|
|||
|
||||
## 主題配置
|
||||
|
||||
通過修改主題配置文件 [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts) 來自定義你的部落格。
|
||||
修改主題配置文件 [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts) 來自定義你的部落格。
|
||||
|
||||
### 站點信息
|
||||
|
||||
|
@ -352,7 +352,7 @@ getImageOptions: (_path, page) => ({
|
|||
RSS 訂閱頁配色。
|
||||
|
||||
```html
|
||||
<!-- public/rss-style.xsl -->
|
||||
<!-- public/rss/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{color:oklch(25% 0.005 298)} /* 字體顏色 */
|
||||
|
|
|
@ -14,7 +14,7 @@ Retypeset 是一款基于 [Astro](https://astro.build/) 框架的静态博客主
|
|||
|
||||
## 主题配置
|
||||
|
||||
通过修改主题配置文件 [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts) 来自定义你的博客。
|
||||
修改主题配置文件 [src/config.ts](https://github.com/radishzzz/astro-theme-retypeset/blob/master/src/config.ts) 来自定义你的博客。
|
||||
|
||||
### 站点信息
|
||||
|
||||
|
@ -352,7 +352,7 @@ getImageOptions: (_path, page) => ({
|
|||
RSS 订阅页配色。
|
||||
|
||||
```html
|
||||
<!-- public/rss-style.xsl -->
|
||||
<!-- public/rss/rss-style.xsl -->
|
||||
|
||||
<style type="text/css">
|
||||
body{color:oklch(25% 0.005 298)} /* 字体颜色 */
|
||||
|
|
|
@ -221,27 +221,27 @@ html.dark .heti :where(mark) {
|
|||
}
|
||||
.footnotes:lang(zh-CN)::before {
|
||||
content: "脚注";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
--at-apply: 'block text-6 font-semibold mt-7.4 mb-4.2';
|
||||
}
|
||||
.footnotes:lang(zh-TW)::before {
|
||||
content: "腳註";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
--at-apply: 'block text-6 font-semibold mt-7.4 mb-4.2';
|
||||
}
|
||||
.footnotes:lang(ja)::before {
|
||||
content: "脚注";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
--at-apply: 'block text-6 font-semibold mt-7.4 mb-4.2';
|
||||
}
|
||||
.footnotes:lang(en)::before {
|
||||
content: "Footnotes";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
--at-apply: 'block text-6 font-semibold mt-7.4 mb-4.2';
|
||||
}
|
||||
.footnotes:lang(es)::before {
|
||||
content: "Notas al pie";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
--at-apply: 'block text-6 font-semibold mt-7.4 mb-4.2';
|
||||
}
|
||||
.footnotes:lang(ru)::before {
|
||||
content: "Сноски";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
--at-apply: 'block text-6 font-semibold mt-7.4 mb-4.2';
|
||||
}
|
||||
.heti :where(.data-footnote-backref) {
|
||||
--at-apply: 'no-underline';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue