MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第109行: | 第109行: | ||
background-size:cover; | background-size:cover; | ||
} | } | ||
.mw-page-container{ | |||
position: relative; | |||
} | |||
.mw-page-container::after { | |||
content: ''; | content: ''; | ||
position: fixed; | position: fixed; | ||
| 第120行: | 第123行: | ||
height: 514px; | height: 514px; | ||
} | } | ||
.mw-page-container::before { | |||
content: ''; | content: ''; | ||
position: fixed; | position: fixed; | ||
| 第127行: | 第130行: | ||
background-size: cover; | background-size: cover; | ||
display: inline-block; | display: inline-block; | ||
left: 0; | |||
top: 0; | top: 0; | ||
height: 514px; | height: 514px; | ||
} | } | ||
2024年5月24日 (五) 09:26的版本
/*全局样式*/
.vector-header-container{
min-width: auto!important;
}
.mw-logo{
min-width: auto!important;
}
.mw-logo-icon{
width: auto;
display: inline-block!important;
}
@media (max-width: 720px) {
.mw-logo-icon{
width: 120px;
}
}
.mw-logo-container{
display: none;
}
.vector-settings{
display: none;
}
.mw-body .vector-page-toolbar {
height: 0;
top: -37px;
position: relative;
}
#left-navigation {
opacity: 0;
pointer-events: none;
}
/* 设置评论区在底端 */
.mw-body {
grid-template-areas:
'titlebar-cx .'
'titlebar columnEnd'
'toolbar columnEnd'
'content columnEnd'
'flowthread columnEnd'!important;
}
#flowthread {
grid-area: flowthread;
}
.comment-toolbar {
background: none!important;
border: none!important;
transform: translateY(-38px);
}
.flowthread-btn{
display: none;
}
.comment-body textarea, .comment-preview {
color: #000000;
border: 1px solid #ccc;
border-radius: 4px!important;
background: white!important;
padding-bottom: 15px;
font-size: 14px!important;
outline: 0;
transition: border-color 0.3s;
}
.comment-body textarea:focus {
border: 1px solid #3F66E0!important;
border-radius: 4px;
box-shadow: 0px 0px 0px 2px #D1DDFC;
}
.comment-submit {
right: 12px!important;
height: 30px!important;
width: 62px!important;
text-shadow: none!important;
box-shadow: none!important;
font-weight: normal!important;
background: #3F66E0!important;
border-radius: 4px!important;
font-size: 13px!important;
color: #FFFFFF!important;
border: none!important;
}
/* 模板-通用-公共样式*/
.template-common-transition{
transition: 300ms all;
}
/* 模板-按钮-样式*/
.template-btn-container{
background: #F7F7F7;
border-radius: 4px;
padding: 10px 0;
margin: 5px;
cursor: pointer;
}
.template-btn-container:hover{
background: #EAEFFC;
color:#3F66E0;
}
.template-btn-container .mw-file-description{
pointer-events: none;
}
/* WIKI背景图 */
body {
background:url("https://tst.fannq.com/lndb/api/download/de7d0b44f3803ac697b29017252f50cd.png") no-repeat fixed 50% 0;
background-size:cover;
}
.mw-page-container{
position: relative;
}
.mw-page-container::after {
content: '';
position: fixed;
width: 50%;
background: url("https://tst.fannq.com/lndb/api/download/6b3a5aa8b6c94a22889769617b64042e.svg") no-repeat;
background-size: cover;
display: inline-block;
right: 0;
top: 0;
height: 514px;
}
.mw-page-container::before {
content: '';
position: fixed;
width: 50%;
background: url("https://tst.fannq.com/lndb/api/download/143c2ec30bfe106dafb00680f7585c01.svg") no-repeat;
background-size: cover;
display: inline-block;
left: 0;
top: 0;
height: 514px;
}