“MediaWiki:Common.css”的版本间差异

添加856字节 、​ 2021年11月27日 (六) 04:10
无编辑摘要
标签移动版网页编辑 移动版编辑
 
(未显示2个用户的14个中间版本)
/*<nowiki>*/
/* 这里放置的CSS将应用于所有皮肤 */
/* 桌面版专用CSS */
 
/* 全局css */
.mobileonly {
display:none;
/* 自定义桌面版导航 */
#mw-panel .fa, #mw-panel .fas, #mw-panel .far, #mw-panel .fab {
width:6em 1.5em;
text-align: center;
/* 引自[[zhwiki:mediawiki:gadget-hideConversionTab.css]] */
#ca-varlang-0, #ca-varlang-1, #ca-varlang-2 {
display: none;
}
/* 公告 */
.song-table#localNotice th> p:first-child {
#siteNotice p {
margin-top: 0;
}
/* logo */
#mw-panel > :not(:first-child) {
background-color:rgba(255,255,255,.7);
}
/* references分栏 */
.mw-references-columns {
margin-top: 0.3em;
}
.mw-references-columns > ol.references {
margin-top: 0;
}
/* 解决代码的overflow */
/* CodeEditor扩展 */
.skin-vector .ace_editor {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Couriersource-code-pro', monospace;
}
.codeEditor-ui-toolbar ~ .mw-editTools {
display:none;
}
/* 自定义下拉菜单 */
.site-menu {
font-size: 14px;
}
/* 含大量文字的表格 */
.nowrap-4 th:nth-child(4), .nowrap-4 td:nth-child(4) {
white-space:nowrap;
}
/* 固定表頭 */
.wikitable.tsticky:not(.sortable) tr:first-child > th,
.wikitable.tsticky.sortable > thead th {
position: sticky;
top: 0;
z-index: 1;
}
.wikitable.tsticky:not(.sortable) tr:first-child > th::after,
.wikitable.tsticky.sortable > thead th::after {
content: '';
position: absolute;
left: -1px;
right: -1px;
top: -1px;
bottom: -1px;
border: 1px solid #c8ccd1a2a9b1;
}
/* cite扩展 */
.mw-editTools dl {
margin-bottom:0;
.mw-editTools .mw-charinsert-item {
border: 1px solid #c8ccd1;
padding: 1px 5px;
.mw-editTools .mw-charinsert-item:hover {
border-color: #36c;
}
 
margin: -1.3em 0;
}
/* image修复Popups预览定位 */
.song-table th:first-child {
.template-image {
width:6em;
position: relative;
}
.template-image a > div {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
/*</nowiki>*/
16,874

个编辑