Added separate nav breakpoint and text sizes to editor

This commit is contained in:
Dan Coulthard 2023-09-06 16:24:06 +01:00
parent bd493e99ed
commit d6c2e451f9
7 changed files with 40 additions and 219 deletions

View file

@ -15,7 +15,7 @@
margin: 8px auto;
transition: all $animation-speed $animation;
@include resp-max($breakpoint-md) {
@include resp-max($breakpoint-nav) {
display: block;
}
@ -57,7 +57,7 @@
}
.nav--header {
@include resp-max($breakpoint-md) {
@include resp-max($breakpoint-nav) {
ul {
list-style: none;
}

View file

@ -6,6 +6,7 @@ $breakpoint-lg: 1280px;
$breakpoint-md: 1024px;
$breakpoint-sm: 768px;
$breakpoint-xs: 480px;
$breakpoint-nav: 1000px;
/**
* Typography

View file

@ -2,7 +2,7 @@
padding: $base-spacing-unit 0;
margin-bottom: ($base-spacing-unit * 2);
.header__navigation {
@include resp-max($breakpoint-md) {
@include resp-max($breakpoint-nav) {
display: none;
position: fixed;
left: 0;

View file

View file

@ -38,6 +38,7 @@ Text Domain: barebones
@import 'layout/main';
@import 'layout/header';
@import 'layout/footer';
@import 'layout/sections';
// 6 .Components
@import 'components/buttons';