LLWiki正在建设中,欢迎加入我们!
“User:Bhsd/vector.css”的版本间差异
跳转到导航
跳转到搜索
(创建页面,内容为“→模板快速编辑: .skin-vector .wiki-highlight, .my-highlight { width: 49%; box-sizing: border-box; display: inline-block; white-space: pre-wrap; } .my-hi…”) |
小 |
||
第24行: | 第24行: | ||
box-sizing: border-box; |
box-sizing: border-box; |
||
padding-left: 1em; |
padding-left: 1em; |
||
⚫ | |||
} |
} |
||
.inspector .CodeMirror { |
.inspector .CodeMirror { |
||
border: 1px solid; |
border: 1px solid; |
||
height: calc(100% - 46px); |
height: calc(100% - 46px); |
||
⚫ | |||
text-align: left; |
|||
⚫ | |||
⚫ | |||
position: absolute; |
|||
bottom: 0; |
|||
} |
} |
||
.inspector .oo-ui-buttonWidget { |
.inspector .oo-ui-buttonWidget { |
||
margin: 0.5em; |
margin: 0.5em; |
||
⚫ | |||
⚫ | |||
margin-left: 0; |
|||
} |
} |
||
2020年12月18日 (五) 05:40的版本
/* 模板快速编辑 */ .skin-vector .wiki-highlight, .my-highlight { width: 49%; box-sizing: border-box; display: inline-block; white-space: pre-wrap; } .my-highlight .CodeMirror { background: none; height: auto; } .my-highlight .CodeMirror-scroll { overflow: auto !important; } /* 其他名字空间快速编辑 */ .inspector { float: right; width: 50%; position: sticky; top: 7px; margin-top: 7px; height: calc(100vh - 7px); box-sizing: border-box; padding-left: 1em; } .inspector .CodeMirror { border: 1px solid; height: calc(100% - 46px); } .inspector > div:last-child { text-align: center; position: absolute; bottom: 0; } .inspector .oo-ui-buttonWidget { margin: 0.5em; } /* 编辑页面 */ #wpTextbox1 { max-height: calc(100vh - 100px); } /* 导航 */ #feedlinks, #t-log, #t-print, #t-permalink { display: none; }