File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 70
70
border-right-width : 0 ;
71
71
}
72
72
}
73
+
74
+ /* tabpanel content: top margin of first and bottom margin of last */
75
+ @media screen and (max-width : 768px ) {
76
+ .tabset-panel > : is (: first-child ) {
77
+ & : is (table ) {
78
+ margin : .5em 0 ;
79
+ }
80
+ }
81
+ }
82
+ @media screen and (min-width : 769px ) {
83
+ .tabset-panel > : is (: first-child ) {
84
+ & : is (blockquote , .admonition ) {
85
+ margin-top : 1.5em ;
86
+ }
87
+ & : is (p : has (img )) {
88
+ margin-top : 1.25em ;
89
+ }
90
+ & : is (table ) {
91
+ margin-top : .75em ;
92
+ }
93
+ }
94
+ .tabset-panel > : is (: last-child ) {
95
+ & : is (blockquote , .admonition ) {
96
+ margin-bottom : 1.5em ;
97
+ }
98
+ & : is (p : not (: has (img )), ul , ol ) {
99
+ margin-bottom : 1.25em ;
100
+ }
101
+ & : is (table ) {
102
+ margin-bottom : .75em ;
103
+ }
104
+ }
105
+ }
You can’t perform that action at this time.
0 commit comments