Skip to content

Commit 04184a0

Browse files
committed
Move common rule in same place
1 parent ac84870 commit 04184a0

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/resources/formats/revealjs/quarto.scss

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,11 @@ kbd {
933933

934934
&.callout-style-simple,
935935
&.callout-style-default {
936+
border-left: $callout-border-width solid #acacac;
937+
border-right: solid 1px $table-border-color;
938+
border-top: solid 1px $table-border-color;
939+
border-bottom: solid 1px $table-border-color;
940+
936941
.callout-body,
937942
div.callout-title {
938943
font-size: inherit;
@@ -946,10 +951,6 @@ kbd {
946951

947952
&.callout-style-simple {
948953
padding: 0em 0.5em;
949-
border-left: $callout-border-width solid #acacac;
950-
border-right: solid 1px $table-border-color;
951-
border-top: solid 1px $table-border-color;
952-
border-bottom: solid 1px $table-border-color;
953954
display: flex;
954955

955956
.callout-body {
@@ -989,11 +990,6 @@ kbd {
989990
}
990991

991992
&.callout-style-default {
992-
border-left: $callout-border-width solid #acacac;
993-
border-right: solid 1px $table-border-color;
994-
border-top: solid 1px $table-border-color;
995-
border-bottom: solid 1px $table-border-color;
996-
997993
.callout-body {
998994
font-size: 0.9rem;
999995
font-weight: 400;

0 commit comments

Comments
 (0)