模板:Codepen/styles.css:修订间差异
来自康健生活
创建页面,内容为“.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; } .wiki-codepen .tabs-content { overflow:auto; } .wiki-codepen .tabs-tabbox > .tabs-label { border-radius: 1px 1px 0 0; } .wiki-codepen .tabs-tabbox > .tabs-container { border-top: 1px solid #AAA; overflow: hidden; height: calc(100% - 30px…” |
无编辑摘要 |
||
| (未显示同一用户的5个中间版本) | |||
| 第3行: | 第3行: | ||
border: none; | border: none; | ||
overflow: auto; | overflow: auto; | ||
height: 100%; | |||
padding-top: 24px; | |||
} | } | ||
.wiki-codepen { | .wiki-codepen { | ||
| 第12行: | 第14行: | ||
.wiki-codepen .tabs-tabbox { | .wiki-codepen .tabs-tabbox { | ||
margin: 0; | margin: 0; | ||
height: 100%; | |||
} | } | ||
.wiki-codepen .tabs-content { | .wiki-codepen .tabs-content { | ||
width: 100%; | |||
height: 100%; | |||
overflow:auto; | overflow:auto; | ||
} | } | ||
| 第20行: | 第25行: | ||
} | } | ||
.wiki-codepen .tabs-tabbox > .tabs-container { | .wiki-codepen .tabs-tabbox > .tabs-container { | ||
border: none; | |||
border-radius: 0; | |||
border-top: 1px solid #AAA; | border-top: 1px solid #AAA; | ||
overflow: hidden; | overflow: hidden; | ||
height: calc(100% - | 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); | |||
} | } | ||