diff --git a/src/assets/css/style.css b/src/assets/css/style.css index e56471a..112b1f1 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -43,9 +43,15 @@ body { font-size: 16px; } -p { +p, ul { margin-top: 10px; - line-height: 1.5em; + line-height: 1.55em; +} + +li > ul { + margin-top: 0; + margin-left: 15px; + list-style-type: circle; } img { @@ -95,8 +101,13 @@ nav > a:not(#home_link) { h1, h2, h3, h4, h5, h6 { font-family: 'JetBrains Mono', sans-serif; font-weight: bold; - margin-top: 10px; - margin-bottom: 5px; + margin-top: 20px; + margin-bottom: 10px; +} + +ul { + list-style: disc; + list-style-position: inside; } h1 { @@ -137,6 +148,7 @@ em, i { footer { font-size: 14px; + margin-bottom: 100px; } pre { @@ -148,14 +160,15 @@ pre > code { padding: 10px; display: inline-block; width: 100%; + overflow: auto; + line-height: 1.35em; } code { - padding: 5px; + padding: 2px 5px 2px 5px; border-radius: 5px; background-color: var(--light_bg); font-family: 'IBM Plex Mono', monospace; - line-height: 1.2em; } @media screen and (max-width: 992px) {