<commit_before>/**
 *
 * Inline Style
 *
 * @author <NAME> @ Space-Time Inc.
 * @version 2018-11-09
 *
 */


@import '../basic/base';
@import '../basic/font';
@import '../basic/layout';


$stile-inline-color-strong       : rgba(#000, 0.95) !default;
$stile-inline-color-underline    : rgba(#fd0, 0.9) !default;
$stile-inline-color-del          : rgba(#f40, 0.9) !default;
$stile-inline-color-abbr         : rgba(#12f, 0.9) !default;
$stile-inline-color-broken-image : $stile-inline-color-del !default;
$stile-inline-width-underline    : 0.4em !default;
$stile-inline-width-del          : 0.15em !default;
$stile-inline-size-font-small    : 0.85em !default;
$stile-inline-size-font-subscript: 0.75em !default;
$stile-inline-size-font-monospace: 0.95em !default;


@mixin stile-inline {
	img {
		max-width: 100%;
		height: auto;

		// for broken images (does not work on IE11 and Edge)
		&[alt]::after {
			content: attr(src);
			@include layout-centering(true);

			padding: base-vr(0.5) base-vr(1);
			border: 1px dashed $stile-inline-color-broken-image;
			min-height: base-vr(2);

			color: $stile-inline-color-broken-image;
			font-size: 0.85em;
			line-height: 1.35em;
			word-break: break-all;
			text-decoration: line-through;

			vertical-align: text-bottom;
		}
		transition: opacity 0.2s;  // for lazy loading
	}
	strong, b {
		@include font-bold;
	}
	em, cite {
		font-style: italic;
	}
	p, li, td, th, del, span:not([class]) {
		> {
			strong, b, em { color: $stile-inline-color-strong; }
		}
	}
	u, span[data-stile ~= 'inline-underline'] {
		text-decoration: none;
		background-image: linear-gradient(to right, $stile-inline-color-underline 0%, transparentize($stile-inline-color-underline, 0.25) 100%);
		background-size: 100% $stile-inline-width-underline;
		background-repeat: no-repeat;
		background-position: left bottom;
	}
	span:not([data-stile]) {  // Before the script loaded
		&[style = 'text-decoration:underline;'],
		&[style = 'text-decoration: underline;'] {
			text-decoration: underline $stile-inline-color-underline !important;
		}
	}
	del {
		text-decoration: none;<commit_msg>Adjust the thin underline color<commit_after>/**
 *
 * Inline Style
 *
 * @author <NAME> @ Space-Time Inc.
 * @version 2018-11-09
 *
 */


@import '../basic/base';
@import '../basic/font';
@import '../basic/layout';


$stile-inline-color-strong       : rgba(#000, 0.95) !default;
$stile-inline-color-underline    : rgba(#fd0, 0.90) !default;
$stile-inline-color-del          : rgba(#f40, 0.90) !default;
$stile-inline-color-abbr         : rgba(#12f, 0.90) !default;
$stile-inline-color-broken-image : $stile-inline-color-del !default;
$stile-inline-width-underline    : 0.4em !default;
$stile-inline-width-del          : 0.15em !default;
$stile-inline-size-font-small    : 0.85em !default;
$stile-inline-size-font-subscript: 0.75em !default;
$stile-inline-size-font-monospace: 0.95em !default;


@mixin stile-inline {
	img {
		max-width: 100%;
		height: auto;

		// for broken images (does not work on IE11 and Edge)
		&[alt]::after {
			content: attr(src);
			@include layout-centering(true);

			padding: base-vr(0.5) base-vr(1);
			border: 1px dashed $stile-inline-color-broken-image;
			min-height: base-vr(2);

			color: $stile-inline-color-broken-image;
			font-size: 0.85em;
			line-height: 1.35em;
			word-break: break-all;
			text-decoration: line-through;

			vertical-align: text-bottom;
		}
		transition: opacity 0.2s;  // for lazy loading
	}
	strong, b {
		@include font-bold;
	}
	em, cite {
		font-style: italic;
	}
	p, li, td, th, del, span:not([class]) {
		> {
			strong, b, em { color: $stile-inline-color-strong; }
		}
	}
	u, span[data-stile ~= 'inline-underline'] {
		text-decoration: none;
		background-image: linear-gradient(to right, $stile-inline-color-underline 0%, transparentize($stile-inline-color-underline, 0.25) 100%);
		background-size: 100% $stile-inline-width-underline;
		background-repeat: no-repeat;
		background-position: left bottom;
	}
	span:not([data-stile]) {  // Before the script loaded
		&[style = 'text-decoration:underline;'],
		&[style = 'text-decoration: underline;'] {
			text-decoration: underline darken($stile-inline-color-underline, 10%) !important;
		}
	}
	del {
		text-decoration: none;
{'fraction_non_alphanumeric': 0.17325800376647835, 'fraction_numerical': 0.032721280602636536, 'mean_word_length': 3.416839916839917, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '751089', 'n_tokens_mistral': 1814, 'n_tokens_neox': 1571, 'n_words': 314}