diff --git a/assets/sass/_theme/design-system/top.sass b/assets/sass/_theme/design-system/top.sass new file mode 100644 index 0000000000000000000000000000000000000000..8ccbfc8b861b8ab73f846361aa820f3683f0c820 --- /dev/null +++ b/assets/sass/_theme/design-system/top.sass @@ -0,0 +1,28 @@ +/* TODO Ã renomer */ +.top + align-items: baseline + display: flex + flex-wrap: wrap + justify-content: space-between + margin-bottom: $spacing1 + position: relative + h2, p + margin-bottom: 0 + h2 + a + @include stretched-link + div + margin-top: px2rem(5) + p + @include media-breakpoint-up(lg) + width: col(8) + .link + @extend .link-more + + // Polyfill flex-wrap + @supports not (flex-wrap: wrap) + display: block + h2 + display: inline-block + .link + float: right diff --git a/assets/sass/_theme/hugo-osuny.sass b/assets/sass/_theme/hugo-osuny.sass index 530513908b8e118a342457102b43b8b57350a4d2..4e96a4646c6980a80d2e9dbd1aa528a24eefbca4 100644 --- a/assets/sass/_theme/hugo-osuny.sass +++ b/assets/sass/_theme/hugo-osuny.sass @@ -23,6 +23,7 @@ @import "design-system/nav" @import "design-system/table" @import "design-system/table_of_content" +@import "design-system/top" @import "design-system/typography" // Blocks