fix code block style

main
anna 3 years ago
parent 6367993098
commit 0b4677c147
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

@ -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…
Cancel
Save