diff --git a/DESCRIPTION b/DESCRIPTION index 4edbb20a..edf815cd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: varnish Title: Front-end for The Carpentries Lesson Template -Version: 0.3.2 +Version: 0.3.3 Authors@R: c( person(given = "Zhian N.", family = "Kamvar", diff --git a/NEWS.md b/NEWS.md index c53479bf..e7fd98c2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,10 @@ +# varnish 0.3.3 + +* Code blocks in narrative no longer have a white background on top of the grey + background of the code block (fixed: @zkamvar, #103). +- The colour of the inline code has been changed from the bootstrap default to + black (fixed: @zkamvar, #103). + # varnish 0.3.2 * Provide an improved contrast to inline code within callout blocks by diff --git a/source/stylesheets/syntax-highlighting.scss b/source/stylesheets/syntax-highlighting.scss index 23f34e25..e92e431a 100644 --- a/source/stylesheets/syntax-highlighting.scss +++ b/source/stylesheets/syntax-highlighting.scss @@ -9,8 +9,13 @@ pre .img img, pre .r-plt img { code { font-family: 'Source Code Pro', monospace; - border-radius: 4px; + color: #000; +} + +p > code { background-color: #fff; + border-radius: 4px; + font-size: 1em; } /* Links ---------------------------------------------------- */