Simplified pymdownx.tabbed selectors

This commit is contained in:
squidfunk 2020-02-14 08:20:48 +01:00
parent a348663566
commit 0d9fbcceb4

View File

@ -68,12 +68,14 @@
margin-bottom: px2rem(12px);
}
// Emulate original pymdownx.superfences behavior and stretch to full
// width and height when when a code block is the only child of a tab
> {
div.highlight,
div.codehilite,
pre,
table.highlighttable,
table.codehilitetable {
.highlight,
.highlighttable,
.codehilite,
.codehilitetable {
&:only-child {
margin: 0 px2rem(-12px);
}