<commit_before>/* TOC – Typography

Check typography variables › _3_typography_settings.scss

- Links
- Customize Foundation Typography
- Headlines
- Images
- Lists
- Tables
- Code
- Quotes
- Typography for Articles
- Smaller Fontsize for Bigteaser on small devices
- Additional typographical elements
- Footnotes
- Icon Font

*/



/* Links
------------------------------------------------------------------- */

a,
a:link {    
        font-size: rem-calc(12);
}

a:visited {
        border-bottom: $grey-2;
}

a:hover {
        color: darken( $ci-1, 20% );
}

a:focus {
        color: lighten( $ci-1, 30% );
}

a:active {
        color: darken( $ci-1, 40% );
}



/* Customize Foundation Typography
------------------------------------------------------------------- */

p {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -ms-word-break: break-all;
    /* Non standard for webkit */
    word-break: break-word;
}
p a,
article a {
    font-weight: bold;
    /*border-bottom: 1px dotted; */
    
}
p a:hover,
article a:hover {
    border-bottom: 1px solid;
}
p a.button,
.button,
.button:hover {
    border: 0;
    color: #fff;
}
p.button a {
    border: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}



/* Headlines
------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: $header-font-family;
    font-weight: normal;
    padding: 0;
}

h1 {
    font-size: $font-size-h1;
    margin-top: 0;
}
h2 {
    font-size: $font-size-h2;
    margin: 1.563em 0 0 0;
}
    .blog-index h2 {
        margin-top: 0;
    }
h3 {
    font-size: $font-size-h3;
    margin: 1.152em 0 0 0;
}
h4 {
    font-size: $font-size-h4;
    margin: 1.152em 0 0 0;
}
h5 {
    font-size: $font-size-h5;
    margin: 1em 0 0 0;
}



/* Images
------------------------------------------------------------------- */

img { border-radius: $global-radius;}
    img.alignleft,
    img.left        { float: left; margin:5px 15px 5px 0; }
    img.alignright,
    img.right       { float: right; margin:5px 0 5px 15px; }
    img.aligncenter,
    img.center      { display: block; margin:0 auto 10px; }

figure {
    margin: 0 0 rem-calc(30) 0;
}
#masthead-with-background-color figure,
#masthead-with-pattern figure {
    margin: 0;
}
figcaption,
.masthead-caption {
    color: $grey-10;
    font-family: $font-family-sans-serif;
    font-size: rem-calc(13);
    padding-top: rem-calc(2);
}
figcaption a,
.masthead-caption a {
    border-bottom: 1px dotted $grey-4;
    color: $grey-10;
}
figcaption a:hover,
.masthead-caption a:hover {
    border-bottom: 2px solid $primary-color;
    color: $primary-color;
}
.masthead-caption {
    padding-right: 10px;
    text-align: right;
}



/* Tables
------------------------------------------------------------------- */

td {
    vertical-align: top;
}



/* Code
------------------------------------------------------------------- */

pre {
    overflow: auto;
    margin-bottom: rem-calc(12);
    padding: 2px;
    background-color: $code-background-color;
    border-radius: $global-radius;
}
pre code {
    padding: rem-calc(2) rem-calc(5) rem-calc(1) rem-calc(1);
    border: 0px;
}

code {
    font-size: rem-calc(11);
    line-height: 1.5;
}



/* Lists
------------------------------------------------------------------- */

ul, ol {
    margin-left: 20px;
    padding: 0;
}
li {
    margin-left: 0;
}

.no-bullet {
    list-style: none;
    margin-left: 0;
}

li {
    > ul,
    > ol {
         margin-bottom: 0;
    }
}

dl {

}
dt:first-child {
    padding-top: 0px;
}
dt {
    font-weight: bold;
    padding-top: 30px;
}
dd {
}
article dl dt   { line-height: 1.3; }
article dl dd   { line-height: 1.6; margin-bottom: rem-calc(12); margin-left: rem-calc(24); }


/* Custom quotes
------------------------------------------------------------------- */

.smallblock {
	margin-top: 1.5em;
	margin-left: 28px;
	padding-left: 30px;
	padding-right: 10px;
        padding-top: 1em;
        padding-bottom: 1em;
	text-indent: -12px;
        font-size: rem-calc(11);
	background-color: lighten($ci-3,30);
	border-left: 2px solid lighten($ci-4,30);
	border-right: 2px solid lighten($ci-5,30);
	a {    
        font-size: rem-calc(11);
        }
}


.smallquote {
	margin-left: 38px;
	padding-left: 40px;
	border-left: 4px solid darken($grey-10,30);
        font-size: rem-calc(12);
}

.smalltoc::before { 
    content: "Table of Contents";
    font-weight: bold;
    font-size: rem-calc(14);
}

.smalltoc {
	margin-left: 38px;
	margin-right: 188px;
	padding-left: 40px;
	background-color: lighten($grey-6,30);
	border: 1px solid darken($grey-5,10);
        font-size: rem-calc(12);
        ul {list-style: none;
        }
    
}

