Skip to content

Commit 0a19ba5

Browse files
committed
사라진 ol numbering 추가
1 parent d3f9212 commit 0a19ba5

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

src/styles/_markdown-style.scss

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use './variables' as *;
1+
@use './variables'as *;
22

33
.markdown .octicon {
44
display: inline-block;
@@ -58,6 +58,7 @@
5858
display: inline-block;
5959
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' width='16' height='16' aria-hidden='true'%3E%3Cpath fill-rule='evenodd' d='M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z'%3E%3C/path%3E%3C/svg%3E");
6060
}
61+
6162
.markdown {
6263
-ms-text-size-adjust: 100%;
6364
-webkit-text-size-adjust: 100%;
@@ -297,7 +298,7 @@
297298
appearance: none;
298299
}
299300

300-
.markdown :checked + .radio-label {
301+
.markdown :checked+.radio-label {
301302
position: relative;
302303
z-index: 1;
303304
border-color: #0366d6;
@@ -620,11 +621,11 @@
620621
clear: both;
621622
}
622623

623-
.markdown > :first-child {
624+
.markdown> :first-child {
624625
margin-top: 0 !important;
625626
}
626627

627-
.markdown > :last-child {
628+
.markdown> :last-child {
628629
margin-bottom: 0 !important;
629630
}
630631

@@ -659,11 +660,11 @@
659660
border-left: 0.25em solid #dfe2e5;
660661
}
661662

662-
.markdown blockquote > :first-child {
663+
.markdown blockquote> :first-child {
663664
margin-top: 0;
664665
}
665666

666-
.markdown blockquote > :last-child {
667+
.markdown blockquote> :last-child {
667668
margin-bottom: 0;
668669
}
669670

@@ -717,6 +718,10 @@
717718
margin-bottom: 0;
718719
}
719720

721+
.markdown ol {
722+
list-style-type: decimal;
723+
}
724+
720725
.markdown ul {
721726
list-style-type: disc;
722727
}
@@ -727,11 +732,11 @@
727732
text-align: -webkit-match-parent;
728733
}
729734

730-
.markdown li > p {
735+
.markdown li>p {
731736
margin-top: 16px;
732737
}
733738

734-
.markdown li + li {
739+
.markdown li+li {
735740
margin-top: 0.25em;
736741
}
737742

@@ -805,7 +810,7 @@
805810
word-wrap: normal;
806811
}
807812

808-
.markdown pre > code {
813+
.markdown pre>code {
809814
padding: 0;
810815
margin: 0;
811816
font-size: 100%;
@@ -982,7 +987,7 @@
982987
list-style-type: none;
983988
}
984989

985-
.markdown .task-list-item + .task-list-item {
990+
.markdown .task-list-item+.task-list-item {
986991
margin-top: 3px;
987992
}
988993

@@ -1017,18 +1022,21 @@
10171022
ul {
10181023
cursor: pointer;
10191024
list-style-type: none;
1025+
10201026
li {
10211027
a {
10221028
width: 100%;
10231029
height: 30px;
10241030
padding: 6px 2px;
10251031
color: #37352f99;
10261032
font-size: 14px;
1033+
10271034
&:hover {
10281035
background: rgba(55, 53, 47, 0.08);
10291036
}
10301037
}
10311038
}
1039+
10321040
p {
10331041
margin: 0;
10341042
}
@@ -1049,4 +1057,4 @@
10491057
height: auto !important;
10501058
position: relative !important;
10511059
}
1052-
}
1060+
}

0 commit comments

Comments
 (0)