Style for inline code

This commit is contained in:
Midgard 2020-06-09 19:37:00 +02:00
parent 9a796e0b2a
commit 28803f884e
Signed by untrusted user who does not match committer: midgard
GPG Key ID: 511C112F1331BBB4
1 changed files with 26 additions and 12 deletions

View File

@ -20,18 +20,6 @@ a:hover {
text-decoration: none;
}
pre {
white-space: pre-wrap;
}
kbd {
padding: 0.3em 0.4em 0.2em;
border-radius: 0.5em;
background-color: #fff;
border-bottom: 1px solid #ddd;
vertical-align: middle;
}
body {
@ -281,6 +269,32 @@ main header {
font-size: 100%;
}
kbd, code {
padding: 0.3em 0.4em 0.2em;
border-radius: 0.5em;
vertical-align: middle;
font-family: "Source Code Pro", monospace;
font-size: 90%;
white-space: pre-wrap;
white-space: break-spaces;
}
kbd {
background-color: #fff;
border-bottom: 1px solid #ddd;
}
code {
background-color: #efe5e0;
color: #222;
}
pre code {
padding: 0;
border-radius: 0;
background-color: transparent;
color: inherit;
}
#social {