打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Vector.css

MediaWiki界面页面
Amero留言 | 贡献2025年10月24日 (五) 02:34的版本 (某些扩展可能往</body>后拉屎)

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl + F5Ctrl + R(Mac为 R
  • Google Chrome:Ctrl + Shift + R(Mac为 Shift R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl + F5
/* <pre> */
html, body, #firstHeading{
    font-family:var(--font-main);
}

#content{
    position:relative;
    z-index:7;
}

#mw-navigation div.vectorMenu div.menu{
    z-index:9;
}

#mw-panel #p-logo{
    width:176px;
    height:188px;
    margin:0 0 0 -.5em;
}

#mw-panel #p-logo .mw-wiki-logo{
    width:100%;
    height:100%;
    background:url(/images/e/e5/Vocawiki_logo_with_wordmark-vertical-dark.svg) no-repeat center/128px;
    filter:drop-shadow(0 0px 4px #fff) drop-shadow(0 0px 4px #fff);
}

div#mw-page-base{
    background:none;
    height:100px;
}

#left-navigation,
#right-navigation{
    margin-top:60px;
    min-height:40px;
}

div#mw-panel{
    top:0;
    text-shadow:1px 1px #F6F6F6;
}

div#mw-panel div.portal{
    padding-bottom:1em;
}

div#mw-head div.vectorMenu h4{
    height:1.9em;
    margin-bottom:0;
    padding-top:1.25em;
    padding-bottom:0;
    padding-right:0.5em;
}
div.vectorTabs ul li,
#mw-head div.vectorMenu{
    background-image:none !important;
    background-color:transparent !important;
}

div.vectorTabs,
div.vectorTabs span,
div.vectorTabs ul,
div#mw-head div.vectorMenu h3{
    background-image:none !important;
}

#left-navigation,
#right-navigation,
div.vectorTabs ul li.selected{
    background-image:linear-gradient(rgb(255 255 255 / 0%), rgb(255 255 255 / 30%) 30%, rgb(255 255 255 / 50%)) !important;
    background-color:transparent !important;
}
div#p-personal{
    background-color:rgb(255 255 255 / 80%);
    padding:5px 10px 5px 0;
    box-shadow:#666 0 1px 5px;
}
#pt-notifications-alert .mw-echo-notifications-badge,
#pt-notifications-notice .mw-echo-notifications-badge{
    text-indent:-99999px;
}

#pt-notifications-alert .mw-echo-notifications-badge::after,
#pt-notifications-notice .mw-echo-notifications-badge::after{
    text-indent:0;
}
#p-personal ul{
    padding-left:0;
}
div#mw-panel{
    font-size:18px;
    width:10.5rem;
}

h1{
    font-weight:700;
    border-bottom:2px solid #0074F9;
}

.ns-0 div#content,
.ns-0 div#p-cactions li a:hover,
.ns-0 div#p-cactions li.selected a{
    background-color:rgb(255 255 255 / 80%);
}

div#content,
div#p-cactions li a:hover,
div#p-cactions li.selected a{
    background-color:rgb(247 251 255 / 80%);
}
div.vectorMenu ul{
    display:flex;
    flex-flow:column;
}

/* 首页 */
body.page-Main_Page.action-view #firstHeading,
body.page-Main_Page.action-view #siteSub{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    -webkit-clip-path:inset(50%);!important;
    clip-path:inset(50%);!important;
    white-space:nowrap!important;
    border:0!important;
}

/* 其他 */
.mobileonly{
    display:none !important;
} 

#pt-userpage a {
	background-image: none !important;
	padding-left: 0 !important;
}

/* </pre> */