Skip to content
Snippets Groups Projects
Commit 2bf9e450 authored by alexisben's avatar alexisben
Browse files

add page chapo / change typo system / add space to dropdown menus

parent 7db2edfd
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ $link-color: $color-text !default
// TYPOGRAPHY
// Fonts family
$body-font-family: "Adobe Garamond Pro", "Garamond", "Times New Roman", "Times", serif !default
$body-font-family: "Baskerville", "Times New Roman", "Times", serif !default
$heading-font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
// Base
......@@ -155,7 +155,7 @@ $header-color: $color-text !default
$header-hover-color: $color-accent !default // TODO : Réflechir à plus élégant / générique
$header-background: transparent !default
$header-transition: 0.3s !default
$header-dropdown-full: true !default
$header-dropdown-full: false !default
$header-dropdown-background: $header-background !default
$header-dropdown-color: $header-color !default
$header-dropdown-transition: $header-transition !default
......
......@@ -4,7 +4,7 @@
.document-content
position: relative
@include in-page-with-sidebar
.blocks
.block
.block-content
@include media-breakpoint-up(md)
padding-left: offset(4)
......
......@@ -104,10 +104,10 @@
.dropdown-menu
margin-top: $header-nav-padding-y
min-width: 400px
padding-bottom: half($spacing0)
padding-left: $spacing0
padding-top: half($spacing0)
padding-right: $spacing0
padding-bottom: $spacing0
padding-left: $spacing1
padding-top: $spacing0
padding-right: $spacing1
right: 0
text-align: right
.nav-level-2
......
......@@ -2,6 +2,8 @@
{{ partial "pages/hero.html" . }}
<div class="document-content">
{{/* TOC PART */}}
{{- $category := site.GetPage (printf "/categories%s" .Params.category) -}}
{{- if .Params.blocks }}
{{ $need_aside := false }}
......@@ -17,7 +19,19 @@
"context" .
)
}}
{{ partial "hooks/after-page-hero.html" . }}
{{ end }}
{{ partial "hooks/after-page-hero.html" . }}
<section class="block block-chapo">
<div class="container">
<div class="block-content">
{{- partial "pages/chapo.html" .Params.description_short -}}
</div>
</div>
</section>
{{ if .Params.blocks }}
{{ partial "blocks/list.html" . }}
{{ else }}
<section class="block block-pages block-pages--grid">
......
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