模板:Codepen/styles.css

来自康健生活
.wiki-codepen-iframe {
	width: 100%;
	border: none;
	overflow: auto;
	height: 100%;
    padding-top: 24px;
}
.wiki-codepen {
	max-height: 500px;
    min-height: 100px;
    overflow: hidden;
	margin: 10px 0;
}
.wiki-codepen .tabs-tabbox {
	margin: 0;
	height: 100%;
}
.wiki-codepen .tabs-content {
	width: 100%;
	height: 100%;
	overflow:auto;
}
.wiki-codepen .tabs-tabbox > .tabs-label {
    border-radius: 1px 1px 0 0;
}
.wiki-codepen .tabs-tabbox > .tabs-container {
	border: none;
	border-radius: 0;
    border-top: 1px solid #AAA;
	overflow: hidden;
    height: calc(100% - 29px);
    padding: 2px 0;
}
.wiki-codepen div.mw-highlight {
	margin: 0;
}
.wiki-codepen .templ--leftrightflex__box,
.wiki-codepen .mw-highlight {
	height: 100%;
	
}
.wiki-codepen .mw-highlight pre{
	height: calc(100% - 21px);
	
}