Skip to content

Commit bb59e14

Browse files
committed
Font size for callouts in revealjs is set by scalling down like smaller
1 parent 04184a0 commit bb59e14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/resources/formats/revealjs/quarto.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ $panel-sidebar-padding: 0.5em;
549549
}
550550

551551
// On callout we want to make the font-size smaller too
552-
.callout {
552+
div.callout {
553553
font-size: #{$presentation-font-smaller}em;
554554

555555
// But we don't want headers to change size and they are in em
@@ -940,6 +940,8 @@ kbd {
940940

941941
.callout-body,
942942
div.callout-title {
943+
// Font size is inherited from the parent div.callout
944+
// which is scaled down like .smaller
943945
font-size: inherit;
944946
}
945947
.callout-icon::before {
@@ -954,7 +956,6 @@ kbd {
954956
display: flex;
955957

956958
.callout-body {
957-
font-size: 1rem;
958959
font-weight: 400;
959960
}
960961

@@ -991,7 +992,6 @@ kbd {
991992

992993
&.callout-style-default {
993994
.callout-body {
994-
font-size: 0.9rem;
995995
font-weight: 400;
996996
}
997997
&.callout-titled {

0 commit comments

Comments
 (0)