preserve font-size in inline code blogs

This commit is contained in:
facundoolano 2024-03-04 14:39:53 -03:00
parent c3b77044a2
commit 1eeecd4f8f
2 changed files with 3 additions and 1 deletions

View file

@ -172,6 +172,7 @@ Need to decide between:
padding: .2em .4em; padding: .2em .4em;
background-color: whitesmoke!important; background-color: whitesmoke!important;
color: black; color: black;
font-size: 1rem;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {

View file

@ -175,7 +175,8 @@ Need to decide between:
.layout-post :not(pre) > code { .layout-post :not(pre) > code {
padding: .2em .4em; padding: .2em .4em;
background-color: whitesmoke!important; background-color: whitesmoke!important;
color: black color: black;
font-size: 1rem;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {