-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyles.css
More file actions
43 lines (34 loc) · 1.11 KB
/
Copy pathstyles.css
File metadata and controls
43 lines (34 loc) · 1.11 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
@import url("https://netdna.bootstrapcdn.com/bootswatch/3.0.0/simplex/bootstrap.min.css");
.main-container { max-width: none; }
pre { color: inherit; background-color: inherit; }
code[class^="sourceCode"]::before {
content: attr(class);
display: block;
text-align: right;
font-size: 70%;
}
code[class^="sourceCode r"]::before { content: "R Source"; }
code[class^="sourceCode python"]::before { content: "Python Source"; }
code[class^="sourceCode bash"]::before { content: "Bash Source"; }
/* Only target inline code, not code inside pre blocks */
p code:not(.sourceCode),
li code:not(.sourceCode),
td code:not(.sourceCode) {
background-color: #f5f5f5;
color: #c7254e;
padding: 2px 4px;
border-radius: 3px;
}
.page-header-title {
font-size: 2rem; /* roughly equivalent to <font size="6"> */
}
.page-header-logo {
height: 50px;
vertical-align: middle;
}
/* Quarto only centers the image <p>/<div> inside a centered figure, not
the <figcaption> itself, so a resized image's caption is left-aligned
below it instead of centered under the image. */
.quarto-figure-center figcaption {
text-align: center;
}