模板:Codepen/styles.css:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第28行: 第28行:
overflow: hidden;
overflow: hidden;
     height: calc(100% - 30px);
     height: calc(100% - 30px);
    padding: 2px 0;
}
}
.wiki-codepen div.mw-highlight {
.wiki-codepen div.mw-highlight {
margin: 0;
margin: 0;
}
}

2025年4月30日 (三) 11:18的版本

.wiki-codepen-iframe {
	width: 100%;
	border: none;
	overflow: auto;
}
.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% - 30px);
    padding: 2px 0;
}
.wiki-codepen div.mw-highlight {
	margin: 0;
}