feat: add code styling and fix lowerlevel heading styles

This commit is contained in:
Aravinth Manivannan 2022-09-11 18:32:27 +05:30
parent 313c412366
commit 57d080f7a0
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 16 additions and 1 deletions

View file

@ -51,7 +51,10 @@
p,
h2,
h3 {
h3,
h4,
h5,
h6 {
margin: 10px 0;
}

View file

@ -14,3 +14,15 @@
.anchor-icon {
color: inherit !important;
}
code {
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
font-size: 85%;
}
p > code {
background-color: #afb8c133;
padding: 0.2em 0.4em;
border-radius: 6px;
}