1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

chore(lint): use @kuohuanhuan/stylelint-config as Stylelint config

This commit is contained in:
2023-03-06 22:07:19 +08:00
parent 0e6c171424
commit e9264bfa01
10 changed files with 57 additions and 100 deletions

View File

@ -6,6 +6,7 @@ h1 {
font-size: 2.25rem;
line-height: 1.15;
}
h2 {
margin-top: 2rem;
margin-bottom: 1rem;
@ -20,6 +21,7 @@ h2 {
margin-top: 0;
}
}
h3 {
margin-top: 1.6rem;
margin-bottom: .6rem;
@ -35,6 +37,7 @@ h3 {
margin-top: 0;
}
}
h4 {
margin-top: 1.5rem;
margin-bottom: .5rem;
@ -45,6 +48,7 @@ h4 {
margin-top: 0;
}
}
h5,
h6 {
margin-top: 20px;
@ -54,6 +58,7 @@ h6 {
text-transform: uppercase;
opacity: .5;
}
hr {
width: 50px;
margin-top: 2rem;
@ -63,6 +68,7 @@ hr {
margin-top: 0;
}
}
.header-anchor {
float: left;
margin-top: .125rem;
@ -77,6 +83,7 @@ hr {
text-decoration: none;
}
}
@for $i from 1 through 6 {
h#{$i} {
&:hover,