跳转到内容

MediaWiki:Common.css

来自Vend88百科
Vend​(留言 | 贡献)2026年10月7日 (三) 11:51的版本 (撤销Vend(讨论)的修订版本298)

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* CSS placed here will be applied to all skins */
.mw-logo-wordmark {
    display: none;
}

.mw-logo-container {
    display: flex;
    width: 220px;
}

.mw-logo-icon {
    width: 200px;
    height: 55px;
    max-width: none;
    object-fit: contain;
}

/* Force Sidebar to remain permanently open */
.vector-sidebar-collapse-button,
.vector-main-menu-action-button {
    display: none !important;
}
.vector-sidebar {
    display: block !important;
}

/* Fandom-like source editor */

.cm-editor {
    border: 1px solid #c7c7c7;
    border-radius: 3px;
    background: #fff;
    font-family: Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 14px;
    line-height: 1.55;
}

.cm-editor .cm-gutters {
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    color: #888;
}

.cm-editor .cm-activeLine {
    background: rgba(0, 0, 0, 0.035);
}

.cm-editor .cm-activeLineGutter {
    background: #e8e8e8;
}

.cm-editor .cm-content {
    padding: 8px 0;
}

.cm-editor .cm-line {
    padding-left: 6px;
}