mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
chore: add i18n md style guide posts and an universal article
This commit is contained in:
parent
2b5c2b31ff
commit
f17710bf29
8 changed files with 945 additions and 33 deletions
|
@ -8,8 +8,7 @@
|
|||
.heti {
|
||||
--at-apply: 'leading-1.5em break-words hyphens-auto tracking-0.02em';
|
||||
}
|
||||
.heti:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
|
||||
.heti:not(:lang(zh)) {
|
||||
.heti:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) {
|
||||
--at-apply: 'tracking-0';
|
||||
}
|
||||
|
||||
|
@ -28,8 +27,7 @@
|
|||
.heti p {
|
||||
--at-apply: 'mt-3 mb-4 text-justify';
|
||||
}
|
||||
.heti p:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
|
||||
.heti p:not(:lang(zh)) {
|
||||
.heti p:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) {
|
||||
--at-apply: 'text-start';
|
||||
}
|
||||
|
||||
|
@ -66,11 +64,8 @@
|
|||
--at-apply: 'tracking-0.05em';
|
||||
}
|
||||
.heti h1:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
|
||||
.heti h1:not(:lang(zh)),
|
||||
.heti h2:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
|
||||
.heti h2:not(:lang(zh)),
|
||||
.heti h3:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
|
||||
.heti h3:not(:lang(zh)) {
|
||||
.heti h3:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) {
|
||||
--at-apply: 'tracking-0';
|
||||
}
|
||||
.heti h1 + h2,
|
||||
|
@ -95,7 +90,7 @@
|
|||
|
||||
/* Code Blocks */
|
||||
.heti pre {
|
||||
--at-apply: 'my-3 px-4 py-3 rounded bg-secondary/5! border border-solid border-secondary/7';
|
||||
--at-apply: 'mt-3 mb-4 px-4 py-3 rounded bg-secondary/5! border border-solid border-secondary/7';
|
||||
--at-apply: 'overflow-auto whitespace-pre scrollbar-hidden';
|
||||
}
|
||||
.heti pre code {
|
||||
|
@ -220,19 +215,19 @@ html.dark .heti mark {
|
|||
content: "腳註";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
}
|
||||
.footnotes:lang(ja-JP)::before {
|
||||
.footnotes:lang(ja)::before {
|
||||
content: "脚注";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
}
|
||||
.footnotes:lang(en-US)::before {
|
||||
.footnotes:lang(en)::before {
|
||||
content: "Footnotes";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
}
|
||||
.footnotes:lang(es-ES)::before {
|
||||
.footnotes:lang(es)::before {
|
||||
content: "Notas al pie";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
}
|
||||
.footnotes:lang(ru-RU)::before {
|
||||
.footnotes:lang(ru)::before {
|
||||
content: "Сноски";
|
||||
--at-apply: 'block text-5 font-semibold mt-6 mb-3';
|
||||
}
|
||||
|
@ -260,8 +255,7 @@ html.dark .heti mark {
|
|||
.heti q {
|
||||
quotes: "「" "」" "『" "』";
|
||||
}
|
||||
.heti q:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)),
|
||||
.heti q:not(:lang(zh)) {
|
||||
.heti q:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) {
|
||||
quotes: initial;
|
||||
quotes: auto;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue