跳转到内容

User:GuoPC/vector-2022.css:修订间差异

来自萌娘共享
无编辑摘要
无编辑摘要
 
第45行: 第45行:
/* Customized header */
/* Customized header */
#p-user-menu-logout {margin: 1em 0 0.2em 0;}
#p-user-menu-logout {margin: 1em 0 0.2em 0;}
#pt-avatar {
position: absolute;
top: -4em;
left: calc(50% + 10px);
box-shadow: 0 2px 6px -1px rgba(0,0,0,0.2);
border: var(--background-color-progressive) 2px solid;
border-radius: 50%;
transform: scale(1.5) translateX(-50%);
}
.vector-header, .vector-sticky-header {box-shadow: 0 .3em .5em rgba(0, 0, 0, .05);}
.vector-header, .vector-sticky-header {box-shadow: 0 .3em .5em rgba(0, 0, 0, .05);}
.vector-pinned-container {background: none;}
.vector-pinned-container {background: none;}
.vector-user-menu .vector-dropdown-content {overflow: visible !important;}
.vector-user-menu .vector-dropdown-content .vector-menu-content-list {position: relative;}


/* Other */
/* Other */

2025年8月26日 (二) 10:07的最新版本

/* 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;
}