Skip to content
Snippets Groups Projects
Commit 44a1469d authored by alexisben's avatar alexisben
Browse files

lead in page

parent 24a6ad54
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ $btn-padding-y: px2rem(13) !default
$btn-border-radius: px2rem(4) !default
// Breadcrumb
$breadcrumb-below-h1: false !default
$breadcrumb-below-h1: false !default // NOT READY YET!
$breadcrumb-color: $color-text !default
$breadcrumb-icon: "caret-right" !default
$breadcrumb-icon-color: $color-text-alt !default
......
......@@ -10,3 +10,4 @@
padding-left: offset(4)
// @include media-breakpoint-up(xxl)
// padding-left: offset(5)
......@@ -29,15 +29,16 @@
a
color: inherit
@if $breadcrumb-below-h1
.container:first-child
display: flex
flex-direction: column
nav + .content
margin-top: 0
.breadcrumb-nav
order: 3
margin-top: $spacing3
// TODO : handle hero with image
// @if $breadcrumb-below-h1
// .container:first-child
// display: flex
// flex-direction: column
// nav + .content
// margin-top: 0
// .breadcrumb-nav
// order: 3
// margin-top: $spacing3
@include media-breakpoint-down(md)
&--with-image
......
......@@ -11,3 +11,7 @@
.page__children
margin-top: $spacing3
.pages__section:not(.full-width)
.lead
@include h2
\ No newline at end of file
......@@ -4,7 +4,7 @@
{{- $bodyclass = printf "page-%s" $bodyclass -}}
{{- end -}}
{{- if or .Params.full_width (and (eq .Kind "section") (eq .Type "posts")) -}}
{{- if or .Params.full_width (and (eq .Kind "section") (eq .Type "posts")) .Params.diplomas -}}
{{- $bodyclass = printf "full-width %s" $bodyclass -}}
{{- end -}}
......
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