.notice {
	margin-top: 1.5em;
	padding: .5em 1em;
	text-indent: 0;
        font-size: rem-calc(12);
	background-color: lighten($alert-color,30);
	border: 1px solid $alert-color;
}


.tag-box {
list-style: none;
margin: 0;
padding: 4px 0;
overflow: hidden;
*zoom: 1;
}
.tag-box:before, .tag-box:after {
display: table;
content: "";
line-height: 0;
}
.tag-box:after {
clear: both;
}
.tag-box.inline li {
float: left;
font-size: 12px;
font-size: 0.875rem;
line-height: 2.5;
font-style: bold;
}
.tag-box a {
padding: 4px 6px;
margin: 2px;
background-color: #e6e6e6;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
text-decoration: none;
}
.tag-box a span {
vertical-align: super;
font-size: 10px;
font-size: 0.625rem;
}





/* Quotes
------------------------------------------------------------------- */

blockquote {
    font-style: italic;
    position: relative;
	border-left: 6px solid $grey-10;
    margin: 15px 15px 15px 15px;
    color: #4b4b4d
    
}

    blockquote p {font-style: italic; color: $grey-10; }

    /*
    blockquote:before {
        display:block;content:"\00BB";
        font-size:80px;
        line-height: 0;
        position:absolute;
        left:-25px;
        top: auto;
        color:#4b4b4d
    }
    

    blockquote:after {
        display:block;
        content:"\00AB";
        font-size:80px;
        line-height: 0;
        position:absolute;
        right:-10px;
        bottom: 20px;
        color:#4b4b4d;
    }
    */
    blockquote cite:before {
        content:"\2014 \0020"
    }
    blockquote cite a,blockquote cite a:visited {
        color: #555
    }

cite {
    padding-top: 5px;
}

button, .button {
    letter-spacing: 1px;
}

mark {
    background-color: scale-color($warning-color, $lightness: 60%);
}



/* Typography for Articles
------------------------------------------------------------------- */

.subheadline {
    font-size: rem-calc(16);
    margin: 0;
    text-transform: uppercase;
}
.teaser {
    font-size: rem-calc(14);
}
.big-teaser {
    font-style: italic; font-weight: 150;
}
.big-teaser a {
    font-style: italic; font-weight: 200;
}

/* Smaller Fontsize for Bigteaser on small devices */
@media only screen {
    .big-teaser {
        font-size: rem-calc(16);
    }
}
@media only screen and (min-width: 40.063em) {<commit_msg>Update _06_typography.scss<commit_after>/* TOC – Typography

Check typography variables › _3_typography_settings.scss

- Links
- Customize Foundation Typography
- Headlines
- Images
- Lists
- Tables
- Code
- Quotes
- Typography for Articles
- Smaller Fontsize for Bigteaser on small devices
- Additional typographical elements
- Footnotes
- Icon Font

*/



/* Links
------------------------------------------------------------------- */

a,
a:link {    
        font-size: rem-calc(12);
}

a:visited {
        border-bottom: $grey-2;
}

a:hover {
        color: darken( $ci-1, 20% );
}

a:focus {
        color: lighten( $ci-1, 30% );
}

a:active {
        color: darken( $ci-1, 40% );
}



/* Customize Foundation Typography
------------------------------------------------------------------- */

p {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -ms-word-break: break-all;
    /* Non standard for webkit */
    word-break: break-word;
}
p a,
article a {
    font-weight: bold;
    /*border-bottom: 1px dotted; */
    
}
p a:hover,
article a:hover {
    border-bottom: 1px solid;
}
p a.button,
.button,
.button:hover {
    border: 0;
    color: #fff;
}
p.button a {
    border: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}



/* Headlines
------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: $header-font-family;
    font-weight: normal;
    padding: 0;
}

h1 {
    font-size: $font-size-h1;
    margin-top: 0;
}
h2 {
    font-size: $font-size-h2;
    margin: 1.563em 0 0 0;
}
    .blog-index h2 {
        margin-top: 0;
    }
h3 {
    font-size: $font-size-h3;
    margin: 1.152em 0 0 0;
}
h4 {
    font-size: $font-size-h4;
    margin: 1.152em 0 0 0;
}
h5 {
    font-size: $font-size-h5;
    margin: 1em 0 0 0;
}



/* Images
------------------------------------------------------------------- */

img { border-radius: $global-radius;}
    img.alignleft,
    img.left        { float: left; margin:5px 15px 5px 0; }
    img.alignright,
    img.right       { float: right; margin:5px 0 5px 15px; }
    img.aligncenter,
    img.center      { display: block; margin:0 auto 10px; }

figure {
    margin: 0 0 rem-calc(30) 0;
}
#masthead-with-background-color figure,
#masthead-with-pattern figure {
    margin: 0;
}
figcaption,
.masthead-caption {
    color: $grey-10;
    font-family: $font-family-sans-serif;
    font-size: rem-calc(13);
    padding-top: rem-calc(2);
}
figcaption a,
.masthead-caption a {
    border-bottom: 1px dotted $grey-4;
    color: $grey-10;
}
figcaption a:hover,
.masthead-caption a:hover {
    border-bottom: 2px solid $primary-color;
    color: $primary-color;
}
.masthead-caption {
    padding-right: 10px;
    text-align: right;
}



