Skip to content
Snippets Groups Projects
Commit 7a75176a authored by alexisben's avatar alexisben
Browse files

heading spacing

parent 45eadad2
No related branches found
No related tags found
No related merge requests found
......@@ -161,13 +161,16 @@
--grid-gutter-negative: #{-$grid-gutter-xxl}
// -------------- //
// MARGIN //
// HEADING //
// ---------------//
--heading-margin-top: #{$heading-margin-top}
--heading-margin-bottom: #{$heading-margin-bottom}
@include in-page-with-sidebar
--heading-margin-top: #{ $heading-margin-top-with-sidebar}
--heading-margin-bottom: #{$heading-margin-bottom-with-sidebar}
@include in-page-without-sidebar
--heading-margin-top: #{ $heading-margin-top-desktop}
--heading-margin-bottom: #{$heading-margin-bottom-desktop}
// In page without sidebar
@include media-breakpoint-up(desktop)
body:not(.full-width)
--heading-margin-top: #{ $heading-margin-top-with-sidebar}
--heading-margin-bottom: #{$heading-margin-bottom-with-sidebar}
main > .blocks, body.full-width
--heading-margin-top: #{ $heading-margin-top-desktop}
--heading-margin-bottom: #{$heading-margin-bottom-desktop}
// HEADING
// Under desktop breakpoint
$heading-margin-top: $spacing-4 !default
$heading-margin-bottom: 0 !default
$heading-margin-bottom: $spacing-2 !default
// Upper desktop breakpoint without sidebar
$heading-margin-top-desktop: $spacing-6 !default
$heading-margin-bottom-desktop: $heading-margin-bottom !default
$heading-margin-bottom-desktop: $spacing-3 !default
// Upper desktop breakpoint with sidebar
$heading-margin-top-with-sidebar: $spacing-5 !default
$heading-margin-bottom-with-sidebar: $heading-margin-bottom !default
$heading-margin-top-with-sidebar: $spacing-6 !default
$heading-margin-bottom-with-sidebar: $spacing-3 !default
// BLOCKS
// Base
......
// Button
$btn-font-family: $heading-font-family !default
$btn-font-size: $meta-size !default
......
// Icons
$icons: ()
$icons: map-merge($icons, ("arrow": "\ff01"))
......
// Sections
$article-media-aspect-ratio: 2 !default
......@@ -22,5 +21,3 @@ $project-infos-color-accent: $color-accent !default
$program-essential-font-size: $meta-size !default
$program-essential-font-size-desktop: $meta-size-desktop !default
$program-zindex-toc: $zindex-toc !default
// MISC
\ No newline at end of file
// TYPOGRAPHY
// Fonts family
$body-font-family: "Baskerville", "Times New Roman", "Times", serif !default
$heading-font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
......
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