Skip to content

Commit

Permalink
Merge pull request #31 from carpentries/better-blockquote
Browse files Browse the repository at this point in the history
add styling for a better blockquote
  • Loading branch information
zkamvar authored May 5, 2022
2 parents ff953b7 + d4334da commit 1333c27
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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.1.10
Version: 0.1.11
Authors@R: c(
person(given = "Zhian N.",
family = "Kamvar",
Expand All @@ -18,5 +18,5 @@ License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
URL: https://carpentries.github.io/varnish/
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# varnish 0.1.10

* blockquotes are now more clearly delineated from the rest of the content
(reported: #27, fixed: #31)

# varnish 0.1.10

* lab and incubator logos are now available.

Expand Down
10 changes: 10 additions & 0 deletions R/varnish-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#' The varnish package
#'
#' This package does not contain any useful R code. It serves to hold CSS, JS,
#' and HTML styling for Carpentries lessons.
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
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.

28 changes: 28 additions & 0 deletions man/varnish-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions source/stylesheets/styles.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ h3 {
}

blockquote {
margin-top: 10px;
margin-bottom: 10px;
margin-left: 50px;
padding-left: 15px;
border-left-width: 3px;
border-left-style: solid;
border-left-color: $gray;
p {
font-size: 1.25rem;
}
Expand Down

0 comments on commit 1333c27

Please sign in to comment.