Skip to content

Commit

Permalink
Merge pull request #218 from jhudsl/add-wip-callout
Browse files Browse the repository at this point in the history
add a WIP callout box
  • Loading branch information
KatherineCox committed Nov 22, 2023
2 parents fcefe09 + 4602f97 commit d01c528
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions 02-chapter_of_course.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ Consider this!
Here's how you use GitHub.
:::

`wip`:

::: {.wip}
This section is a **Work in Progress**.
:::

### 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.
11 changes: 10 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,15 @@ 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 d01c528

Please sign in to comment.