Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code colouring and style #103

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion inst/pkgdown/assets/assets/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/pkgdown/assets/assets/styles.css.map

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion source/stylesheets/syntax-highlighting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------- */
Expand Down
Loading