Skip to content

Commit

Permalink
사라진 ol numbering 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomkoding committed Jul 7, 2021
1 parent d3f9212 commit 0a19ba5
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions src/styles/_markdown-style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use './variables' as *;
@use './variables'as *;

.markdown .octicon {
display: inline-block;
Expand Down Expand Up @@ -58,6 +58,7 @@
display: inline-block;
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");
}

.markdown {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
Expand Down Expand Up @@ -297,7 +298,7 @@
appearance: none;
}

.markdown :checked + .radio-label {
.markdown :checked+.radio-label {
position: relative;
z-index: 1;
border-color: #0366d6;
Expand Down Expand Up @@ -620,11 +621,11 @@
clear: both;
}

.markdown > :first-child {
.markdown> :first-child {
margin-top: 0 !important;
}

.markdown > :last-child {
.markdown> :last-child {
margin-bottom: 0 !important;
}

Expand Down Expand Up @@ -659,11 +660,11 @@
border-left: 0.25em solid #dfe2e5;
}

.markdown blockquote > :first-child {
.markdown blockquote> :first-child {
margin-top: 0;
}

.markdown blockquote > :last-child {
.markdown blockquote> :last-child {
margin-bottom: 0;
}

Expand Down Expand Up @@ -717,6 +718,10 @@
margin-bottom: 0;
}

.markdown ol {
list-style-type: decimal;
}

.markdown ul {
list-style-type: disc;
}
Expand All @@ -727,11 +732,11 @@
text-align: -webkit-match-parent;
}

.markdown li > p {
.markdown li>p {
margin-top: 16px;
}

.markdown li + li {
.markdown li+li {
margin-top: 0.25em;
}

Expand Down Expand Up @@ -805,7 +810,7 @@
word-wrap: normal;
}

.markdown pre > code {
.markdown pre>code {
padding: 0;
margin: 0;
font-size: 100%;
Expand Down Expand Up @@ -982,7 +987,7 @@
list-style-type: none;
}

.markdown .task-list-item + .task-list-item {
.markdown .task-list-item+.task-list-item {
margin-top: 3px;
}

Expand Down Expand Up @@ -1017,18 +1022,21 @@
ul {
cursor: pointer;
list-style-type: none;

li {
a {
width: 100%;
height: 30px;
padding: 6px 2px;
color: #37352f99;
font-size: 14px;

&:hover {
background: rgba(55, 53, 47, 0.08);
}
}
}

p {
margin: 0;
}
Expand All @@ -1049,4 +1057,4 @@
height: auto !important;
position: relative !important;
}
}
}

0 comments on commit 0a19ba5

Please sign in to comment.