Skip to content

Commit

Permalink
Merge 05c0e0c into 4d6c765
Browse files Browse the repository at this point in the history
  • Loading branch information
KatherineCox authored Nov 21, 2023
2 parents 4d6c765 + 05c0e0c commit 1e392c1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
17 changes: 9 additions & 8 deletions 02-chapter_of_course.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ knitr::include_url("https://www.youtube.com/embed/VOCYL-FNbr0")

<iframe src="https://www.youtube.com/embed/VOCYL-FNbr0" width="672" height="400px"></iframe>

## File examples

You can again use simple markdown syntax to just include a link to a file like so:

[A file](https://www.bgsu.edu/content/dam/BGSU/center-for-faculty-excellence/docs/TLGuides/TLGuide-Learning-Objectives.pdf).

Alternatively you can embed files like PDFs.

### Using `knitr`

```{r, fig.align="center", echo=FALSE, out.width="100%"}
Expand Down Expand Up @@ -243,6 +235,15 @@ reflection text
</div>


Here is a `<div class = "wip">` box:

<div class = "wip">

Work in Progress text

</div>


## Dropdown summaries

<details><summary> You can hide additional information in a dropdown menu </summary>
Expand Down
Binary file added assets/box_images/under_construction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ li.appendix span, li.part span { /* for TOC part names */
/* Sidebar formating --------------------------------------------*/
/* from r-pkgs.org*/

div.notice, div.warning, div.github, div.dictionary, div.reflection {
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.wip {
padding: 1em;
margin: 1em 0;
padding-left: 100px;
Expand Down Expand Up @@ -304,6 +304,14 @@ div.reflection{
background-image: url("../assets/box_images/thinking_face.png");
}

div.wip{
border: 4px #000000;
border-style: solid;
background-size: 70px;
background-position: 15px center;
background-color: #f4d03f;
background-image: url("../assets/box_images/under_construction.png");
}

/* .book .book-body .page-wrapper .page-inner section.normal is needed
to override the styles produced by gitbook, which are ridiculously
Expand Down

0 comments on commit 1e392c1

Please sign in to comment.