-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
73 lines (69 loc) · 2.07 KB
/
index.Rmd
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
title: "xaringan.club"
image: "xaringanclub.png"
links:
- label: Demo Slides
url: "https://slides.yihui.org/xaringan"
- label: GitHub
url: "https://github.com/yihui/xaringan"
- label: Wiki
url: "https://github.com/yihui/xaringan/wiki"
- label: xaringanthemer
url: "https://pkg.garrickadenbuie.com/xaringanthemer"
- label: xaringanExtra
url: "https://pkg.garrickadenbuie.com/xaringanExtra"
- label: xaringanBuilder
url: "https://jhelvy.github.io/xaringanBuilder/"
- label: xaringancolor
url: "https://github.com/EmilHvitfeldt/xaringancolor#readme"
output:
postcards::jolla
---
::: {.lead .text-warning}
The first rule of xaringan club is...<br/>we talk about xaringan.
:::
```{css echo=FALSE}
body {
background-color: #212529;
color: var(--pink);
background-image: url("constantin-popp-0xYjdK5kRxM-unsplash.jpg");
background-size: cover;
background-position: 20% center;
background-attachment: fixed;
}
.list-group-item-action.btn-outline-warning {
background: unset;
border-color: var(--yellow);
color: var(--yellow);
}
.list-group-item-action.btn-outline-warning:hover {
background: var(--yellow);
border-color: var(--yellow);
color: var(--dark);
}
.col-8.d-sm-none > .list-group > a:hover {
text-decoration: none;
}
```
```{js echo=FALSE}
document.addEventListener('DOMContentLoaded', function() {
const logo = document.querySelector('.container .col-12 > img:first-child')
logo.classList.remove('rounded-circle')
logo.setAttribute(
'alt',
'Xaringan Club hex logo: a pink and black logo featuring a stylized eye ' +
'and the words "Xaringan Club" emblazoned on a soap bar. Inspired by the ' +
'Xaringan package hex and the Fight Club soap logo. Logo originally ' +
'created by Tan Ho and is released under CC0.'
)
document
.querySelectorAll(
'.col-8 > .list-inline > .list-inline-item > a > button, ' +
'.col-8 > .list-group button.list-group-item-action'
)
.forEach(el => {
el.classList.remove('btn-outline-dark')
el.classList.add('btn-outline-warning')
})
})
```