Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/preview/jats/quarto-jats-preview.css
12923 views
1
/* Stylesheet for NLM/NCBI Journal Publishing 3.0 Preview HTML
2
January 2009
3
4
~~~~~~~~~~~~~~
5
National Center for Biotechnology Information (NCBI)
6
National Library of Medicine (NLM)
7
~~~~~~~~~~~~~~
8
9
This work is in the public domain and may be reproduced, published or
10
otherwise used without the permission of the National Library of Medicine (NLM).
11
12
We request only that the NLM is cited as the source of the work.
13
14
Although all reasonable efforts have been taken to ensure the accuracy and
15
reliability of the software and data, the NLM and the U.S. Government do
16
not and cannot warrant the performance or results that may be obtained by
17
using this software or data. The NLM and the U.S. Government disclaim all
18
warranties, express or implied, including warranties of performance,
19
merchantability or fitness for any particular purpose.
20
21
*/
22
23
/* --------------- Page setup ------------------------ */
24
25
/* page and text defaults */
26
27
body {
28
margin-left: 8%;
29
margin-right: 8%;
30
background-color: #f8f8f8;
31
}
32
33
img {
34
max-width: 100%;
35
}
36
37
div > *:first-child {
38
margin-top: 0em;
39
}
40
41
div {
42
margin-top: 0.5em;
43
}
44
45
div.front,
46
div.footer {
47
}
48
49
div.section-abstract {
50
width: 80%;
51
margin: auto;
52
margin-top: 2em;
53
margin-bottom: 2em;
54
}
55
56
div.section-abstract p {
57
font-size: 0.9em;
58
font-family: sans-serif;
59
}
60
61
.back,
62
.body {
63
font-family: serif;
64
}
65
66
div.metadata {
67
font-family: sans-serif;
68
}
69
div.centered {
70
text-align: center;
71
}
72
73
div.table {
74
display: table;
75
}
76
div.metadata.table {
77
width: 100%;
78
}
79
div.row {
80
display: table-row;
81
}
82
div.cell {
83
display: table-cell;
84
padding-left: 0.25em;
85
padding-right: 0.25em;
86
}
87
88
div.fig img {
89
max-width: 100%;
90
}
91
92
div.metadata div.cell {
93
vertical-align: top;
94
}
95
96
div.two-column div.cell {
97
width: 50%;
98
}
99
100
div.one-column div.cell.spanning {
101
width: 100%;
102
}
103
104
div.metadata-group {
105
margin-top: 0.5em;
106
font-size: 75%;
107
}
108
109
div.metadata-group > p,
110
div.metadata-group > div {
111
margin-top: 0.5em;
112
}
113
114
div.metadata-area * {
115
margin: 0em;
116
}
117
118
div.metadata.authors {
119
width: 80%;
120
margin: auto;
121
}
122
123
div.metadata-chunk {
124
margin-left: 1em;
125
}
126
127
div.branding {
128
margin-top: 4em;
129
text-align: center;
130
font-size: 0.75em;
131
font-family: sans-serif;
132
opacity: 50%;
133
}
134
135
div.document-title-notes {
136
text-align: center;
137
width: 60%;
138
margin-left: auto;
139
margin-right: auto;
140
}
141
142
div.footnote {
143
font-size: 90%;
144
}
145
146
/* rules */
147
hr.part-rule {
148
border: 1x solid grey;
149
width: 100%;
150
margin-top: 1em;
151
margin-bottom: 1em;
152
opacity: 50%;
153
}
154
155
hr.section-rule {
156
display: none;
157
}
158
159
/* superior numbers that are cross-references */
160
.xref {
161
color: red;
162
}
163
164
/* generated text */
165
.generated {
166
color: gray;
167
}
168
169
.warning,
170
tex-math {
171
font-size: 80%;
172
font-family: sans-serif;
173
}
174
175
.warning {
176
color: red;
177
}
178
179
.tex-math {
180
color: green;
181
}
182
183
.data {
184
color: black;
185
}
186
187
.formula {
188
font-family: sans-serif;
189
font-size: 90%;
190
}
191
192
/* --------------- Titling levels -------------------- */
193
194
h1,
195
h2,
196
h3,
197
h4,
198
h5,
199
h6 {
200
display: block;
201
margin-top: 0em;
202
margin-bottom: 0.5em;
203
font-family: helvetica, sans-serif;
204
font-weight: bold;
205
color: midnightblue;
206
}
207
/* titling level 1: document title */
208
.document-title {
209
text-align: center;
210
}
211
212
/* callout titles appear in a left column (table cell)
213
opposite what they head */
214
.callout-title {
215
text-align: right;
216
margin-top: 0.5em;
217
margin-right: 1em;
218
font-size: 140%;
219
}
220
221
div.section,
222
div.back-section {
223
margin-top: 1em;
224
margin-bottom: 0.5em;
225
}
226
227
div.panel {
228
background-color: white;
229
font-size: 90%;
230
border: thin solid black;
231
padding-left: 0.5em;
232
padding-right: 0.5em;
233
padding-top: 0.5em;
234
padding-bottom: 0.5em;
235
margin-top: 0.5em;
236
margin-bottom: 0.5em;
237
}
238
239
div.blockquote {
240
font-size: 90%;
241
margin-left: 1em;
242
margin-right: 1em;
243
margin-top: 0.5em;
244
margin-bottom: 0.5em;
245
}
246
247
div.caption {
248
margin-top: 0.5em;
249
margin-bottom: 0.5em;
250
}
251
252
div.speech {
253
margin-left: 1em;
254
margin-right: 1em;
255
margin-top: 0.5em;
256
margin-bottom: 0.5em;
257
}
258
259
div.verse-group {
260
margin-left: 1em;
261
margin-top: 0.5em;
262
margin-bottom: 0.5em;
263
}
264
265
div.verse-group div.verse-group {
266
margin-left: 1em;
267
margin-top: 0em;
268
margin-bottom: 0em;
269
}
270
271
div.note {
272
margin-top: 0em;
273
margin-left: 1em;
274
font-size: 85%;
275
}
276
277
.ref-label {
278
margin-top: 0em;
279
vertical-align: top;
280
}
281
282
.ref-content {
283
margin-top: 0em;
284
padding-left: 0.25em;
285
}
286
287
h5.label {
288
margin-top: 0em;
289
margin-bottom: 0em;
290
}
291
292
p {
293
margin-top: 0.5em;
294
margin-bottom: 0em;
295
}
296
297
p.first {
298
margin-top: 0em;
299
}
300
301
p.verse-line,
302
p.citation {
303
margin-top: 0em;
304
margin-bottom: 0em;
305
margin-left: 2em;
306
text-indent: -2em;
307
}
308
309
p.address-line {
310
margin-top: 0em;
311
margin-bottom: 0em;
312
margin-left: 2em;
313
}
314
315
ul,
316
ol {
317
margin-top: 0.5em;
318
}
319
320
li {
321
margin-top: 0.5em;
322
margin-bottom: 0em;
323
}
324
li > p {
325
margin-top: 0.2em;
326
margin-bottom: 0em;
327
}
328
329
div.def-list {
330
border-spacing: 0.25em;
331
}
332
333
div.def-list div.cell {
334
vertical-align: top;
335
border-bottom: thin solid black;
336
padding-bottom: 0.5em;
337
}
338
339
div.def-list div.def-list-head {
340
text-align: left;
341
}
342
343
/* text decoration */
344
.label {
345
font-weight: bold;
346
font-family: sans-serif;
347
font-size: 80%;
348
}
349
350
.monospace {
351
font-family: monospace;
352
}
353
354
.overline {
355
text-decoration: overline;
356
}
357
358
a {
359
text-decoration: none;
360
}
361
a:hover {
362
text-decoration: underline;
363
}
364
365
/* ---------------- End ------------------------------ */
366
367