Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (26 sloc) 506 Bytes
<style>
.logo {
background-image: url(xaringan.png);
background-size: contain;
background-repeat: no-repeat;
position: absolute;
top: 1em;
right: 1em;
width: 110px;
height: 128px;
z-index: 0;
}
</style>
<script>
document
.querySelectorAll(
'.remark-slide-content' +
':not(.title-slide)' +
// add additional classes to exclude here, e.g.
// ':not(.inverse)' +
':not(.hide-logo)'
)
.forEach(el => {
el.innerHTML += '<div class="logo"></div>';
});
</script>
You can’t perform that action at this time.