forked from MathiasHarrer/Doing-Meta-Analysis-in-R
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.html
More file actions
174 lines (151 loc) · 3.22 KB
/
style.html
File metadata and controls
174 lines (151 loc) · 3.22 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<style>
.inline-figure {
border: 0;
box-shadow: none;
}
.boxinfo {
padding: 1em 1em 1em 3em;
margin-bottom: 10px;
background: #f5f5f5;
position:relative;
border-width: 3px;
border-style: solid;
border-color: #eeeeee;
border-radius: .25rem;
}
.boxinfo:before {
content: '\f0eb';
font-family: FontAwesome;
left:20px;
position:absolute;
font-size: 30px;
color: #277DB0;
}
.boxempty {
padding: 1em 1em 1em 1.1em;
margin-bottom: 10px;
background: #f5f5f5;
position:relative;
border-width: 3px;
border-style: solid;
border-color: #eeeeee;
border-radius: .25rem;
}
.boxempty:before {
content: '\f0eb';
font-family: FontAwesome;
left:0px;
position:absolute;
font-size: 30px;
color: #f5f5f5;
}
.boximportant {
padding: 1em 1em 1em 3em;
margin-bottom: 10px;
background: #f5f5f5;
position:relative;
border-width: 3px;
border-style: solid;
border-color: #eeeeee;
border-radius: .25rem;
}
.boximportant:before {
content: '\f06a';
font-family: FontAwesome;
left:13px;
position:absolute;
font-size: 30px;
color: #277DB0;
}
.boxreport {
padding: 1em 1em 1em 3em;
margin-bottom: 10px;
background: #f5f5f5;
position:relative;
border-width: 3px;
border-style: solid;
border-color: #eeeeee;
border-radius: .25rem;
}
.boxreport:before {
content: '\f570';
font-family: FontAwesome;
left:15px;
position:absolute;
font-size: 30px;
color: #277DB0;
}
.boxdmetar {
padding: 1em 1em 1em 3em;
margin-bottom: 10px;
background: #f5f5f5;
position:relative;
border-width: 3px;
border-style: solid;
border-color: #eeeeee;
border-radius: .25rem;
}
.csl-entry {
margin-bottom: 20px;
padding-left: 1.5em;
text-indent:-1.5em;
}
.boxdmetar:before {
content: '\f4f7';
font-family: FontAwesome;
left:10px;
position:absolute;
font-size: 30px;
color: #277DB0;
}
.boxquestion {
padding: 1em 1em 1em 3em;
margin-bottom: 10px;
background: #f5f5f5;
position:relative;
border-width: 3px;
border-style: solid;
border-color: #eeeeee;
border-radius: .25rem;
}
.boxquestion:before {
content: '\f059';
font-family: FontAwesome;
left:12px;
position:absolute;
font-size: 30px;
color: #277DB0;
}
img {
max-width: 100%;
height: auto;
border-radius: .25rem;
}
.firstcharacter {
color: #277DB0;
float: left;
font-size: 40px;
line-height: 50px;
padding-bottom: 2px;
padding-right: 8px;
padding-left: 2px;
}
</style>
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/x-mathjax-config">
const popovers = document.querySelectorAll('a.footnote-ref[data-toggle="popover"]');
for (let popover of popovers){
const div = document.createElement('div');
div.setAttribute('style', 'position: absolute; top: 0, left:0; width:0, height:0, overflow: hidden; visibility: hidden;');
div.innerHTML = popover.getAttribute('data-content');
// Will this work with TeX on its own line?
var has_math = div.querySelector("span.math");
if (has_math) {
document.body.appendChild(div);
MathJax.Hub.Queue(["Typeset", MathJax.Hub, div]);
MathJax.Hub.Queue(function(){
popover.setAttribute('data-content', div.innerHTML);
})
}
}
</script>