Skip to content

Commit 272c3d1

Browse files
committed
Add list style
1 parent 1219351 commit 272c3d1

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

src/assets/style/_base.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,4 @@ a:not(.button) {
2525

2626
img {
2727
max-width: 100%;
28-
}
29-
30-
h1,h2,h3,h4,h5,h6 {
31-
transition: color .6s;
32-
color: var(--title-color);
33-
}
34-
35-
36-
li {
37-
list-style: disc;
3828
}

src/assets/style/_typography.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@ p {
1515
}
1616

1717
h1, h2, h3, h4, h5 {
18+
transition: color .6s;
19+
color: var(--title-color);
1820
margin: 2.75rem 0 1rem;
1921
font-family: 'Poppins', sans-serif;
2022
font-weight: 600;
2123
line-height: 1.15;
2224
}
2325

26+
2427
h1 {
2528
margin-top: 0;
2629
font-size: 1.802em;
@@ -48,4 +51,21 @@ blockquote {
4851

4952
em {
5053
font-style: italic;
54+
}
55+
56+
ul {
57+
list-style-type: disc;
58+
margin-left: 1.25em;
59+
margin-bottom: 1.25em;
60+
li {
61+
margin-bottom: 1em;
62+
}
63+
}
64+
ol {
65+
list-style-type: decimal;
66+
margin-left: 1.25em;
67+
margin-bottom: 1.25em;
68+
li {
69+
margin-bottom: 1em;
70+
}
5171
}

0 commit comments

Comments
 (0)