diff --git a/dev/scss/theme/_layout.scss b/dev/scss/theme/_layout.scss index e1493476..e510c0f9 100644 --- a/dev/scss/theme/_layout.scss +++ b/dev/scss/theme/_layout.scss @@ -12,6 +12,22 @@ $containers: '.site-header .header-inner,.site-header:not(.dynamic-header), .sit width: 100%; } +@custom-media --hello-screen-xs-and-below (width < #{variables.$screen-xs}); +@custom-media --hello-screen-xs-and-above (width >= #{variables.$screen-xs}); +@custom-media --hello-screen-xs-only (0 <= width < #{variables.$screen-xs}); + +@custom-media --hello-screen-sm-and-below (width < #{variables.$screen-sm}); +@custom-media --hello-screen-sm-and-above (width >= #{variables.$screen-sm}); +@custom-media --hello-screen-sm-only (#{variables.$screen-xs} <= width < #{variables.$screen-sm}); + +@custom-media --hello-screen-md-and-below (width < #{variables.$screen-md}); +@custom-media --hello-screen-md-and-above (width >= #{variables.$screen-md}); +@custom-media --hello-screen-md-only (#{variables.$screen-sm} <= width < #{variables.$screen-md}); + +@custom-media --hello-screen-xl-and-below (width < #{variables.$screen-xl}); +@custom-media --hello-screen-xl-and-above (width >= #{variables.$screen-xl}); +@custom-media --hello-screen-xl-only (#{variables.$screen-md} <= width < #{variables.$screen-xl}); + @media (max-width: variables.$screen-xs - variables.$screen-diff){ #{$containers} {