We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cac23f1 commit 559939fCopy full SHA for 559939f
assets/css/tabset.css
@@ -70,3 +70,36 @@
70
border-right-width: 0;
71
}
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
84
+ &:is(blockquote, .admonition) {
85
+ margin-top: 1.5em;
86
87
+ &:is(p:has(img)) {
88
+ margin-top: 1.25em;
89
90
91
+ margin-top: .75em;
92
93
94
+ .tabset-panel > :is(:last-child) {
95
96
+ margin-bottom: 1.5em;
97
98
+ &:is(p:not(:has(img)), ul, ol) {
99
+ margin-bottom: 1.25em;
100
101
102
+ margin-bottom: .75em;
103
104
105
0 commit comments