-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathinsert-logo.html
97 lines (90 loc) · 2.17 KB
/
insert-logo.html
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<style>
.logo-inra {
background-image: url(images/logos/Logo-INRAE_Transparent.png);
background-size: contain;
background-repeat: no-repeat;
position: fixed;
bottom: -4em;
width: 53px;
height: 110px;
z-index: 0;
margin-bottom: -10px;
left:25em;
}
.logo-migale {
background-image: url(images/logos/migale-orange.png);
background-size: contain;
background-repeat: no-repeat;
position: fixed;
bottom: -4em;
width: 85px;
left: 7em;
height: 116px;
z-index: 0;
margin-bottom: -10px;
left:28em;
}
.logo-univ {
background-image: url(../images/logo_UParis.png);
background-size: contain;
background-repeat: no-repeat;
position: fixed;
width: 205px;
left: 7em;
height: 60px;
z-index: 0;
left: 20em;
}
.logo-ifb {
background-image: url(../images/logo-ifb_small.png);
background-size: contain;
background-repeat: no-repeat;
position: fixed;
width: 118px;
left: 7em;
height: 100%;
z-index: 0;
left: 34em;
}
.logo-inrae {
background-image: url(../images/inrae.png);
background-size: contain;
background-repeat: no-repeat;
position: fixed;
width: 118px;
left: 7em;
height: 100%;
z-index: 0;
left: 16em;
}
.logo-migale {
background-image: url(../images/migale-orange.png);
background-size: contain;
background-repeat: no-repeat;
position: fixed;
width: 118px;
left: 7em;
height: 100%;
z-index: 0;
left: 18em;
}
</style>
<script>
document
.querySelectorAll(
'.remark-slide-content' +
'.title-slide' +
// add additional classes to exclude here, e.g.
// ':not(.inverse)' +
':not(.hide-logo)'
)
.forEach(el => {
//el.innerHTML += '<div class="logo-inra"></div>';
//el.innerHTML += '<div class="logo-migale"></div>';
el.innerHTML += '<p style="text-align: center;"> \
<img src="../images/logo-ifb_small.png" height="60px"></img> \
<img src="../images/logo_UParis.png" height="60px"></img></p>';
el.innerHTML += '<p style="text-align: center;"><img src="../images/migale-orange.png" height="40px"></img> \
<img src="../images/inrae.png" height="35px"></img></p><p style="text-align: center;"><img src="../images/licence.png" height="40px"></img></p>';
});
</script>