Skip to content

Commit 214ef8b

Browse files
committed
fixed code color being too bright
1 parent 03c32a6 commit 214ef8b

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

velog-frontend/src/components/common/MarkdownRender/MarkdownRender.scss

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
b {
2323
font-weight: 600;
2424
}
25-
p+p {
25+
p + p {
2626
margin-top: 1.5em;
2727
}
2828
h1,
@@ -89,8 +89,8 @@
8989
border: 1px solid $oc-gray-1;
9090
background: rgb(250, 250, 250);
9191
code {
92-
font-family: "Inconsolata", "D2 Coding", Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
93-
color: $oc-gray-2;
92+
font-family: "Inconsolata", "D2 Coding", Consolas, Monaco, "Andale Mono",
93+
"Ubuntu Mono", monospace;
9494
font-size: 0.81em;
9595
}
9696
}
@@ -116,22 +116,22 @@
116116
margin: 15px 0;
117117
padding: 0;
118118
}
119-
&>h2:first-child {
119+
& > h2:first-child {
120120
margin-top: 0;
121121
padding-top: 0;
122122
}
123-
&>h1:first-child {
123+
& > h1:first-child {
124124
margin-top: 0;
125125
padding-top: 0;
126126
}
127-
&>h1:first-child+h2 {
127+
& > h1:first-child + h2 {
128128
margin-top: 0;
129129
padding-top: 0;
130130
}
131-
&>h3:first-child,
132-
&>h4:first-child,
133-
&>h5:first-child,
134-
&>h6:first-child {
131+
& > h3:first-child,
132+
& > h4:first-child,
133+
& > h5:first-child,
134+
& > h6:first-child {
135135
margin-top: 0;
136136
padding-top: 0;
137137
}
@@ -144,14 +144,14 @@
144144
margin-top: 0;
145145
padding-top: 0;
146146
}
147-
h1+p,
148-
h2+p,
149-
h3+p,
150-
h4+p,
151-
h5+p,
152-
h6+p,
153-
ul li> :first-child,
154-
ol li> :first-child {
147+
h1 + p,
148+
h2 + p,
149+
h3 + p,
150+
h4 + p,
151+
h5 + p,
152+
h6 + p,
153+
ul li > :first-child,
154+
ol li > :first-child {
155155
margin-top: 0;
156156
}
157157
dl {
@@ -167,31 +167,31 @@
167167
dl dt:first-child {
168168
padding: 0;
169169
}
170-
dl dt> :first-child {
170+
dl dt > :first-child {
171171
margin-top: 0;
172172
}
173-
dl dt> :last-child {
173+
dl dt > :last-child {
174174
margin-bottom: 0;
175175
}
176176
dl dd {
177177
margin: 0 0 15px;
178178
padding: 0 15px;
179179
}
180-
dl dd> :first-child {
180+
dl dd > :first-child {
181181
margin-top: 0;
182182
}
183-
dl dd> :last-child {
183+
dl dd > :last-child {
184184
margin-bottom: 0;
185185
}
186186
blockquote {
187187
border-left: 4px solid #ddd;
188188
padding: 0 15px;
189189
color: #777;
190190
}
191-
blockquote> :first-child {
191+
blockquote > :first-child {
192192
margin-top: 0;
193193
}
194-
blockquote> :last-child {
194+
blockquote > :last-child {
195195
margin-bottom: 0;
196196
}
197197
table {
@@ -231,4 +231,4 @@
231231
padding-top: 1rem;
232232
padding-bottom: 1rem;
233233
}
234-
}
234+
}

0 commit comments

Comments
 (0)