MediaWiki:Common.css:修订间差异
来自仁王 wiki
无编辑摘要 |
恢复各标题右侧的编辑菜单 |
||
| (未显示同一用户的33个中间版本) | |||
| 第1行: | 第1行: | ||
/* 这里放置的CSS将应用于所有皮肤 * | /* 这里放置的CSS将应用于所有皮肤 * | ||
/* 设置图片的宽度为0,让它左靠 */ | /* 设置图片的宽度为0,让它左靠 */ | ||
/*.thumbinner{ | /*.thumbinner{ | ||
width:0; | width:0; | ||
}*/ | }*/ | ||
/* | |||
/* 设置仁王按键与介绍 */ | |||
img[alt="cont_ps4.png"]{ | img[alt="cont_ps4.png"]{ | ||
background-color: black; | background-color:black; | ||
} | } | ||
img[alt=" | |||
width: | /* 设置仁王按键与介绍里的图标大小 | ||
img[alt*="Ps4"]{ | |||
width:16%; | |||
height:16%; | |||
} */ | |||
img[alt*=nioh2chenghao]{ | |||
width:100%; | |||
} | } | ||
/* 取消各标题的编辑菜单 | |||
.mw-editsection{display:none} | |||
*/ | |||
/* 添加背景图 */ | |||
html{ | |||
background: url(https://image.api.playstation.com/vulcan/ap/rnd/202010/3008/ewEpL20xYhPU0WMLlOyMYB9f.jpg) no-repeat !important; | |||
background-size: cover !important; | |||
background-attachment: fixed !important; | |||
} | |||
/* 原来背景并使其透明 */ | |||
html > body.mediawiki,#mw-content-container{ | |||
background: transparent !important; | |||
} | |||
/* 各页面块变为半透明 */ | |||
#mw-content,#page-tools,#site-navigation,#mw-header-container,#site-tools,.editOptions,#toc{ | |||
background: rgba(255,255,255,.9) !important; | |||
} | |||
/* 主内容 */ | |||
#mw-content-wrapper{ | |||
margin-top:1em; | |||
} | |||
#mw-content,.sidebar-chunk{ | |||
border-radius:8px 8px; | |||
} | |||
/* 用户弹出页 */ | |||
#personal-inner{ | |||
background:rgba(255,255,255,0.8) !important; | |||
} | |||
/* 局部变为半透明 */ | |||
pre,.wikitable{ | |||
background: rgba(255,255,255,.5); | |||
} | |||
/* 表格字体颜色 */ | |||
table.wikitable{ | |||
/*color:#fff;*/ | |||
background: rgba(255, 153, 221,0.05); | |||
} | |||
/* 表格半透明 */ | |||
table.wikitable > * > tr > th{ | |||
background: #888; | |||
} | |||
/* 一般超链接 */ | |||
a:link{ | |||
color:#fe6673; | |||
} | |||
a:visited{ | |||
color:#fe6673; | |||
} | |||
/* 目录 a标签颜色 */ | |||
#toc a{ | |||
color:brown; | |||
} | |||
/* 目录标签颜色 */ | |||
a .tocnumber{ | |||
color:cadetblue; | |||
} | |||
/* 移动端背景 */ | |||
#mw-content-block { | |||
background: transparent !important; | |||
} | |||
/* 表格自适应 */ | |||
.wikitable > * > tr > td{ | |||
word-break: break-word; | |||
} | |||
/* 电脑 侧边栏滑动 */ | |||
#site-navigation { | |||
height: max-content; | |||
overflow-y: scroll; | |||
padding: 1.5em 0 1.5em 1.5em; | |||
} | |||
/* | |||
@media screen and (max-width: 850px) | |||
#site-navigation .sidebar-inner { | |||
left: 0 !important; | |||
right: auto !important; | |||
height: 70vh !important; | |||
overflow-y: scroll !important; | |||
}*/ | |||
2024年2月4日 (日) 12:23的最新版本
/* 这里放置的CSS将应用于所有皮肤 *
/* 设置图片的宽度为0,让它左靠 */
/*.thumbinner{
width:0;
}*/
/* 设置仁王按键与介绍 */
img[alt="cont_ps4.png"]{
background-color:black;
}
/* 设置仁王按键与介绍里的图标大小
img[alt*="Ps4"]{
width:16%;
height:16%;
} */
img[alt*=nioh2chenghao]{
width:100%;
}
/* 取消各标题的编辑菜单
.mw-editsection{display:none}
*/
/* 添加背景图 */
html{
background: url(https://image.api.playstation.com/vulcan/ap/rnd/202010/3008/ewEpL20xYhPU0WMLlOyMYB9f.jpg) no-repeat !important;
background-size: cover !important;
background-attachment: fixed !important;
}
/* 原来背景并使其透明 */
html > body.mediawiki,#mw-content-container{
background: transparent !important;
}
/* 各页面块变为半透明 */
#mw-content,#page-tools,#site-navigation,#mw-header-container,#site-tools,.editOptions,#toc{
background: rgba(255,255,255,.9) !important;
}
/* 主内容 */
#mw-content-wrapper{
margin-top:1em;
}
#mw-content,.sidebar-chunk{
border-radius:8px 8px;
}
/* 用户弹出页 */
#personal-inner{
background:rgba(255,255,255,0.8) !important;
}
/* 局部变为半透明 */
pre,.wikitable{
background: rgba(255,255,255,.5);
}
/* 表格字体颜色 */
table.wikitable{
/*color:#fff;*/
background: rgba(255, 153, 221,0.05);
}
/* 表格半透明 */
table.wikitable > * > tr > th{
background: #888;
}
/* 一般超链接 */
a:link{
color:#fe6673;
}
a:visited{
color:#fe6673;
}
/* 目录 a标签颜色 */
#toc a{
color:brown;
}
/* 目录标签颜色 */
a .tocnumber{
color:cadetblue;
}
/* 移动端背景 */
#mw-content-block {
background: transparent !important;
}
/* 表格自适应 */
.wikitable > * > tr > td{
word-break: break-word;
}
/* 电脑 侧边栏滑动 */
#site-navigation {
height: max-content;
overflow-y: scroll;
padding: 1.5em 0 1.5em 1.5em;
}
/*
@media screen and (max-width: 850px)
#site-navigation .sidebar-inner {
left: 0 !important;
right: auto !important;
height: 70vh !important;
overflow-y: scroll !important;
}*/