/* Tables
------------------------------------------------------------------- */

td {
    vertical-align: top;
}



/* Code
------------------------------------------------------------------- */

pre {
    overflow: auto;
    margin-bottom: rem-calc(12);
    padding: 2px;
    background-color: $code-background-color;
    border-radius: $global-radius;
}
pre code {
    padding: rem-calc(2) rem-calc(5) rem-calc(1) rem-calc(1);
    border: 0px;
}

code {
    font-size: rem-calc(11);
    line-height: 1.5;
}



/* Lists
------------------------------------------------------------------- */

ul, ol {
    margin-left: 20px;
    padding: 0;
}
li {
    margin-left: 0;
}

.no-bullet {
    list-style: none;
    margin-left: 0;
}

li {
    > ul,
    > ol {
         margin-bottom: 0;
    }
}

dl {

}
dt:first-child {
    padding-top: 0px;
}
dt {
    font-weight: bold;
    padding-top: 30px;
}
dd {
}
article dl dt   { line-height: 1.3; }
article dl dd   { line-height: 1.6; margin-bottom: rem-calc(12); margin-left: rem-calc(24); }


/* Custom quotes
------------------------------------------------------------------- */

.smallblock {
	margin-top: 1.5em;
	margin-left: 28px;
	padding-left: 30px;
	padding-right: 10px;
        padding-top: 1em;
        padding-bottom: 1em;
	text-indent: -12px;
        font-size: rem-calc(11);
	background-color: lighten($ci-3,30);
	border-left: 2px solid lighten($ci-4,30);
	border-right: 2px solid lighten($ci-5,30);
	a {    
        font-size: rem-calc(11);
        }
}


.smallquote {
	margin-left: 38px;
	padding-left: 40px;
	border-left: 4px solid darken($grey-10,30);
        font-size: rem-calc(12);
}

.smalltoc::before { 
    content: "Table of Contents";
    font-weight: bold;
    font-size: rem-calc(14);
}

.smalltoc {
	margin-left: 38px;
	margin-right: 188px;
	padding-left: 40px;
	background-color: lighten($grey-6,30);
	border: 1px solid darken($grey-5,10);
        font-size: rem-calc(12);
        ul {list-style: none;
        }
    
}

.notice {
	margin-top: 1.5em;
	padding: .5em 1em;
	text-indent: 0;
        font-size: rem-calc(12);
	background-color: lighten($alert-color,30);
	border: 1px solid $alert-color;
}


.tag-box {
list-style: none;
margin: 0;
padding: 4px 0;
overflow: hidden;
*zoom: 1;
}
.tag-box:before, .tag-box:after {
display: table;
content: "";
line-height: 0;
}
.tag-box:after {
clear: both;
}
.tag-box.inline li {
float: left;
font-size: 12px;
font-size: 0.875rem;
line-height: 2.5;
font-style: bold;
}
.tag-box a {
padding: 4px 6px;
margin: 2px;
background-color: #e6e6e6;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
text-decoration: none;
}
.tag-box a span {
vertical-align: super;
font-size: 10px;
font-size: 0.625rem;
}





/* Quotes
------------------------------------------------------------------- */

blockquote {
    font-style: italic;
    position: relative;
	border-left: 6px solid $grey-10;
    margin: 15px 15px 15px 15px;
    color: #4b4b4d
    
}

    blockquote p {font-style: italic; color: $grey-10; }

    /*
    blockquote:before {
        display:block;content:"\00BB";
        font-size:80px;
        line-height: 0;
        position:absolute;
        left:-25px;
        top: auto;
        color:#4b4b4d
    }
    

    blockquote:after {
        display:block;
        content:"\00AB";
        font-size:80px;
        line-height: 0;
        position:absolute;
        right:-10px;
        bottom: 20px;
        color:#4b4b4d;
    }
    */
    blockquote cite:before {
        content:"\2014 \0020"
    }
    blockquote cite a,blockquote cite a:visited {
        color: #555
    }

cite {
    padding-top: 5px;
}

button, .button {
    letter-spacing: 1px;
}

mark {
    background-color: scale-color($warning-color, $lightness: 60%);
}



/* Typography for Articles
------------------------------------------------------------------- */

.subheadline {
    font-size: rem-calc(14);
    margin: 0;
    text-transform: uppercase;
}
.teaser {
    font-size: rem-calc(12);
}
.big-teaser {
    font-style: italic; font-weight: 150;
}
.big-teaser a {
    font-style: italic; font-weight: 200;
}

/* Smaller Fontsize for Bigteaser on small devices */
@media only screen {
    .big-teaser {
        font-size: rem-calc(16);
    }
}
@media only screen and (min-width: 40.063em) {
{'fraction_non_alphanumeric': 0.23445313050214803, 'fraction_numerical': 0.04169307697725192, 'mean_word_length': 1.7772345002933698, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4194444', 'n_tokens_mistral': 5604, 'n_tokens_neox': 5094, 'n_words': 1149}