Skip to content

Commit

Permalink
added padding/spacing, bg color for code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dtauer committed Apr 15, 2024
1 parent 0b56d27 commit 5b88011
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions styles/courses.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
h6{
margin: 0;
padding: 0;
font-weight: normal;
Expand Down Expand Up @@ -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;
}

0 comments on commit 5b88011

Please sign in to comment.