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
@include media-breakpoint-up(desktop)
// 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(desktop)
@include media-breakpoint-up(desktop)
@include media-breakpoint-up(desktop)
@include media-breakpoint-up(desktop)
@include media-breakpoint-up(desktop)
@include media-breakpoint-up(desktop)
h1, .h1,
h2, .h2
a
text-decoration-thickness: 0
&:hover
text-decoration-thickness: 1px
font-family: $lead-font-family
font-size: $lead-size
font-weight: $lead-weight
line-height: $lead-line-height
@include media-breakpoint-up(desktop)
@if $handle-sidebar
@include in-page-with-sidebar
font-family: $lead-sidebar-font-family
font-size: $lead-sidebar-size-desktop
font-weight: $lead-sidebar-weight
line-height: $lead-sidebar-line-height
@include media-breakpoint-up(desktop)
font-family: $meta-font-family
font-size: $meta-size
font-weight: $meta-weight
line-height: $meta-line-height
@include media-breakpoint-up(desktop)
.meta
@include meta
@mixin signature
font-family: $signature-font-family
font-size: $signature-size
font-weight: $signature-weight
line-height: $signature-line-height
@include media-breakpoint-up(desktop)
.signature
@include signature
@mixin small
font-family: $small-font-family
font-size: $small-size
font-weight: $small-weight
line-height: $small-line-height
@include media-breakpoint-up(desktop)
@mixin inherit-text
font-family: inherit
font-weight: inherit
font-style: inherit
font-size: inherit
line-height: inherit
font-family: $quote-font-family
font-size: $quote-size
font-weight: $quote-weight
font-style: $quote-style
line-height: $quote-line-height
@include media-breakpoint-up(desktop)
font-size: $quote-size-desktop-long
blockquote, .blockquote
@include blockquote
p
margin-top: 0
margin-bottom: 0
+ p
margin-top: $spacing0
font-size: $btn-font-size
padding: $btn-padding-y $btn-padding-x
text-decoration: none
display: inline-block
@include media-breakpoint-up(desktop)
font-size: $btn-font-size-desktop
padding: $btn-padding-y-desktop $btn-padding-x-desktop
abbr, abbr[title]
@include text-underline
text-decoration-style: dotted
*: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
.icon-block-#{$name}
@include icon-block($name, before)