Skip to content

标题h1-h6色彩 by 13422797310

Details

Author13422797310

LicenseNo License

Categoryg

Created

Updated

Code size5.1 kB

Code checksum23f55dcc

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

g

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       标题h1-h6色彩
@version    20241107.07.21
@namespace  ?
==/UserStyle== */
/* TOC 栏 */
/*#smarttoc-container a[data-level="0"] {
	color: #784F41 !important;
}*/
#smarttoc-base {
	border: none !important;
	background-color: #1F1F1F !important;
	.toolbar {
		.toolbar-controls {
			button,
			select {
				background-color: white !important;
				transition-duration: 0s !important;
				transition-property: none !important;
				transition: none !important;
			}
		}
	}
	.contents-wrapper,
	.contents-wrapper a {
		background-color: #1F1F1F !important;
		font-size: 14px !important;
	}
	.contents-wrapper a:hover {
		background-color: #8C5FD0 !important;
	}
	a.is-active {
		background-color: #a165a8 !important;
	}
	a.is-current {
		background-color: #8a2be2 !important;
	}
}
#smarttoc-container a[data-level="0"] {
	color: #FE9A20 !important;
}
#smarttoc-container a[data-level="1"] {
	color: #F2D41B !important;
}
#smarttoc-container a[data-level="2"] {
	color: #00BC7B !important;
}
#smarttoc-container a[data-level="3"] {
	color: #00B3B9 !important;
}
#smarttoc-container a[data-level="4"] {
	color: #A165A8 !important;
}

@-moz-document url-prefix("https://github.com") {
	.markdown-body code,
	.markdown-title code {
		color: #44ddff;
		background-color: #18182f !important;
	}
	.markdown-body pre code {
		background-color: inherit !important;
	}

	.markdown-body pre {
		tab-size: 4;
	}

	h1,
	h1 code,
	.toc-label-h1 {
		color: #986C6A !important;
	}
	h2[class="heading-element"],
	h2[class="heading-element"] code,
	.toc-label-h2 {
		color: #FE9A20 !important;
	}
	h3,
	h3 code,
	.toc-label-h3 {
		color: #F2D41B !important;
	}
	h4,
	h4 code,
	.toc-label-h4 {
		color: #00BC7B !important;
	}
	h5,
	h5 code,
	.toc-label-h5 {
		color: #00B3B9 !important;
		/*#28ffff*/
	}
	h6,
	h6 code,
	.toc-label-h6 {
		color: #A165A8 !important;
	}
	/* 去除背景色 */
	h1[class="heading-element"][class="heading-element"],
	h1[class="heading-element"] code,
	h2[class="heading-element"],
	h2[class="heading-element"] code,
	h3.markdown-title code,
	h3[class="heading-element"],
	h3[class="heading-element"] code,
	h4[class="heading-element"],
	h4[class="heading-element"] code {
		background-color: #212830 !important;
		font-weight: 700 !important;
	}
}
@-moz-document url-prefix("https://github.com") {
	nav ul li,
	h1,
	h1 a,
	h1 font,
	h1 span {
		color: #986C6A !important;
		/*#C2E1E5*/
	}
	nav ul li li,
	h2,
	h2 a,
	h2 font,
	h2 span {
		color: #FE9A20 !important;
	}
	nav ul li li li,
	h3,
	h3 a,
	h3 font,
	h3 span {
		color: #F2D41B !important;
	}
	nav ul li li li li,
	h4,
	h4 a,
	h4 font,
	h4 span {
		color: #00BC7B !important;
	}
	nav ul li li li li li,
	h5,
	h5 a,
	h5 font,
	h5 span {
		color: #00B3B9 !important;
	}
	nav ul li li li li li li,
	h6,
	h6 a,
	h6 font,
	h6 span {
		color: #A165A8 !important;
	}
}
@-moz-document domain("kimi.moonshot.cn") {
	/* kimi	 */
	.markdown-body code,
	.markdown-title code {
		color: #44ddff;
		background-color: #18182f !important;
	}
	.markdown-body pre code {
		background-color: inherit !important;
	}

	.markdown-body pre {
		tab-size: 4;
	}

	h1,
	h1 code,
	.toc-label-h1 {
		color: #986c6a !important;
	}
	h2[class="heading-element"],
	h2[class="heading-element"] code,
	.toc-label-h2 {
		color: #fe9a20 !important;
	}
	h3,
	h3 code,
	.toc-label-h3 {
		color: #f2d41b !important;
	}
	h4,
	h4 code,
	.toc-label-h4 {
		color: #00bc7b !important;
	}
	h5,
	h5 code,
	.toc-label-h5 {
		color: #00b3b9 !important;
		/*#28ffff*/
	}
	h6,
	h6 code,
	.toc-label-h6 {
		color: #a165a8 !important;
	}
	/* 去除背景色 */
	h1[class="heading-element"][class="heading-element"],
	h1[class="heading-element"] code,
	h2[class="heading-element"],
	h2[class="heading-element"] code,
	h3.markdown-title code,
	h3[class="heading-element"],
	h3[class="heading-element"] code,
	h4[class="heading-element"],
	h4[class="heading-element"] code {
		background-color: #212830 !important;
		font-weight: 700 !important;
	}
	#smarttoc-container a[data-level="0"] {
		color: #fe9a20 !important;
	}
	#smarttoc-container a[data-level="1"] {
		color: #f2d41b !important;
	}
	#smarttoc-container a[data-level="2"] {
		color: #00bc7b !important;
	}
	#smarttoc-container a[data-level="3"] {
		color: #00b3b9 !important;
	}
	#smarttoc-container a[data-level="4"] {
		color: #a165a8 !important;
	}

	nav ul li,
	h1,
	h1 a,
	h1 font,
	h1 span {
		color: #986c6a !important;
		/*#C2E1E5*/
	}
	nav ul li li,
	h2,
	h2 a,
	h2 font,
	h2 span {
		color: #fe9a20 !important;
	}
	nav ul li li li,
	h3,
	h3 a,
	h3 font,
	h3 span {
		color: #f2d41b !important;
	}
	nav ul li li li li,
	h4,
	h4 a,
	h4 font,
	h4 span {
		color: #00bc7b !important;
	}
	nav ul li li li li li,
	h5,
	h5 a,
	h5 font,
	h5 span {
		color: #00b3b9 !important;
	}
	nav ul li li li li li li,
	h6,
	h6 a,
	h6 font,
	h6 span {
		color: #a165a8 !important;
	}

	/* 粉 */
	.segment-container strong {
		color: #E94C88 !important;
	}
	/* 红 */
	.segment-container em {
		color: #F73131 !important;
	}
	/* 青蓝 */
	.segment-container ul li ul li strong,
	.segment-container ol li ul li strong {
		color: #61E5D2 !important;
	}
}

Reviews

No reviews yet.