1
+ /*----caption left callout----*/
2
+ .callout [data-callout = "caption_left" ] {
3
+ border : 1px solid rgba (0 , 176 , 255 , 0.44 );
4
+ background-color : rgba (0 , 176 , 255 , 0.1 );
5
+ float : left;
6
+ max-width : 40% ;
7
+ padding : 6px ;
8
+ margin : 2px 12px 2px 0px ;
9
+ }
10
+
11
+ .callout [data-callout = "caption_left" ] > .callout-title {
12
+ display : none;
13
+ }
14
+
15
+ .callout [data-callout = "caption_left" ] img {
16
+ display : block;
17
+ margin : auto;
18
+ max-width : 100% ;
19
+ }
20
+
21
+ .callout [data-callout = "caption_left" ] p {
22
+ text-align : center;
23
+ padding : 2px ;
24
+ margin : 2px ;
25
+ }
26
+
27
+ /* mobile breakpoint */
28
+ @media (max-width : 767px ) {
29
+ .callout [data-callout = "caption_left" ] {
30
+ max-width : 50% ;
31
+ }
32
+ }
33
+
34
+ /*----caption center callout----*/
35
+ .callout [data-callout = "caption" ] {
36
+ border : 1px solid rgba (0 , 176 , 255 , 0.44 );
37
+ background-color : rgba (0 , 176 , 255 , 0.1 );
38
+ padding : 6px ;
39
+ max-width : 80% ;
40
+ margin : auto;
41
+ }
42
+
43
+ .callout [data-callout = "caption" ] > .callout-title {
44
+ display : none;
45
+ }
46
+
47
+ .callout [data-callout = "caption" ] img {
48
+ display : block;
49
+ margin : auto;
50
+ max-width : 100% ;
51
+ }
52
+
53
+ .callout [data-callout = "caption" ] p {
54
+ text-align : center;
55
+ padding : 2px ;
56
+ margin : auto;
57
+ font-size : 0.875em ;
58
+ }
59
+
60
+ /*----caption right callout----*/
61
+ .callout [data-callout = "caption_right" ] {
62
+ border : 1px solid rgba (0 , 176 , 255 , 0.44 );
63
+ background-color : rgba (0 , 176 , 255 , 0.1 );
64
+ float : right;
65
+ max-width : 40% ;
66
+ padding : 6px ;
67
+ margin : 2px 0px 2px 12px ;
68
+ }
69
+
70
+ .callout [data-callout = "caption_right" ] > .callout-title {
71
+ display : none;
72
+ }
73
+
74
+ .callout [data-callout = "caption_right" ] img {
75
+ display : block;
76
+ margin : auto;
77
+ max-width : 100% ;
78
+ }
79
+
80
+ .callout [data-callout = "caption_right" ] p {
81
+ text-align : center;
82
+ padding : 2px ;
83
+ margin : auto;
84
+ }
85
+
86
+ /* mobile breakpoint */
87
+ @media (max-width : 767px ) {
88
+ .callout [data-callout = "caption_right" ] {
89
+ max-width : 50% ;
90
+ }
91
+ }
92
+
93
+
0 commit comments