Skip to content

aternos.org uncolored adblock by lijspoop

Details

Authorlijspoop

LicenseNo License

Categoryaternos.org

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Removes the bright red BACKGROUND by moving it to the button

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           aternos.org uncolored adblock
@namespace      aternos.org
@version        1.0.0
@description    Removes the bright red BACKGROUND by moving it to the button
@author         lijspoop
==/UserStyle== */
@-moz-document domain("aternos.org") {
	span > div[style*="background: #F62451"] {
		background: inherit !important;
	}

	body:has(span:not([style*="display: none"]) > div[style*="background: #F62451"]) {
		.btn.btn-white {
			z-index: 1;
			overflow: hidden;
			position: relative;
		}

		.btn.btn-white::before {
			content: "";
			width: 40px;
			height: 40px;
			position: absolute;
			left: calc(50% - 20px);
			top: 0;
			background-color: #F62451;
			z-index: -1;
			border-radius: 100%;
			-webkit-animation: pulse 3s ease infinite;
			animation: pulse 3s ease infinite;
		}

		.btn.btn-white::after {
			content: "";
			width: 40px;
			height: 40px;
			position: absolute;
			left: calc(50% - 20px);
			top: 0;
			background-color: #F62451;
			z-index: -1;
			border-radius: 100%;
			-webkit-animation: pulse 3s ease infinite;
			animation: pulse 3s ease infinite;
			-webkit-animation-delay: 0.75s;
			animation-delay: 0.75s;
		}
	}

	@-webkit-keyframes pulse {
		0% {
			-webkit-transform: scale(0.9);
			transform: scale(0.9);
			opacity: 0.8;
		}

		100% {
			-webkit-transform: scale(15);
			transform: scale(15);
			opacity: 0;
		}
	}

	@keyframes pulse {
		0% {
			-webkit-transform: scale(0.9);
			transform: scale(0.9);
			opacity: 0.8;
		}

		100% {
			-webkit-transform: scale(15);
			transform: scale(15);
			opacity: 0;
		}
	}
}

Reviews

No reviews yet.