buckram 1.8.6 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/assets/styles/components/elements/_blockquotes.scss +4 -2
- package/assets/styles/components/elements/_headings.scss +2 -1
- package/assets/styles/components/elements/_tables.scss +31 -26
- package/assets/styles/components/pages/_titles.scss +10 -5
- package/assets/styles/components/section-titles/_back-matter.scss +2 -1
- package/assets/styles/components/section-titles/_chapters.scss +4 -2
- package/assets/styles/components/section-titles/_front-matter.scss +4 -2
- package/assets/styles/components/section-titles/_generic.scss +4 -2
- package/assets/styles/components/section-titles/_parts.scss +4 -2
- package/assets/styles/components/specials/_pullquotes.scss +4 -2
- package/assets/styles/components/specials/_separators.scss +5 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.8.7](https://github.com/pressbooks/buckram/compare/v1.8.6...v1.8.7) (2025-09-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove usage of border color variable in shorthand ([#382](https://github.com/pressbooks/buckram/issues/382)) ([decb1af](https://github.com/pressbooks/buckram/commit/decb1af876745c6adf78e6eb4e186c0a7e6b6d63))
|
|
9
|
+
|
|
3
10
|
## [1.8.6](https://github.com/pressbooks/buckram/compare/v1.8.5...v1.8.6) (2025-03-11)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
padding: if-map-get($blockquote-padding-top, $type) if-map-get($blockquote-padding-right, $type) if-map-get($blockquote-padding-bottom, $type) if-map-get($blockquote-padding-left, $type);
|
|
18
18
|
letter-spacing: if-map-get($blockquote-letter-spacing, $type);
|
|
19
19
|
word-spacing: if-map-get($blockquote-word-spacing, $type);
|
|
20
|
-
border-left: if-map-get($blockquote-border-left-width, $type) $blockquote-border-left-style
|
|
20
|
+
border-left: if-map-get($blockquote-border-left-width, $type) $blockquote-border-left-style;
|
|
21
|
+
border-left-color: $blockquote-border-left-color;
|
|
21
22
|
@if $type == 'prince' {
|
|
22
23
|
line-height: $blockquote-line-height;
|
|
23
24
|
}
|
|
@@ -71,7 +72,8 @@
|
|
|
71
72
|
padding: if-map-get($blockquote-padding-top, $type) if-map-get($blockquote-padding-right, $type) if-map-get($blockquote-padding-bottom, $type) if-map-get($blockquote-padding-left, $type);
|
|
72
73
|
letter-spacing: if-map-get($blockquote-letter-spacing, $type);
|
|
73
74
|
word-spacing: if-map-get($blockquote-word-spacing, $type);
|
|
74
|
-
border-left: if-map-get($blockquote-border-left-width, $type) $blockquote-border-left-style
|
|
75
|
+
border-left: if-map-get($blockquote-border-left-width, $type) $blockquote-border-left-style;
|
|
76
|
+
border-left-color: $blockquote-border-left-color;
|
|
75
77
|
line-height: $blockquote-line-height;
|
|
76
78
|
text-align: $blockquote-align;
|
|
77
79
|
}
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
@mixin heading($heading) {
|
|
12
12
|
#{$heading} {
|
|
13
|
-
border-bottom: map-get($heading-border-bottom-style-map, $heading) if-map-get(map-get($heading-border-bottom-width-map, $heading), $type)
|
|
13
|
+
border-bottom: map-get($heading-border-bottom-style-map, $heading) if-map-get(map-get($heading-border-bottom-width-map, $heading), $type);
|
|
14
|
+
border-bottom-color: if-map-get(map-get($heading-border-bottom-color-map, $heading), $type);
|
|
14
15
|
margin-top: if-map-get(map-get($heading-margin-top-map, $heading), $type);
|
|
15
16
|
margin-bottom: if-map-get(map-get($heading-margin-bottom-map, $heading), $type);
|
|
16
17
|
padding-bottom: if-map-get(map-get($heading-padding-bottom-map, $heading), $type);
|
|
@@ -34,10 +34,11 @@
|
|
|
34
34
|
|
|
35
35
|
text-align: $table-align;
|
|
36
36
|
border-collapse: collapse;
|
|
37
|
-
border-
|
|
38
|
-
border-
|
|
39
|
-
border-
|
|
40
|
-
border-
|
|
37
|
+
border-color: if-map-get($line-color-1, $type);
|
|
38
|
+
border-top: $table-border-width solid;
|
|
39
|
+
border-right: if-map-get($table-border-right-width, $type) if-map-get($table-border-right-style, $type);
|
|
40
|
+
border-bottom: $table-border-width solid;
|
|
41
|
+
border-left: if-map-get($table-border-left-width, $type) if-map-get($table-border-left-style, $type);
|
|
41
42
|
|
|
42
43
|
p {
|
|
43
44
|
text-align: $table-align;
|
|
@@ -56,8 +57,8 @@
|
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
&.lines tr {
|
|
59
|
-
border-top: $table-border-width solid
|
|
60
|
-
border-bottom: $table-border-width solid
|
|
60
|
+
border-top: $table-border-width solid;
|
|
61
|
+
border-bottom: $table-border-width solid;
|
|
61
62
|
border-color: if-map-get($line-color-1, $type);
|
|
62
63
|
}
|
|
63
64
|
|
|
@@ -81,7 +82,7 @@
|
|
|
81
82
|
|
|
82
83
|
&.border {
|
|
83
84
|
border: $table-border-width solid;
|
|
84
|
-
border-color: if-map-get($line-color-1, $type);
|
|
85
|
+
border-color: if-map-get($line-color-1, $type);
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
&.no-border,
|
|
@@ -105,7 +106,7 @@
|
|
|
105
106
|
&.grid tfoot,
|
|
106
107
|
&.grid thead {
|
|
107
108
|
border: 1px solid;
|
|
108
|
-
border-color: if-map-get($line-color-1, $type);
|
|
109
|
+
border-color: if-map-get($line-color-1, $type);
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
&.alignleft {
|
|
@@ -158,15 +159,16 @@
|
|
|
158
159
|
|
|
159
160
|
text-align: $table-th-align;
|
|
160
161
|
vertical-align: $table-th-vertical-align;
|
|
161
|
-
border-
|
|
162
|
-
border-
|
|
163
|
-
border-
|
|
164
|
-
border-
|
|
162
|
+
border-color: if-map-get($line-color-1, $type);
|
|
163
|
+
border-top: if-map-get($table-th-border-top-width, $type) if-map-get($table-th-border-top-style, $type);
|
|
164
|
+
border-right: if-map-get($table-th-border-right-width, $type) if-map-get($table-th-border-right-style, $type);
|
|
165
|
+
border-bottom: if-map-get($table-th-border-bottom-width, $type) if-map-get($table-th-border-bottom-style, $type);
|
|
166
|
+
border-left: if-map-get($table-th-border-left-width, $type) if-map-get($table-th-border-left-style, $type);
|
|
165
167
|
}
|
|
166
168
|
|
|
167
169
|
td {
|
|
168
170
|
border: if-map-get($table-td-border-width, $type) if-map-get($table-td-border-style, $type);
|
|
169
|
-
border-color: if-map-get($line-color-1, $type);
|
|
171
|
+
border-color: if-map-get($line-color-1, $type);
|
|
170
172
|
padding: $table-td-padding-top $table-td-padding-right $table-td-padding-bottom $table-td-padding-left;
|
|
171
173
|
@if $type == 'prince' {
|
|
172
174
|
line-height: $table-td-line-height;
|
|
@@ -177,8 +179,9 @@
|
|
|
177
179
|
}
|
|
178
180
|
|
|
179
181
|
tr {
|
|
180
|
-
border-top: if-map-get($table-tr-border-top-width, $type) if-map-get($table-tr-border-top-style, $type)
|
|
181
|
-
border-bottom: if-map-get($table-tr-border-bottom-width, $type) if-map-get($table-tr-border-bottom-style, $type)
|
|
182
|
+
border-top: if-map-get($table-tr-border-top-width, $type) if-map-get($table-tr-border-top-style, $type);
|
|
183
|
+
border-bottom: if-map-get($table-tr-border-bottom-width, $type) if-map-get($table-tr-border-bottom-style, $type);
|
|
184
|
+
border-color: if-map-get($line-color-1, $type);
|
|
182
185
|
}
|
|
183
186
|
} @else {
|
|
184
187
|
.front-matter,
|
|
@@ -198,8 +201,8 @@
|
|
|
198
201
|
line-height: $table-line-height;
|
|
199
202
|
text-align: $table-align;
|
|
200
203
|
border-collapse: collapse;
|
|
201
|
-
border-top: $table-border-width solid
|
|
202
|
-
border-bottom: $table-border-width solid
|
|
204
|
+
border-top: $table-border-width solid;
|
|
205
|
+
border-bottom: $table-border-width solid;
|
|
203
206
|
border-color: if-map-get($line-color-1, $type);
|
|
204
207
|
|
|
205
208
|
p {
|
|
@@ -217,8 +220,8 @@
|
|
|
217
220
|
}
|
|
218
221
|
|
|
219
222
|
&.lines tr {
|
|
220
|
-
border-top: $table-border-width solid
|
|
221
|
-
border-bottom: $table-border-width solid
|
|
223
|
+
border-top: $table-border-width solid;
|
|
224
|
+
border-bottom: $table-border-width solid;
|
|
222
225
|
border-color: if-map-get($line-color-1, $type);
|
|
223
226
|
}
|
|
224
227
|
|
|
@@ -242,7 +245,7 @@
|
|
|
242
245
|
|
|
243
246
|
&.border {
|
|
244
247
|
border: $table-border-width solid;
|
|
245
|
-
border-color: if-map-get($line-color-1, $type);
|
|
248
|
+
border-color: if-map-get($line-color-1, $type);
|
|
246
249
|
}
|
|
247
250
|
|
|
248
251
|
&.no-border,
|
|
@@ -266,7 +269,7 @@
|
|
|
266
269
|
&.grid tfoot,
|
|
267
270
|
&.grid thead {
|
|
268
271
|
border: 1px solid;
|
|
269
|
-
border-color: if-map-get($line-color-1, $type);
|
|
272
|
+
border-color: if-map-get($line-color-1, $type);
|
|
270
273
|
}
|
|
271
274
|
|
|
272
275
|
&.alignleft {
|
|
@@ -317,8 +320,9 @@
|
|
|
317
320
|
line-height: $table-th-line-height;
|
|
318
321
|
text-align: $table-th-align;
|
|
319
322
|
vertical-align: middle;
|
|
320
|
-
border-
|
|
321
|
-
border-
|
|
323
|
+
border-color: if-map-get($line-color-1, $type);
|
|
324
|
+
border-top: if-map-get($table-th-border-top-width, $type) if-map-get($table-th-border-top-style, $type);
|
|
325
|
+
border-bottom: if-map-get($table-th-border-bottom-width, $type) if-map-get($table-th-border-bottom-style, $type);
|
|
322
326
|
}
|
|
323
327
|
|
|
324
328
|
td {
|
|
@@ -327,12 +331,13 @@
|
|
|
327
331
|
text-align: $table-td-align;
|
|
328
332
|
vertical-align: middle;
|
|
329
333
|
border: if-map-get($table-td-border-width, $type) if-map-get($table-td-border-style, $type);
|
|
330
|
-
border-color: if-map-get($line-color-1, $type);
|
|
334
|
+
border-color: if-map-get($line-color-1, $type);
|
|
331
335
|
}
|
|
332
336
|
|
|
333
337
|
tr {
|
|
334
|
-
border-
|
|
335
|
-
border-
|
|
338
|
+
border-color: if-map-get($line-color-1, $type);
|
|
339
|
+
border-top: if-map-get($table-tr-border-top-width, $type) if-map-get($table-tr-border-top-style, $type);
|
|
340
|
+
border-bottom: if-map-get($table-tr-border-bottom-width, $type) if-map-get($table-tr-border-bottom-style, $type);
|
|
336
341
|
}
|
|
337
342
|
}
|
|
338
343
|
}
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
word-spacing: $title-title-word-spacing;
|
|
40
40
|
text-align: $title-title-align;
|
|
41
41
|
text-transform: $title-title-text-transform;
|
|
42
|
-
border-bottom: if-map-get($title-title-border-bottom-width, $type) $title-title-border-bottom-style
|
|
42
|
+
border-bottom: if-map-get($title-title-border-bottom-width, $type) $title-title-border-bottom-style;
|
|
43
|
+
border-bottom-color: if-map-get($title-title-border-bottom-color, $type);
|
|
43
44
|
padding-bottom: if-map-get($title-title-padding-bottom, $type);
|
|
44
45
|
@if $type == 'prince' {
|
|
45
46
|
prince-bookmark-level: none;
|
|
@@ -76,7 +77,8 @@
|
|
|
76
77
|
word-spacing: $title-subtitle-word-spacing;
|
|
77
78
|
text-align: $title-subtitle-align;
|
|
78
79
|
text-transform: $title-subtitle-text-transform;
|
|
79
|
-
border-bottom: if-map-get($title-subtitle-border-bottom-width, $type) $title-subtitle-border-bottom-style
|
|
80
|
+
border-bottom: if-map-get($title-subtitle-border-bottom-width, $type) $title-subtitle-border-bottom-style;
|
|
81
|
+
border-bottom-color: if-map-get($title-subtitle-border-bottom-color, $type);
|
|
80
82
|
padding-bottom: if-map-get($title-subtitle-padding-bottom, $type);
|
|
81
83
|
@if $type != 'epub' {
|
|
82
84
|
line-height: if-map-get($title-subtitle-line-height, $type);
|
|
@@ -97,7 +99,8 @@
|
|
|
97
99
|
text-align: $title-author-align;
|
|
98
100
|
text-transform: $title-author-text-transform;
|
|
99
101
|
text-indent: 0;
|
|
100
|
-
border-bottom: if-map-get($title-author-border-bottom-width, $type) $title-author-border-bottom-style
|
|
102
|
+
border-bottom: if-map-get($title-author-border-bottom-width, $type) $title-author-border-bottom-style;
|
|
103
|
+
border-bottom-color: if-map-get($title-author-border-bottom-color, $type);
|
|
101
104
|
padding-bottom: if-map-get($title-author-padding-bottom, $type);
|
|
102
105
|
@if $type != 'epub' {
|
|
103
106
|
line-height: if-map-get($title-author-line-height, $type);
|
|
@@ -133,7 +136,8 @@ div.publisher-logo {
|
|
|
133
136
|
text-align: $title-publisher-align;
|
|
134
137
|
text-transform: $title-publisher-text-transform;
|
|
135
138
|
text-indent: 0;
|
|
136
|
-
border-bottom: if-map-get($title-publisher-border-bottom-width, $type) $title-publisher-border-bottom-style
|
|
139
|
+
border-bottom: if-map-get($title-publisher-border-bottom-width, $type) $title-publisher-border-bottom-style;
|
|
140
|
+
border-bottom-color: if-map-get($title-publisher-border-bottom-color, $type);
|
|
137
141
|
padding-bottom: if-map-get($title-publisher-padding-bottom, $type);
|
|
138
142
|
}
|
|
139
143
|
|
|
@@ -156,7 +160,8 @@ div.publisher-logo {
|
|
|
156
160
|
text-align: $title-publisher-city-align;
|
|
157
161
|
text-transform: $title-publisher-city-text-transform;
|
|
158
162
|
text-indent: 0;
|
|
159
|
-
border-bottom: if-map-get($title-publisher-city-border-bottom-width, $type) $title-publisher-city-border-bottom-style
|
|
163
|
+
border-bottom: if-map-get($title-publisher-city-border-bottom-width, $type) $title-publisher-city-border-bottom-style;
|
|
164
|
+
border-bottom-color: if-map-get($title-publisher-city-border-bottom-color, $type);
|
|
160
165
|
padding-bottom: if-map-get($title-publisher-city-padding-bottom, $type);
|
|
161
166
|
}
|
|
162
167
|
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
|
|
31
31
|
text-align: $back-matter-title-align;
|
|
32
32
|
text-transform: $back-matter-title-text-transform;
|
|
33
|
-
border-bottom: if-map-get($back-matter-title-border-bottom-width, $type) $back-matter-title-border-bottom-style
|
|
33
|
+
border-bottom: if-map-get($back-matter-title-border-bottom-width, $type) $back-matter-title-border-bottom-style;
|
|
34
|
+
border-bottom-color: if-map-get($back-matter-title-border-bottom-color, $type);
|
|
34
35
|
padding-bottom: if-map-get($back-matter-title-padding-bottom, $type);
|
|
35
36
|
letter-spacing: if-map-get($back-matter-title-letter-spacing, $type);
|
|
36
37
|
word-spacing: if-map-get($back-matter-title-word-spacing, $type);
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
margin: if-map-get($section-header-margin-top, $type) if-map-get($section-header-margin-right, $type) if-map-get($section-header-margin-bottom, $type) if-map-get($section-header-margin-left, $type);
|
|
10
10
|
|
|
11
11
|
.chapter-title {
|
|
12
|
-
border-bottom: if-map-get($chapter-title-border-bottom-width, $type) $chapter-title-border-bottom-style
|
|
12
|
+
border-bottom: if-map-get($chapter-title-border-bottom-width, $type) $chapter-title-border-bottom-style;
|
|
13
|
+
border-bottom-color: if-map-get($chapter-title-border-bottom-color, $type);
|
|
13
14
|
padding-bottom: if-map-get($chapter-title-padding-bottom, $type);
|
|
14
15
|
display: $chapter-title-display;
|
|
15
16
|
margin: if-map-get($chapter-title-margin-top, $type) if-map-get($chapter-title-margin-right, $type) 0 if-map-get($chapter-title-margin-left, $type);
|
|
@@ -43,7 +44,8 @@
|
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
.chapter-number {
|
|
46
|
-
border-bottom: if-map-get($chapter-number-border-bottom-width, $type) $chapter-number-border-bottom-style
|
|
47
|
+
border-bottom: if-map-get($chapter-number-border-bottom-width, $type) $chapter-number-border-bottom-style;
|
|
48
|
+
border-bottom-color: if-map-get($chapter-number-border-bottom-color, $type);
|
|
47
49
|
display: $chapter-number-display;
|
|
48
50
|
margin: if-map-get($chapter-number-margin-top, $type) if-map-get($chapter-number-margin-right, $type) if-map-get($chapter-number-margin-bottom, $type) if-map-get($chapter-number-margin-left, $type);
|
|
49
51
|
padding-bottom: if-map-get($chapter-number-padding-bottom, $type);
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
font-size: if-map-get($front-matter-title-font-size, $type);
|
|
22
22
|
font-style: $front-matter-title-font-style;
|
|
23
23
|
font-weight: $front-matter-title-font-weight;
|
|
24
|
-
border-bottom: $front-matter-title-border-bottom-style if-map-get($front-matter-title-border-bottom-width, $type)
|
|
24
|
+
border-bottom: $front-matter-title-border-bottom-style if-map-get($front-matter-title-border-bottom-width, $type);
|
|
25
|
+
border-bottom-color: if-map-get($front-matter-title-border-bottom-color, $type);
|
|
25
26
|
letter-spacing: if-map-get($front-matter-title-letter-spacing, $type);
|
|
26
27
|
word-spacing: if-map-get($front-matter-title-word-spacing, $type);
|
|
27
28
|
hyphens: none;
|
|
@@ -109,7 +110,8 @@
|
|
|
109
110
|
#toc h1 {
|
|
110
111
|
display: block;
|
|
111
112
|
margin: if-map-get($toc-title-margin-top, $type) if-map-get($toc-title-margin-right, $type) if-map-get($toc-title-margin-bottom, $type) if-map-get($toc-title-margin-left, $type);
|
|
112
|
-
border-bottom: $toc-title-border-bottom-style if-map-get($toc-title-border-bottom-width, $type)
|
|
113
|
+
border-bottom: $toc-title-border-bottom-style if-map-get($toc-title-border-bottom-width, $type);
|
|
114
|
+
border-bottom-color: if-map-get($toc-title-border-bottom-color, $type);
|
|
113
115
|
padding-bottom: if-map-get($toc-title-padding-bottom, $type);
|
|
114
116
|
font-family: $toc-title-font-family;
|
|
115
117
|
font-size: if-map-get($toc-title-font-size, $type);
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
text-transform: $part-title-text-transform;
|
|
30
30
|
|
|
31
31
|
span {
|
|
32
|
-
border-bottom: $part-number-border-bottom-style if-map-get($part-number-border-bottom-width, $type)
|
|
32
|
+
border-bottom: $part-number-border-bottom-style if-map-get($part-number-border-bottom-width, $type);
|
|
33
|
+
border-bottom-color: if-map-get($part-number-border-bottom-color, $type);
|
|
33
34
|
display: $part-number-display;
|
|
34
35
|
margin: if-map-get($part-number-margin-top, $type) if-map-get($part-number-margin-right, $type) if-map-get($part-number-margin-bottom, $type) if-map-get($part-number-margin-left, $type);
|
|
35
36
|
padding-bottom: if-map-get($part-number-padding-bottom, $type);
|
|
@@ -125,7 +126,8 @@
|
|
|
125
126
|
text-transform: $chapter-title-text-transform;
|
|
126
127
|
|
|
127
128
|
span {
|
|
128
|
-
border-bottom: $chapter-number-border-bottom-style if-map-get($chapter-number-border-bottom-width, $type)
|
|
129
|
+
border-bottom: $chapter-number-border-bottom-style if-map-get($chapter-number-border-bottom-width, $type);
|
|
130
|
+
border-bottom-color: if-map-get($chapter-number-border-bottom-color, $type);
|
|
129
131
|
display: $chapter-number-display;
|
|
130
132
|
margin: if-map-get($chapter-number-margin-top, $type) if-map-get($chapter-number-margin-right, $type) if-map-get($chapter-number-margin-bottom, $type) if-map-get($chapter-number-margin-left, $type);
|
|
131
133
|
padding-bottom: if-map-get($chapter-number-padding-bottom, $type);
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
margin: if-map-get($section-header-margin-top, $type) if-map-get($section-header-margin-right, $type) if-map-get($section-header-margin-bottom, $type) if-map-get($section-header-margin-left, $type);
|
|
12
12
|
|
|
13
13
|
.part-number {
|
|
14
|
-
border-bottom: $part-number-border-bottom-style if-map-get($part-number-border-bottom-width, $type)
|
|
14
|
+
border-bottom: $part-number-border-bottom-style if-map-get($part-number-border-bottom-width, $type);
|
|
15
|
+
border-bottom-color: if-map-get($part-number-border-bottom-color, $type);
|
|
15
16
|
display: $part-number-display;
|
|
16
17
|
margin: if-map-get($part-number-margin-top, $type) if-map-get($part-number-margin-right, $type) if-map-get($part-number-margin-bottom, $type) if-map-get($part-number-margin-left, $type);
|
|
17
18
|
padding-bottom: if-map-get($part-number-padding-bottom, $type);
|
|
@@ -51,7 +52,8 @@
|
|
|
51
52
|
page-break-after: avoid;
|
|
52
53
|
letter-spacing: if-map-get($part-title-letter-spacing, $type);
|
|
53
54
|
word-spacing: if-map-get($part-title-word-spacing, $type);
|
|
54
|
-
border-bottom: if-map-get($part-title-border-bottom-width, $type) $part-title-border-bottom-style
|
|
55
|
+
border-bottom: if-map-get($part-title-border-bottom-width, $type) $part-title-border-bottom-style;
|
|
56
|
+
border-bottom-color: if-map-get($part-title-border-bottom-color, $type);
|
|
55
57
|
|
|
56
58
|
@if $part-title-decoration-content != "" or $part-title-decoration-display != none {
|
|
57
59
|
&::after {
|
|
@@ -38,8 +38,10 @@ aside,
|
|
|
38
38
|
|
|
39
39
|
text-align: $pullquote-align;
|
|
40
40
|
text-indent: 0;
|
|
41
|
-
border-top: if-map-get($pullquote-border-top-width, $type) $pullquote-border-top-style
|
|
42
|
-
border-
|
|
41
|
+
border-top: if-map-get($pullquote-border-top-width, $type) $pullquote-border-top-style;
|
|
42
|
+
border-top-color: $pullquote-border-top-color;
|
|
43
|
+
border-bottom: if-map-get($pullquote-border-bottom-width, $type) $pullquote-border-bottom-style;
|
|
44
|
+
border-bottom-color: $pullquote-border-bottom-color;
|
|
43
45
|
padding-top: if-map-get($pullquote-padding-top, $type);
|
|
44
46
|
padding-bottom: if-map-get($pullquote-padding-bottom, $type);
|
|
45
47
|
page-break-inside: avoid;
|
|
@@ -28,16 +28,18 @@ hr {
|
|
|
28
28
|
margin: if-map-get($hr-margin-top, $type) auto $hr-margin-bottom;
|
|
29
29
|
border-top: none;
|
|
30
30
|
border-right: none;
|
|
31
|
-
border-bottom: $hr-border-style $hr-border-width
|
|
31
|
+
border-bottom: $hr-border-style $hr-border-width;
|
|
32
|
+
border-bottom-color: $hr-border-color;
|
|
32
33
|
border-left: none;
|
|
33
34
|
text-align: center;
|
|
34
35
|
|
|
35
36
|
&.break-symbols {
|
|
36
37
|
padding-top: if-map-get($hr-break-symbols-padding-top, $type);
|
|
37
|
-
border
|
|
38
|
+
border: 0;
|
|
39
|
+
border-top: if-map-get($hr-break-symbols-border-top-width, $type) if-map-get($hr-break-symbols-border-top-style, $type);
|
|
40
|
+
border-top-color: if-map-get($hr-break-symbols-border-top-color, $type);
|
|
38
41
|
margin-top: if-map-get($hr-break-symbols-margin-top, $type);
|
|
39
42
|
margin-bottom: $hr-break-symbols-margin-bottom;
|
|
40
|
-
border: 0;
|
|
41
43
|
|
|
42
44
|
&::after {
|
|
43
45
|
display: block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buckram",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.7",
|
|
4
4
|
"description": "Opinionated SCSS components for books (web, EPUB and PDF).",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "composer install && composer test",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"pixelmatch": "^5.2.1",
|
|
30
30
|
"polyserve": "^0.27.15",
|
|
31
31
|
"pressbooks-build-tools": "^4.0.0",
|
|
32
|
-
"puppeteer": "^
|
|
32
|
+
"puppeteer": "^23.6.0",
|
|
33
33
|
"sassdoc": "^2.7.1",
|
|
34
34
|
"type-detect": "^4.0.8"
|
|
35
35
|
},
|