Skip to content

Commit

Permalink
Tweak pre/code style
Browse files Browse the repository at this point in the history
  • Loading branch information
nchevobbe authored Jul 22, 2024
1 parent 211eba2 commit cd6fd07
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions css/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,16 @@ p.initial {
text-align: center;
}

pre {
line-height: 1.1;
}

pre, code {
background-color: rgba(0,0,0,0.5);
padding: 0.2em 0.5em;
font-size: 0.8em;
max-width: 100%;
overflow-x: scroll;
overflow-x: auto;
font-family: monospace;
}

Expand Down Expand Up @@ -222,4 +226,4 @@ aside {
background-color: rgb(250 250 240 / 0.2);
padding: 1em;
font-style: italic;
}
}

0 comments on commit cd6fd07

Please sign in to comment.