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

Fixed lack of blue background color in useR chapter-slide #328

Merged
merged 6 commits into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from 4 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
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGES IN xaringan VERSION 0.23

- Fix lack of blue background color in useR chapter-slide due to fixed #302.

- Update font-size in useR theme to facilitate reading text from small screens.

- Update source link of the useR logo from Dropbox to the official web page.

# CHANGES IN xaringan VERSION 0.22

Expand Down
9 changes: 6 additions & 3 deletions inst/rmarkdown/templates/xaringan/resources/useR.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.remark-slide-content {
background-image: url("https://www.dropbox.com/s/ff7nr4n2dcm59de/useR_logo.png?dl=1"), linear-gradient(to bottom, white 85%, rgba(227, 227, 227) 95%) ;
background-image: url("https://www.r-project.org/conferences/useR.png?dl=1"), linear-gradient(to bottom, white 85%, rgba(227, 227, 227) 95%) ;
background-position: 20px 590px , center;
background-size: 85px , 100% 100%, cover ;
font-size: 20pt;
}

.remark-slide-content h1, .remark-slide-content h2, .remark-slide-content h3 {
Expand All @@ -10,7 +11,7 @@
}

.title-slide {
background-image: url("https://www.dropbox.com/s/ff7nr4n2dcm59de/useR_logo.png?dl=1"), linear-gradient(to bottom, white 85%, rgba(227, 227, 227) 95%) ;
background-image: url("https://www.r-project.org/conferences/useR.png?dl=1"), linear-gradient(to bottom, white 85%, rgba(227, 227, 227) 95%) ;
background-position: 5% 15%, center ;
background-size: 160px, 100% 100%, cover ;
}
Expand All @@ -37,7 +38,9 @@
}

.chapter-slide {
background-color: #1464b4;
background-image: url("https://www.r-project.org/conferences/useR.png?dl=1"), linear-gradient(to bottom, #1464b4 85%, rgba(20, 100, 180) 95%) ;
background-position: 10px 590px , center;
background-size: 0px, 100% 100%, cover ;
}

.chapter-slide h1 {
Expand Down