activityfix.com - Dark Mode

Dark mode theme for ActivityFix

Tính đến 14-12-2024. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name           activityfix.com - Dark Mode
@namespace      typpi.online
@version        1.2
@description    Dark mode theme for ActivityFix
@author         Nick2bad4u
@license        UnLicense
@homepageURL    https://github.com/Nick2bad4u/UserStyles
==/UserStyle== */
@document domain("activityfix.com") {
	/* Invert colors except images and videos */
	:is(
		html:not([stylus-iframe]),
		img,
		svg,
		video,
		.w3-dark-gray,
		.w3-dark-grey,
		.w3-hover-dark-gray:hover,
		.w3-hover-dark-grey:hover,
		.w3-center,
		iframe,
		.af-disconnect-button
	) {
		/*Manipulations stuff*/
		filter: invert(1) hue-rotate(180deg) !important;
	}
	.w3-dark-gray,
	.w3-dark-grey,
	.w3-hover-dark-gray:hover,
	.w3-hover-dark-grey:hover,
	.w3-padding-16 {
		/*Box model stuff*/
		background-color: #000 !important;
		color: #fff !important;
		/*Typography stuff*/
		font-weight: 800;
	}
	.af-update-header,
	.af-version {
		color: #2196f3;
		/*Typography stuff*/
		text-decoration: underline;
	}
	.af-update-header span {
		/*Miscellaneous*/
		cursor: default;
		/*Typography stuff*/
		font-size: 13px;
		text-decoration: underline #333;
	}
	.w3-padding-16 {
		padding-top: 0 !important;
		/*Box model stuff*/
		padding-bottom: 16px !important;
	}
	.w3-bar.w3-top.af-blue.w3-large {
		/*Box model stuff*/
		background-color: #2196f3 !important;
	}
	.w3-main {
		/*Box model stuff*/
		background-color: #fff;
	}
	.w3-container.w3-black.w3-display-container {
		/*Box model stuff*/
		margin: 0 !important;
		background-color: white !important;
		/*Typography stuff*/
		color: black !important;
	}
	#save_success > div {
		/*Box model stuff*/
		border: 4px #2196f3 dashed;
	}
	.w3-bar-item.w3-left {
		/*Typography stuff*/
		font-style: italic;
		font-weight: 550;
	}
	.af-help-contents > div:nth-child(n) > img,
	.w3-center
		> table
		> tbody
		> tr:nth-child(1)
		> td:nth-child(1)
		> a
		> img {
		/*Manipulations stuff*/
		filter: invert(0) hue-rotate(0deg) !important;
	}
	body > br,
	body > hr {
		/*Display stuff*/
		display: none !important;
	}
	html {
		/*Box model stuff*/
		background: #fff;
	}
}