Skip to content

Commit

Permalink
add assets and example of wip callout
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 17, 2023
1 parent dbb0b38 commit 4d34c7a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
9 changes: 9 additions & 0 deletions 02-chapter_of_course.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,15 @@ reflection text
</div>


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

<div class = "tip">

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 4d34c7a

Please sign in to comment.