Skip to content

Commit

Permalink
add DRAFT watermark
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisp committed Sep 9, 2017
1 parent eedf316 commit 42b8e19
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion prep/download-mrtes.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(!file.exists("data/mrtes.xlsx")){

mrtes_orig <- read.xlsx("data/mrtes.xlsx", sheet = "Data base", detectDates = TRUE)

# make some alternative names for the Regional Tourism Organisations, more grpahic friendly,
# make some alternative names for the Regional Tourism Organisations, more graphic friendly,
# including one that is just the 5 big ones plus "Other":
mrtes <- mrtes_orig %>%
mutate(rto_short = gsub(" RTO", "", RTO),
Expand Down
9 changes: 9 additions & 0 deletions report-1/corp-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ h4 {
font-weight: bold;
font-style: italic;
}

.watermark {
opacity: 0.2;
position: fixed;
top: 50%;
left: 50%;
font-size: 500%;
color: #00407d;
}
1 change: 1 addition & 0 deletions report-1/report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ output:
---

<img src="logo.svg" style="position:absolute;top:0px;right:0px;" />
<div class="watermark">DRAFT</div>

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, cache = FALSE, eval = TRUE)
Expand Down

0 comments on commit 42b8e19

Please sign in to comment.