mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
🎨 style: refactor markdown typography styles
This commit is contained in:
parent
910fd9f39a
commit
2f158eed60
5 changed files with 151 additions and 92 deletions
|
@ -19,7 +19,7 @@ body::selection {
|
|||
--at-apply: 'bg-highlight';
|
||||
}
|
||||
|
||||
/* Fix KaTeX Overflow Issue */
|
||||
/* Fix KaTeX Overflow with Hidden Scrollbar */
|
||||
.katex-display {
|
||||
--at-apply: 'overflow-x-auto overflow-y-hidden scrollbar-hidden';
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ h1:hover .heading-anchor-link svg,
|
|||
h2:hover .heading-anchor-link svg,
|
||||
h3:hover .heading-anchor-link svg,
|
||||
h4:hover .heading-anchor-link svg {
|
||||
--at-apply: 'op-80';
|
||||
--at-apply: 'op-40';
|
||||
}
|
||||
.heading-anchor-link svg {
|
||||
--at-apply: 'ml-0.4em aspect-square w-0.9em op-0 transition-opacity ease-out active:scale-90';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue