mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
perf: remove overlayscrollbars to fix page loading lag, update heading margins
This commit is contained in:
parent
c2547dd65d
commit
41fca8569e
11 changed files with 124 additions and 241 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
/* Customized Post Title */
|
||||
.heti .post-title {
|
||||
--at-apply: 'mb-2 text-8.6 c-primary font-bold leading-12 lg:text-9';
|
||||
--at-apply: 'mb-2 text-8.6 c-primary font-bold lg:text-9';
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
|
@ -22,37 +22,37 @@
|
|||
.heti :where(h4),
|
||||
.heti :where(h5),
|
||||
.heti :where(h6) {
|
||||
--at-apply: 'mb-3 mt-6 font-semibold';
|
||||
--at-apply: 'mb-4 mt-6 font-semibold';
|
||||
}
|
||||
.heti :where(h1) {
|
||||
--at-apply: 'text-7 leading-12';
|
||||
--at-apply: 'mt-9 text-7';
|
||||
}
|
||||
.heti :where(h2) {
|
||||
--at-apply: 'text-6 leading-9';
|
||||
--at-apply: 'mt-9 text-6';
|
||||
}
|
||||
.heti :where(h3) {
|
||||
--at-apply: 'text-5 leading-9';
|
||||
--at-apply: 'mt-6.75 text-5';
|
||||
}
|
||||
.heti :where(h4) {
|
||||
--at-apply: 'text-4.5 leading-6';
|
||||
--at-apply: 'text-4.5';
|
||||
}
|
||||
.heti :where(h5) {
|
||||
--at-apply: 'text-4 leading-6';
|
||||
--at-apply: 'text-4';
|
||||
}
|
||||
.heti :where(h6) {
|
||||
--at-apply: 'text-3.5 leading-6';
|
||||
--at-apply: 'text-3.5';
|
||||
}
|
||||
.heti :where(h1),
|
||||
.heti :where(h2),
|
||||
.heti :where(h3) {
|
||||
--at-apply: 'text-balance cjk:text-pretty cjk:tracking-0.05em';
|
||||
--at-apply: 'text-balance leading-1.33em cjk:text-pretty cjk:tracking-0.05em';
|
||||
}
|
||||
.heti :where(h1 + h2),
|
||||
.heti :where(h2 + h3),
|
||||
.heti :where(h3 + h4),
|
||||
.heti :where(h4 + h5),
|
||||
.heti :where(h5 + h6) {
|
||||
--at-apply: 'mt-3';
|
||||
--at-apply: 'mt-4';
|
||||
}
|
||||
|
||||
/* Paragraphs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue