User:Irukaza/common.css:修订间差异
跳到导航
跳到搜索
无编辑摘要
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第24行: | 第24行: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
} | |||
/* 表格强制不换行,使用最小字体 */ | |||
.wikitable { | |||
white-space: nowrap; | |||
} | |||
table.wraptable { | |||
white-space: normal; | |||
} | |||
/* 表格内图片设置最小宽度*/ | |||
.wikitable img { | |||
min-width: 24px; | |||
} | |||
/* Style for horizontal lists (separator following item) */ | |||
.skin-monobook .hlist dl, | |||
.skin-modern .hlist dl, | |||
.skin-vector .hlist dl { | |||
line-height: 1.5em; | |||
} | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
} | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
display: inline; | |||
margin: 0; | |||
} | |||
/* 隐藏元素 */ | |||
.nomobile { | |||
display: none !important; | |||
} | |||
/* plainlist & plainlinks */ | |||
.plainlist ul { | |||
list-style: none; | |||
padding-left: 0; | |||
} | |||
.plainlinks a { | |||
background: none !important; | |||
padding: 0 !important; | |||
} | |||
/* *** */ | |||
body.page-首页 div#block-basenav tbody { | |||
vertical-align: top; | |||
} | |||
body.page-首页_sandbox div#block-basenav tbody { | |||
vertical-align: top; | |||
} | |||
/* 使行宽占满表格 */ | |||
th.fullline, | |||
td.fullline { | |||
width: 850px; | |||
} | |||
/* 侧栏调整 */ | |||
.navigation-enabled #mw-mf-viewport { | |||
overflow: hidden; | |||
min-height: 100%; | |||
height: 100% !important; | |||
} | |||
/* 首页背景调整 */ | |||
body.page-首页>#mw-mf-viewport>#mw-mf-page-center>#content, | |||
body.page-首页_sandbox>#mw-mf-viewport>#mw-mf-page-center>#content { | |||
background-color: #f8f8f8; | |||
} | |||
/* 隐藏首页和sandbox顶部内容 */ | |||
body.page-首页 .pre-content, | |||
body.page-首页_sandbox .pre-content { | |||
display: none; | |||
} | |||
/* 隐藏首页和sandbox的编辑按钮 */ | |||
body.page-首页 .edit-page, | |||
body.page-首页_sandbox .edit-page { | |||
display: none; | |||
} | |||
/* 隐藏首页和sandbox目录 */ | |||
body.page-首页 .toc-mobile, | |||
body.page-首页_sandbox .toc-mobile { | |||
display: none; | |||
} | |||
/* 隐藏首页和sandbox讨论按钮 */ | |||
body.page-首页 #page-secondary-actions, | |||
body.page-首页_sandbox #page-secondary-actions { | |||
display: none; | |||
} | |||
/* 隐藏首页和sandbox最后编辑栏 */ | |||
body.page-首页 .last-modified-bar, | |||
body.page-首页_sandbox .last-modified-bar { | |||
display: none; | |||
} | |||
/* 缩小显示表格 */ | |||
table.scaletable { | |||
transform: scale(0.5); | |||
transform-origin: top left; | |||
width: 200% !important; | |||
} | } |