File tree Expand file tree Collapse file tree 1 file changed +28
-31
lines changed
src/resources/formats/revealjs Expand file tree Collapse file tree 1 file changed +28
-31
lines changed Original file line number Diff line number Diff line change @@ -694,36 +694,6 @@ $panel-sidebar-padding: 0.5em;
694694 z-index : 1 ;
695695}
696696
697- /* Callout styles */
698- .reveal .callout {
699- & .callout-style-simple ,
700- & .callout-style-default {
701- .callout-body ,
702- div .callout-title {
703- font-size : inherit ;
704- }
705- .callout-icon ::before {
706- height : 2rem ;
707- width : 2rem ;
708- background-size : 2rem 2rem ;
709- }
710- }
711-
712- & .callout-titled {
713- .callout-title p {
714- margin-top : 0.5em ;
715- }
716-
717- .callout-icon ::before {
718- margin-top : 1rem ;
719- }
720-
721- .callout-body > .callout-content > :last-child {
722- margin-bottom : 1rem ;
723- }
724- }
725- }
726-
727697.reveal .panel-tabset [role = " tab" ] {
728698 padding : 0.25em 0.7em ;
729699}
@@ -941,12 +911,39 @@ kbd {
941911
942912/* Callout styles */
943913
944- div .callout {
914+ .reveal div .callout {
945915 margin-top : $callout-margin-top ;
946916 margin-bottom : $callout-margin-bottom ;
947917 border-radius : $border-radius ;
948918 overflow-wrap : break-word ;
949919
920+ & .callout-titled {
921+ .callout-title p {
922+ margin-top : 0.5em ;
923+ }
924+
925+ .callout-icon ::before {
926+ margin-top : 1rem ;
927+ }
928+
929+ .callout-body > .callout-content > :last-child {
930+ margin-bottom : 1rem ;
931+ }
932+ }
933+
934+ & .callout-style-simple ,
935+ & .callout-style-default {
936+ .callout-body ,
937+ div .callout-title {
938+ font-size : inherit ;
939+ }
940+ .callout-icon ::before {
941+ height : 2rem ;
942+ width : 2rem ;
943+ background-size : 2rem 2rem ;
944+ }
945+ }
946+
950947 & .callout-style-simple {
951948 padding : 0em 0.5em ;
952949 border-left : $callout-border-width solid #acacac ;
You can’t perform that action at this time.
0 commit comments