-
Notifications
You must be signed in to change notification settings - Fork 5
/
_paragraphs.scss
95 lines (75 loc) · 1.08 KB
/
_paragraphs.scss
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
// Indent all paragraphs
[class^="p"] {
@include text-indent;
}
// Normal paragraph
.p {
}
// Flush left paragraph
.m {
text-indent: 0 !important;
}
// Embeded text opening
.pmo {
text-indent: 0;
@include indented(1, 0);
}
// Embedded text paragraph
.pm {
@include indented(1, 0);
}
// Embedded Text Refrain
.pmr {
text-align: right;
}
// Embedded text closing
.pmc {
@include indented(1, 0);
}
// Indented paragraph.
.pi {
@include indented(1, 0);
}
.pi1 {
@include indented(2, 0);
}
.pi2 {
@include indented(3, 0);
}
.pi3 {
@include indented(4, 0);
}
// Indented flush left (no margin)
.mi {
@include indented(1, 0);
text-indent: 0;
}
// No break, (currently we strip these out of the html)
.nb {
}
// Centered paragraph
.pc {
text-align: center;
text-indent: 0;
}
// Closure of an epistle/letter
.cls {
text-align: right;
}
[class^="li"] {
@include hanging-indent;
@include indented(1, 0);
}
.li2 {
@include indented(2, 0);
}
.li3 {
@include indented(3, 0);
}
.li4 {
@include indented(4, 0);
}
// Blank line
.b {
height: $base-line-height;
}