summaryrefslogtreecommitdiff
path: root/src/sass/_bootstrap.sass
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-19 15:05:25 +0100
committerGitHub <noreply@github.com>2021-03-19 15:05:25 +0100
commit85fa83918294eb11f7bea7c4b821bcc15b44d5cb (patch)
tree1fc12bfe371720d8cfc66ae9b72a3528010432ae /src/sass/_bootstrap.sass
parent24f06a5589bf440df492eb58237b749ebb8f884f (diff)
parent76f1866b9ba0d4fa90395f7f39586367092f15d2 (diff)
Merge pull request #7 from gico-net/feat/header
Header
Diffstat (limited to 'src/sass/_bootstrap.sass')
-rw-r--r--src/sass/_bootstrap.sass21
1 files changed, 18 insertions, 3 deletions
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
+