feat: add pager for article navigation in section

chore: minor updates

- reorg language settings
- add icons for cards and steps

chore: update about page

chore: add style to kbd
This commit is contained in:
Xin
2023-07-30 12:53:06 +01:00
parent 8ed4573422
commit 923f794d29
9 changed files with 77 additions and 13 deletions

View File

@ -60,7 +60,9 @@
@apply my-2;
}
}
kbd {
@apply border-black border-opacity-[0.04] bg-opacity-[0.03] bg-black break-words rounded-md border py-0.5 px-[.25em] text-[.9em] dark:border-white/10 dark:bg-white/10;
}
}
.subheading-anchor {
@ -86,3 +88,32 @@
}
}
}
article.typesetting-article {
font-size: 17px;
font-feature-settings:
'rlig' 1,
'calt' 1;
h1 {
@apply mt-6 mb-4 text-center;
font-size: 2.5rem;
}
h2 {
@apply border-none;
}
a {
@apply no-underline hover:underline;
}
p {
@apply leading-8;
}
code {
@apply border-none dark:bg-neutral-700;
}
pre code {
@apply dark:bg-transparent;
}
.subheading-anchor + a {
@apply no-underline hover:no-underline after:hidden;
}
}