<commit_before>// Typography
//
// See default typographic styles below:
//
// Markup: typography.twig
//
// Weight: 2
//
// Styleguide: Design.Typography
html
    font-family sans-serif
    font-size 100%
    text-size-adjust 100%

body
    _fontload($fontstack-base)
    font-size 1rem
    line-height _getLh(@font-size)
    -webkit-font-smoothing antialiased
    -moz-osx-font-smoothing grayscale // FF

a
    color inherit
    text-decoration none

h1
h2
h3
h4
h5
h6
    _fontload($fontstack-headings)
    font-weight bold
    line-height _lh(1)

h1
    font-size _rem(21px)
    line-height _getLh(@font-size)

h2
    font-size _rem(17px)
    line-height _getLh(@font-size)

h3
    font-size _rem(14px)
    line-height _getLh(@font-size)

// list
ul
ol
    _mt(1)
    _mb(1)
    padding 0 0 0 1.1em // dots alignment

/* Reset of margin/padding on nested elements */
li p
li ul
    margin-bottom 0
    margin-top 0
    padding-bottom 0
    padding-top 0

//
hr
    margin _lh(2) 0 _lh(4)
    clear both
    background-color currentColor
    border 0
    height 1px

tt
code
kbd
samp
pre
    border-radius _rem(2px)
    font-size 1.2em // em value to make it relative to the context font size

small
    font-size .75em

blockquote
    _fontload($fontstack-secondary, normal, normal)
    position relative
    padding .75em 1.5em 0
    font-style italic
    line-height 1.3

    &:before
        position absolute
        top 0
        left 0
        content '\201C'
        font-family 'Georgia', 'Times New Roman', Times, serif
        font-size 3em
        color var(--color-primary)

/* Tables */
table
    border-collapse collapse
    border-spacing 0
    border-width 0
    empty-cells show
    background-color var(--color-bg-secondary)

thead
    tr
        background-color var(--color-base)
        color var(--color-base-foreground)

td
th
    _p(.5 1)
    word-wrap break-word
    hyphens none
    border-width 0

/* (1) Important : [title] attribut must be present
 * (2) For IE 8/9, Safari 5, and Chrome : they have not default style for this tag
 */
abbr[title] // 1
    text-decoration none
    border-bottom 1px dotted // 2

/* Avoid text overflow forcing return to new line */
textarea
table
td
th
code
pre
samp
div
p
    word-wrap break-word
    hyphens none

// (1) we keep spaces and carriage return as far as possible
code
pre
samp<commit_msg>Try to fix issue on chrome with hyphens<commit_after>// Typography
//
// See default typographic styles below:
//
// Markup: typography.twig
//
// Weight: 2
//
// Styleguide: Design.Typography
html
    font-family sans-serif
    font-size 100%
    text-size-adjust 100%

body
    _fontload($fontstack-base)
    font-size 1rem
    line-height _getLh(@font-size)
    -webkit-font-smoothing antialiased
    -moz-osx-font-smoothing grayscale // FF

a
    color inherit
    text-decoration none

h1
h2
h3
h4
h5
h6
    _fontload($fontstack-headings)
    font-weight bold
    line-height _lh(1)

h1
    font-size _rem(21px)
    line-height _getLh(@font-size)

h2
    font-size _rem(17px)
    line-height _getLh(@font-size)

h3
    font-size _rem(14px)
    line-height _getLh(@font-size)

// list
ul
ol
    _mt(1)
    _mb(1)
    padding 0 0 0 1.1em // dots alignment

/* Reset of margin/padding on nested elements */
li p
li ul
    margin-bottom 0
    margin-top 0
    padding-bottom 0
    padding-top 0

//
hr
    margin _lh(2) 0 _lh(4)
    clear both
    background-color currentColor
    border 0
    height 1px

tt
code
kbd
samp
pre
    border-radius _rem(2px)
    font-size 1.2em // em value to make it relative to the context font size

small
    font-size .75em

blockquote
    _fontload($fontstack-secondary, normal, normal)
    position relative
    padding .75em 1.5em 0
    font-style italic
    line-height 1.3

    &:before
        position absolute
        top 0
        left 0
        content '\201C'
        font-family 'Georgia', 'Times New Roman', Times, serif
        font-size 3em
        color var(--color-primary)

/* Tables */
table
    border-collapse collapse
    border-spacing 0
    border-width 0
    empty-cells show
    background-color var(--color-bg-secondary)

thead
    tr
        background-color var(--color-base)
        color var(--color-base-foreground)

td
th
    _p(.5 1)
    word-wrap break-word
    hyphens none
    border-width 0

/* (1) Important : [title] attribut must be present
 * (2) For IE 8/9, Safari 5, and Chrome : they have not default style for this tag
 */
abbr[title] // 1
    text-decoration none
    border-bottom 1px dotted // 2

/* Avoid text overflow forcing return to new line */
textarea
table
td
th
code
pre
samp
div
p
    word-wrap break-word
    hyphens manual

// (1) we keep spaces and carriage return as far as possible
code
pre
samp
{'fraction_non_alphanumeric': 0.09109991603694374, 'fraction_numerical': 0.030226700251889168, 'mean_word_length': 2.3182451253481893, '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': '4646335', 'n_tokens_mistral': 1764, 'n_tokens_neox': 1644, 'n_words': 518}