<commit_before>// --------------------------------------------------------------------------
// Undertline (http://j.mp/1jEBz5g, http://codepen.io/ghepting/pen/tLnHK/)
// --------------------------------------------------------------------------

// Defaults
// --------------------------------------------------------------------------

$weight: .05rem !default;
$offset: .5rem !default;

// (One retina-pixel) underlining
// --------------------------------------------------------------------------

@mixin underline($color, $text-shadow-color: $background-color, $weight: $weight, $offset: $offset) {
	position: relative;
	background-image: linear-gradient(to top, transparent, transparent $offset, $color $offset, $color $offset + $weight, transparent $offset + $weight); // The more beautiful underlining!
	text-decoration: none;
	text-shadow: -1px -1px 0 $text-shadow-color, 1px -1px 0 $text-shadow-color, -1px 1px 0 $text-shadow-color, 1px 1px 0 $text-shadow-color; // Breaks underlining on descenders!

	.no-cssgradients & {
		text-decoration: underline !important;
	}

	@include hidpi-media(1.5) {
		background-image: linear-gradient(to top, transparent, transparent $offset * .5, $color $offset * .5, $color ($offset + $weight) * .5, transparent ($offset + $weight) * .5); // Apply .5 pixel (1 retina-pixel) for HiDPI/Retina screens!
	}
}<commit_msg>Fine-tune underline mixin (retina/hairline underlines).<commit_after>// --------------------------------------------------------------------------
// Undertline (http://j.mp/1jEBz5g, http://codepen.io/ghepting/pen/tLnHK/)
// --------------------------------------------------------------------------

// Defaults
// --------------------------------------------------------------------------

$weight: .04em !default;
$offset: .14em !default;

// (One retina-pixel) underlining
// --------------------------------------------------------------------------

@mixin underline($color, $text-shadow-color: $background-color, $weight: $weight, $offset: $offset) {
	position: relative;
	background-image: linear-gradient(to top, transparent, transparent $offset, $color $offset, $color $offset + $weight, transparent $offset + $weight); // The more beautiful underlining!
	text-decoration: none;
	text-shadow: -1px -1px 0 $text-shadow-color, 1px -1px 0 $text-shadow-color, -1px 1px 0 $text-shadow-color, 1px 1px 0 $text-shadow-color; // Breaks underlining on descenders!

	.no-cssgradients & {
		text-decoration: underline !important;
	}

	@include hidpi-media(1.5) {
		background-image: linear-gradient(to top, transparent, transparent $offset, $color $offset, $color ($offset + $weight / 2), transparent ($offset + $weight / 2)); // Apply .5 pixel (1 retina-pixel) for HiDPI/Retina screens!
	}
}
{'fraction_non_alphanumeric': 0.34423845874227554, 'fraction_numerical': 0.017811704834605598, 'mean_word_length': 1.7193675889328064, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3626331', 'n_tokens_mistral': 802, 'n_tokens_neox': 751, 'n_words': 196}