From 76f1866b9ba0d4fa90395f7f39586367092f15d2 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 19 Mar 2021 15:05:00 +0100 Subject: feat: add header --- src/sass/_bootstrap.sass | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'src/sass/_bootstrap.sass') diff --git a/src/sass/_bootstrap.sass b/src/sass/_bootstrap.sass index 46309ba..755ffb1 100644 --- a/src/sass/_bootstrap.sass +++ b/src/sass/_bootstrap.sass @@ -1,7 +1,22 @@ @import "_variables.sass"; -body - font-family: $font-family - h1 font-family: $font-family-big + +@mixin breakpoint($point) + @if $point == desktop + @media (min-width: 70em) + @content + @else if $point == laptop + @media (min-width: 64em) + @content + @else if $point == tablet + @media (max-width: 1280px) + @content + @else if $point == phablet + @media (max-width: 1000px) + @content + @else if $point == mobileonly + @media (max-width: 768px) + @content + -- cgit v1.2.3-18-g5258