Skip to content

Commit 363494c

Browse files
committed
Make title authors on slide obey $presentation-title-slide-text-align
fixes #3843
1 parent 6f50227 commit 363494c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

src/resources/formats/revealjs/pandoc/title-fancy/title-slide.scss

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
/*-- scss:rules --*/
2+
$presentation-author-block-padding-left: if(
3+
$presentation-title-slide-text-align != left,
4+
0.5em,
5+
0
6+
);
7+
$presentation-author-block-padding-right: if(
8+
$presentation-title-slide-text-align != right,
9+
0.5em,
10+
0
11+
);
212

313
.reveal {
414
.quarto-title-block {
515
.quarto-title-authors {
616
display: flex;
7-
justify-content: center;
17+
justify-content: $presentation-title-slide-text-align;
818

919
.quarto-title-author {
10-
padding-left: 0.5em;
11-
padding-right: 0.5em;
20+
padding-left: $presentation-author-block-padding-left;
21+
padding-right: $presentation-author-block-padding-right;
1222

1323
a,
1424
a:hover,

0 commit comments

Comments
 (0)