-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
46 lines (41 loc) · 1011 Bytes
/
Copy pathstyles.css
File metadata and controls
46 lines (41 loc) · 1011 Bytes
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
/*
* Pretext Justify — Knuth-Plass optimal justification for Obsidian.
*
* .pretext-container replaces the original <p> element.
* .pretext-line each justified line is a block-level <div>.
*/
.pretext-container {
display: block;
/* Inherit line-height and font from the theme */
line-height: inherit;
font-size: inherit;
font-family: inherit;
}
.pretext-container + .pretext-container {
margin-top: 0;
}
.pretext-line {
display: block;
white-space: nowrap;
overflow: visible;
/* Last lines get automatic flush-left via the absence of word-spacing */
}
/*
* When the plugin is disabled, ensure text returns to normal wrapping.
*/
.markdown-rendered p {
word-break: normal;
overflow-wrap: break-word;
}
/*
* Slider value label: shows current value inline before the slider.
*/
.slider-value {
display: inline-block;
min-width: 2.5em;
text-align: right;
margin-right: 0.5em;
font-variant-numeric: tabular-nums;
color: var(--text-muted);
font-size: var(--font-ui-small);
}