theme: style inline code elements

This commit is contained in:
Peter Cai 2020-04-12 17:55:56 +08:00
parent 43f005fd72
commit ff235b1e90
No known key found for this signature in database
GPG key ID: 71F5FB4E4F3FD54F

View file

@ -80,7 +80,7 @@ body {
margin-left: calc(100% - 40px);
}
/* Headings */
/* Headings and misc tags generated by markdown */
h1,
h2,
h3,
@ -110,6 +110,16 @@ h5 {
font-size: 1em;
}
code:not(.hljs) {
color: #e91e63;
font-size: 0.7em;
padding: 2px 6px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
border-radius: 3px;
text-shadow: none;
}
/* Sidebar */
.sidebar {
float: left;