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

MediaWiki:Vector.css:修订间差异

MediaWiki界面页面
删除的内容 添加的内容
Amero留言 | 贡献
覆盖等宽字体
Amero留言 | 贡献
无编辑摘要
第145行: 第145行:
white-space:nowrap!important;
white-space:nowrap!important;
border:0!important;
border:0!important;
}

/* 背景图片 */
body.sideBarPic-executed .mw-portlet {
background: rgba(255, 255, 255, 0.8);
}

body.sideBarPic-executed .mw-portlet:first-of-type {
border-top-left-radius: .5rem;
border-top-right-radius: .5rem;
}

body.sideBarPic-executed .mw-portlet:last-of-type {
border-bottom-left-radius: .5rem;
border-bottom-right-radius: .5rem;
}
}



2025年10月24日 (五) 20:37的版本

/* <pre> */
html, body, #firstHeading{
    font-family:var(--font-main);
}

pre, code, tt, kbd, samp, .mw-code,
/* 编辑差异 */
.diff-editfont-monospace .diff-addedline,
.diff-editfont-monospace .diff-deletedline,
.diff-editfont-monospace .diff-context,
.diff-editfont-monospace .mw-diff-inline-added,
.diff-editfont-monospace .mw-diff-inline-deleted,
.diff-editfont-monospace .mw-diff-inline-moved,
.diff-editfont-monospace .mw-diff-inline-changed,
.diff-editfont-monospace .mw-diff-inline-context,
/* 编辑框 */
.wikiEditor-ui .ace_editor,
/* JSON内容模型查看器 */
.mw-json-value, .mw-json-single-value{
    font-family:var(--font-mono);
}

#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;
}

/* 背景图片 */
body.sideBarPic-executed .mw-portlet {
    background: rgba(255, 255, 255, 0.8);
}

body.sideBarPic-executed .mw-portlet:first-of-type {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

body.sideBarPic-executed .mw-portlet:last-of-type {
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

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

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

/* </pre> */