1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

remove some redundant/unnecessary CSS rules

This commit is contained in:
Rohan Kumar 2023-11-17 16:02:23 -08:00
parent 66c4c62888
commit 66b6ac0dbc
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -183,11 +183,9 @@ html {
h1, h1,
h2, h2,
h3, h3,
html,
main, main,
pre, pre,
summary, summary,
dl > div,
:not(nav) > ol, :not(nav) > ol,
[role="doc-endnotes"], [role="doc-endnotes"],
[role="doc-preface"] { [role="doc-preface"] {
@ -257,7 +255,6 @@ html {
dd { dd {
margin: 0; margin: 0;
padding: .25em .25em .5em 1.75em; padding: .25em .25em .5em 1.75em;
contain: inline-size layout paint;
} }
aside > a, aside > a,
@ -287,11 +284,9 @@ html {
margin-left: -.25em; margin-left: -.25em;
} }
/* stylelint-disable selector-max-compound-selectors -- simplest way to target post-meta */ h1 + ul a {
h1 + ul > li > a {
margin-left: 0; margin-left: 0;
} }
/* stylelint-enable selector-max-compound-selectors */
/* Increase tap-target size of title links. */ /* Increase tap-target size of title links. */