This only works if I put this directly into the .Rmd file but nothing happens if I put it in the www folder. I haven't published the app, would I need to do so for the www/styles.css way to work?
---
title: "Row Orientation"
output:
flexdashboard::flex_dashboard:
orientation: rows
vertical_layout: fill
theme: readable
css: www/styles.css
runtime: shiny
---
```{r setup, include=FALSE}
library(flexdashboard)
```
Row
-------------------------------------
### Chart 1
```{r}
gauge(15, min = 0, max = 50, href="#details")
```
Row
-------------------------------------
### Chart 2
```{r}
gauge(30, min = 0, max = 50, href="#details")
```
### Chart 3
```{r}
gauge(45, min = 0, max = 50, href="#details")
```
with www/styles.css:
.chart-title {
font-size: 48px;
}
We only use the <style> tag to create an "internal style sheet" (as you did correctly).
Another way to use an "internal style sheet" in R Markdown is through "css chunk":