Skip to content

Commit

Permalink
Boxes (#529)
Browse files Browse the repository at this point in the history
* Revert "updating templates_to_edit image"

This reverts commit f95a790.

forgot I was on main#

* Revert "updating issue pics"

This reverts commit fbc1c3e.

forgot I was on main

* adding ITN style code for boxes

* adding images and general style code for boxes

* showing examples of style boxes

* moving images from assets to subdir called box_images to allow for easy sync of these images

* forgot about dictionary image

* updating paths for style.css file for general template use

* updating paths for itn style doc

* adding asset box image dir to sync

* add boxes to GDSCN css code

* adding boxes to AnVIL css code

* adding boxes to DataTrail css

* adding initial version of reflection box

* adding reflection box to other style sets
  • Loading branch information
carriewright11 authored Apr 13, 2022
1 parent fc6aded commit 89fefc4
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 01-intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ dictionary text

</div>


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

<div class = "reflection">

reflection text

</div>

## Motivation


Expand Down
Binary file added assets/box_images/thinking_face.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,23 @@ div.dictionary{
}


div.reflection{
border: 4px #68ace5;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 90px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}

div.reflection{
background-image: url("../assets/box_images/thinking_face.png");
}

div.rstudio-tip, div.tip, div.gotcha, div.design, div.hat{
border: 4px #aed6d963;
border-style: dashed solid;
Expand Down
17 changes: 17 additions & 0 deletions style-sets/AnVIL/copy_to_assets/style_anvil.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,23 @@ div.dictionary{
background-image: url("../assets/box_images/dictionary.png");
}

div.reflection{
border: 4px #68ace5;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 90px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}

div.reflection{
background-image: url("../assets/box_images/thinking_face.png");
}

div.rstudio-tip, div.tip, div.gotcha, div.design, div.hat{
border: 4px #aed6d963;
border-style: dashed solid;
Expand Down
16 changes: 16 additions & 0 deletions style-sets/GDSCN/copy_to_assets/style_gdscn.css
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,22 @@ div.dictionary{
background-image: url("../assets/box_images/dictionary.png");
}

div.reflection{
border: 4px #68ace5;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 90px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}

div.reflection{
background-image: url("../assets/box_images/thinking_face.png");
}

div.rstudio-tip, div.tip, div.gotcha, div.design, div.hat{
border: 4px #aed6d963;
Expand Down
17 changes: 17 additions & 0 deletions style-sets/data-trail/copy-to-assets/style_DataTrail.css
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,23 @@ div.dictionary{
background-image: url("../assets/box_images/dictionary.png");
}

div.reflection{
border: 4px #000000;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 90px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}

div.reflection{
background-image: url("../assets/box_images/thinking_face.png");
}

div.rstudio-tip, div.tip, div.gotcha, div.design, div.hat{
border: 4px #aed6d963;
border-style: dashed solid;
Expand Down
18 changes: 18 additions & 0 deletions style-sets/itcr/copy-to-assets/style_ITN.css
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,24 @@ div.dictionary{
background-image: url("../assets/box_images/dictionary.png");
}

div.reflection{
border: 4px #193a5c;
border-style: solid;
padding: 1em;
margin: 1em 0;
padding-left: 100px;
background-size: 90px;
background-repeat: no-repeat;
background-position: 15px center;
min-height: 120px;
background-color: #e8ebee;
}

div.reflection{
background-image: url("../assets/box_images/thinking_face.png");
}


div.rstudio-tip, div.tip, div.gotcha, div.design, div.hat{
border: 4px #aed6d963;
border-style: dashed solid;
Expand Down

0 comments on commit 89fefc4

Please sign in to comment.