fix code block style
This commit is contained in:
parent
6367993098
commit
0b4677c147
1 changed files with 13 additions and 2 deletions
|
@ -47,7 +47,7 @@ h1, h2, h3, h4, h5, h6 {
|
|||
border-bottom: thin solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
p, code {
|
||||
p, code, ul, ol {
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
font-weight: 400;
|
||||
|
@ -58,6 +58,18 @@ code {
|
|||
border-radius: 4px;
|
||||
}
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
padding: 20px;
|
||||
border-radius: 4px;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
overflow-x: auto;
|
||||
|
||||
code {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
header h1 {
|
||||
text-align: center;
|
||||
margin: 20px 0 0;
|
||||
|
@ -112,7 +124,6 @@ nav {
|
|||
padding: 20px;
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue