Add CSS support for code blocks and improve format of code (& h2)

pull/1/head
parent 020d78e184
commit f990565df7
Failed to generate hash of commit
  1. 16
      static/css/general.css

@ -47,9 +47,21 @@ footer {
padding: 0.5rem 0;
}
/* Code Blocks */
pre {
padding: 0.75rem;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
margin-left: auto;
margin-right: auto;
max-width: max-content;
}
/* Inline keywords/code */
code {
display: inline-block;
color: green;
line-break: strict;
}
p {
@ -60,6 +72,10 @@ article {
padding: 0.5rem;
}
h2 {
margin-bottom: 1rem;
}
#mainarticle {
width: max-content;
max-width: min(80rem, 100%);

Loading…
Cancel
Save