HEX
Server: Apache
System: Linux b5.s-host.com.ua 4.18.0-305.10.2.el7.x86_64 #1 SMP Fri Jul 23 21:00:55 UTC 2021 x86_64
User: unelbhzm (1470)
PHP: 8.0.18
Disabled: NONE
Upload Files
File: /sites/nuofama.com/wp-content/themes/blocksy/static/sass/frontend/4-components/links.scss
$selector: 
	'.entry-content p > a',
	'.entry-content em > a',
	'.entry-content strong > a', 
	'.entry-content > ul a',
	'.entry-content > ol a',
	'.wp-block-table a',
	'.ct-link-styles',
;

a {
	color: var(--linkInitialColor);
	text-decoration: var(--has-link-decoration, var(--textDecoration, none));

	&:hover {
		color: var(--linkHoverColor);
	}
}

// type 2
[data-link='type-2'] {
	#{$selector} {
		--textDecoration: underline;
	}
}

// type 3 & 4 & 5
[data-link='type-3'],
[data-link='type-4'],
[data-link='type-5'] {
	#{$selector} {
		background-position: var(--has-link-decoration, 0% 100%);
		background-repeat: var(--has-link-decoration, no-repeat);
	}
}

// type 4
[data-link='type-4'] {
	#{$selector} {
		background-size: var(--has-link-decoration, 100% 1px);
		background-image: var(--has-link-decoration, linear-gradient(currentColor, currentColor));
	}
}


// links speciffic cases
footer.ct-footer [data-link] a,
[data-link] .ct-posts-shortcode .entry-title a{
	--has-link-decoration: var(--false);

	&:hover {
		color: var(--linkHoverColor);
	}
}

footer.ct-footer [data-link="underline"] a {
	text-decoration: underline;
}