Skip to content

标题h1-h6色彩 by 13422797310

Details

Author13422797310

LicenseNo License

Categoryg

Created

Updated

Size2.2 kB

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

/* TOC 栏颜色 */
/*#smarttoc-container a[data-level="0"] {
	color: #784F41 !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") {
	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;
	}
}

Reviews

No reviews yet.