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; | |||
} | } |
2020年3月20日 (五) 17:43的版本
/*模糊样式*/
.fuzzy {filter:blur(3px); text-shadow: 0px 0px 5px white;transition: all 0.1s ease-in-out;}
.fuzzy:hover {filter:none;text-shadow:none;}
/*热门评论*/
.comment-container-top>div:not(.comment-thread) {
background-color: rgba(68,135,223,0.8) !important;
color: white !important;
font-weight: bolder !important;
}
.comment-thread.comment-popular {
background-color: rgba(68,135,223,0.1) !important;
}
/* 评论边距 */
.comment-container-top,
.comment-container {
margin-left: 2% !important;
margin-right: 2% !important;
}
img, object {
max-width: 100%;
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;
}