File size: 947 Bytes
df9f93a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | /* taken from https://bookdown.org/yihui/rmarkdown-cookbook/custom-blocks.html */
.infobox {
padding: 1em 1em 1em 7em;
margin-bottom: 10px;
background: lightgray 5px center/6em no-repeat;
border: 2px solid #17a589;
border-radius: 10px;
line-height: 1.7;
}
.caution {
background-image: url("images/icons/caution.png");
}
.note {
background-image: url("images/icons/info.svg");
}
.interpretation {
background-image: url("images/icons/interpretation.png");
}
.dataWrangling {
background-image: url("images/icons/dataWrangling.png");
}
.communication {
background-image: url("images/icons/communication.png");
}
/* these options for the pre class make code sections >500px scroll */
/* see: https://bookdown.org/yihui/rmarkdown-cookbook/html-scroll.html */
pre {
max-height: 500px;
overflow-y: auto;
}
pre[class] {
max-height: 500px;
}
.scroll-500 {
max-height: 500px;
overflow-y: auto;
}
.figure {
width: 100%;
}
|