diff --git a/styles/courses.css b/styles/courses.css index a21bdfa..f55d87b 100644 --- a/styles/courses.css +++ b/styles/courses.css @@ -11,10 +11,7 @@ h2, h3, h4, h5, -h6, -p, -ol, -ul { +h6{ margin: 0; padding: 0; font-weight: normal; @@ -522,3 +519,16 @@ ol.sections-name .lesson-details { line-height: 24px; padding: 0px 5px; } + + +code, +pre code { + padding: .2rem .3rem; +} + +code, +pre code, +pre code.hljs { + background-color: var(--emphasized-bg); + color: #000; +} \ No newline at end of file