Skip to content
Snippets Groups Projects
Commit 72f5fb9d authored by Olivia206's avatar Olivia206
Browse files

fonts config for block key figures

parent 394ca361
No related branches found
No related tags found
No related merge requests found
......@@ -282,6 +282,12 @@ $block-testimonials-pagination-background: $color-border !default
$block-testimonials-pagination-progress-background: $color-accent !default
// Block key_figures
// TODO : overkill ?
$block-key_figures-number-font-family: $heading-font-family !default
$block-key_figures-unit-font-weight: normal !default
$block-key_figures-number-font-weight: bold !default
$block-key_figures-font-size: px2rem(16) !default
$block-key_figures-number-font-size: px2rem(32) !default
......
......@@ -224,6 +224,8 @@
color: $color-accent
@include media-breakpoint-down(desktop)
a:nth-child(2)
margin-top: calc(#{$spacing0} / 2)
a, p
display: block
@include media-breakpoint-up(desktop)
......
......@@ -17,14 +17,14 @@
margin-top: 0
dt
white-space: nowrap
font-family: $heading-font-family
font-family: $block-key_figures-number-font-family
font-size: $block-key_figures-font-size
font-weight: $heading-font-weight
font-weight: bold
font-weight: $block-key_figures-unit-font-weight
line-height: 1
strong
display: inline-block
font-size: $block-key_figures-number-font-size
font-weight: $block-key_figures-number-font-weight
margin-inline-end: 0.1em
@include media-breakpoint-up(md)
font-size: $block-key_figures-font-size-desktop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment