Skip to content

Commit ded329a

Browse files
committed
Make inline code more readable and in sync with the color scheme
1 parent ab60b8f commit ded329a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

styles/markdown.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
}
9393

9494
code {
95-
background-color:transparentize(getColor(alto), 0.5);
95+
color: inherit;
9696
}
9797
}
9898

@@ -162,11 +162,12 @@
162162
code, tt {
163163
font-family:'Ubuntu Mono', monospace;
164164
margin: 0 2px;
165-
padding: 0 5px;
165+
padding: 2px 6px;
166166
white-space: nowrap;
167-
border: 1px solid #eaeaea;
168-
background-color: #f8f8f8;
167+
background-color: transparentize(getColor(fiord), 0.94);
169168
border-radius: 3px;
169+
text-shadow: 0 1px 0 transparentize(getColor(white), 0.5);
170+
color: getColor(elephant);
170171
}
171172

172173
pre {
@@ -184,6 +185,7 @@
184185
border: none;
185186
color:getColor(concrete);
186187
background: transparent;
188+
text-shadow: none;
187189

188190
.code-details-summary-span {
189191
margin-left: -15px;

0 commit comments

Comments
 (0)