Skip to content

Commit

Permalink
adding real world example box
Browse files Browse the repository at this point in the history
  • Loading branch information
carriewright11 committed Dec 13, 2023
1 parent 710095b commit 4c50587
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Binary file added assets/box_images/example.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 @@ -275,7 +275,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.question, div.ethics{
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.question, div.ethics, div.example{
padding: 1em;
margin: 1em 0;
padding-left: 100px;
Expand All @@ -299,6 +299,15 @@ div.motivations{
align-items:center;
}

div.example{
background-size: 70px;
background-position: 15px center;
background-image: url("../assets/box_images/example.png");
border: 4px #193a5c;
border-style: solid;
}


div.question_box{
background-size: 70px;
background-position: 15px center;
Expand Down

0 comments on commit 4c50587

Please sign in to comment.