Newer
Older
// https://developers.osuny.org/docs/theme/architecture/typographie/
body
font-family: $body-font-family
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
font-size: $body-size
font-variant-ligatures: common-ligatures
text-rendering: optimizelegibility
line-height: $line-height-base
@include media-breakpoint-up(md)
font-size: $body-size-md
// Experimental, not implemented yet
p, h1, h2, h3, h4, h5, h6, li, a, th, td, span
text-edge: cap alphabetic
leading-trim: both
@include media-breakpoint-up(md)
font-size: $h1-size-md
@include media-breakpoint-up(md)
font-size: $h2-size-md
@include media-breakpoint-up(md)
font-size: $h3-size-md
@include media-breakpoint-up(md)
font-size: $h4-size-md
h1, .h1,
h2, .h2
a
text-decoration-thickness: 0
&:hover
text-decoration-thickness: 1px
.lead
margin-top: 0
font-family: $lead-font-family
font-size: $lead-size
font-weight: $lead-weight
line-height: $lead-line-height
@include media-breakpoint-up(md)
font-size: $lead-size-md
.meta
font-family: $meta-font-family
font-size: $meta-size
font-weight: $meta-weight
line-height: $meta-line-height
@include media-breakpoint-up(md)
font-size: $meta-size-md
.signature
font-family: $signature-font-family
font-size: $signature-size
font-weight: $signature-weight
line-height: $signature-line-height
@include media-breakpoint-up(md)
font-size: $signature-size-md
small, .small
font-family: $small-font-family
font-size: $small-size
font-weight: $small-weight
line-height: $small-line-height
@include media-breakpoint-up(md)
font-size: $small-size-md
[itemprop="articleBody"]
h1, h2, h3, h4, h5, h6
margin-block-start: 2em
&:first-child, meta + &
margin-block-start: 0
content: " #{map-get($icons, "link-blank")}"
display: inline
font-size: px2rem(10)
&[href^="mailto"]
&::after
content: none
.btn
font-size: $btn-font-size
padding: $btn-padding-y $btn-padding-x
text-decoration: none
display: inline-block
border-radius: $btn-border-radius
@include media-breakpoint-up(md)
font-size: $btn-font-size-md
padding: $btn-padding-y-md $btn-padding-x-md
text-shadow: none
*:focus-visible
outline-color: gray
outline-offset: 5px
outline-style: dashed
outline-width: 1px
@media (prefers-reduced-motion: no-preference)
*:focus-visible
transition: outline-offset .3s ease
// ICONS
@font-face
font-display: block
font-family: 'Icon'
font-style: normal
font-weight: 400
src: url('../fonts/icons/icomoon.woff') format("woff")