Style for inline code
This commit is contained in:
parent
9a796e0b2a
commit
28803f884e
1 changed files with 26 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue