跳转到内容

User:GuoPC/vector-2022.css

来自萌娘共享

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* Specific font for certain characters:
   - Em Dash (2014)
   - Single Quotation Marks (2018, 2019)
   - Double Quotation Marks (201C, 201D)
   - Horizontal Ellipsis (2026) */
@font-face {
	font-family: "SHSerif Full-Width Quotation";
	src: local("Source Han Serif SC");
	unicode-range: U+2014, U+2018, U+2019, U+201C, U+201D, U+2026;
}

/* Customized fonts */
h1#firstHeading[lang="en"] {font-family: "Source Serif 4", "Source Han Serif SC", serif !important;}
h1#firstHeading {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}
.mw-body-content h2 {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}
.vector-sticky-header-context-bar-primary {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}

/* Customized headers */
h1, h2, h3, h4, h5, h6 {color: #222;}
h2 {font-weight: 600 !important;}
.mw-body .mw-heading2 {
	border-bottom-color: #E7BB5E;
	padding-bottom: 0;
}
.vector-page-titlebar::after {background: #E7BB5E;}

/* Customized panel */
#n-log a {
	display: flex;
	align-items: center;
	padding: 6px 0;
}
#vector-main-menu .vector-main-menu-action-opt-out:has(a[href$="mw-prefsection-rendering-skin"]) {display: none;}
.vector-toc .vector-toc-toggle {margin-top: .5em;}

/* Customized navigation */
#t-pagelog a, #t-Prefixindex a {
	display: flex;
	align-items: center;
	padding: 6px 0;
}
#t-prefixindex {display: none;}
.vector-menu-tabs .vector-menu-content-list a.cdx-button {margin-top: 7px;}

/* Customized header */
#p-user-menu-logout {margin: 1em 0 0.2em 0;}
.vector-header, .vector-sticky-header {box-shadow: 0 .3em .5em rgba(0, 0, 0, .05);}
.vector-pinned-container {background: none;}

/* Other */
img.userlink-avatar-small {
	background: var(--background-color-neutral);
	color: transparent;
}