diff --git a/src/index.html b/src/index.html index cdc535527..79649b49e 100644 --- a/src/index.html +++ b/src/index.html @@ -26,18 +26,18 @@ - Products + Products - About as + About as Blog - - - Contact us + + + Contact us @@ -54,10 +54,7 @@ Creative bakery alt="cookie"> - + Learn more @@ -76,10 +73,10 @@ Creative bakery - Products + Products - About as + About as Blog @@ -95,7 +92,7 @@ Creative bakery - + What we bake We can customize our cookies right for your needs. Just imagine it @@ -174,7 +171,7 @@ What we bake - + Few words About us Like many design teams, Onfido made the transition from Abstract + Sketch, to Figma in the last couple of years. One of the common resistance points internally before making that switch, was Figma’s lack of Git-style branching that Abstract enabled. The design team had come to rely on branching and had built a lot of our processes around it. @@ -239,13 +236,13 @@ Contact us Call us - (629) 555-0129 + (629) 555-0129 - (603) 555-0123 + (603) 555-0123 - (704) 555-0127 + (704) 555-0127 @@ -262,9 +259,9 @@ Contact us © Bakerlab 2022 diff --git a/src/styles/aside.scss b/src/styles/aside.scss index 79a76fca7..ae45e1605 100644 --- a/src/styles/aside.scss +++ b/src/styles/aside.scss @@ -10,6 +10,7 @@ } &__item { + align-items: center; text-align: center; margin-bottom: 24px; transition: 0.3s; diff --git a/src/styles/footer.scss b/src/styles/footer.scss index 78a2c8a59..bedff8bee 100644 --- a/src/styles/footer.scss +++ b/src/styles/footer.scss @@ -33,6 +33,11 @@ color: #fff; line-height: 150%; letter-spacing: -0.16px; + transition: 0.3s; + + &:hover { + color: #7a7878; + } } &__contact { @@ -135,6 +140,10 @@ .gray { text-transform: uppercase; color: $gray; + + &:hover { + color: $gray; + } } .contact__title { diff --git a/src/styles/header.scss b/src/styles/header.scss index 75e72b31b..23d7b48a9 100644 --- a/src/styles/header.scss +++ b/src/styles/header.scss @@ -97,14 +97,20 @@ left: 15%; } + @include onMTablet { + top: 80%; + left: 1%; + } + @include onDesktop { font-size: 136px; - top: 15%; - left: -4%; + top: 35%; + left: 2%; } } &__button { + background-position: 25%; display: flex; justify-content: center; align-items: center; @@ -119,6 +125,11 @@ gap: 4px; grid-column: 1 / -1; + &:hover { + background-color: pink; + color: #f692c9; + } + @include onTablet { grid-column: 3 / -3; } diff --git a/src/styles/menu.scss b/src/styles/menu.scss index 7024e2b8f..957a793a6 100644 --- a/src/styles/menu.scss +++ b/src/styles/menu.scss @@ -6,6 +6,7 @@ } &__item { + scroll-behavior: smooth; align-items: center; list-style: none; @@ -22,6 +23,7 @@ } &__link { + scroll-behavior: smooth; line-height: 150%; text-decoration: none; color: $text-color; @@ -38,7 +40,6 @@ letter-spacing: 0.32px; color: $active-color; align-items: center; - text-align: center; } } @@ -69,7 +70,7 @@ } } -.phone { +.phone { &:hover { border-bottom: 1px solid $active-color; } diff --git a/src/styles/mixins.scss b/src/styles/mixins.scss index 122bece24..0534fd634 100644 --- a/src/styles/mixins.scss +++ b/src/styles/mixins.scss @@ -4,6 +4,12 @@ } } +@mixin onMTablet () { + @media (min-width: 600px) and (max-width: 710px) { + @content; + } +} + @mixin onDesktop () { @media (min-width: 1000px) { @content; diff --git a/src/styles/page.scss b/src/styles/page.scss index c297d912e..44b8d9ac3 100644 --- a/src/styles/page.scss +++ b/src/styles/page.scss @@ -1,4 +1,5 @@ .page { + scroll-behavior: smooth; margin: 0; padding: 0; &:has(.page__menu:target) { diff --git a/src/styles/products.scss b/src/styles/products.scss index f06a56e98..27287c2cb 100644 --- a/src/styles/products.scss +++ b/src/styles/products.scss @@ -29,6 +29,10 @@ grid-column: span 3; } + @include onBigDesktop { + grid-column: span 2; + } + &__img { grid-column: 1 / -1; border: 1px solid $c-gray; @@ -43,6 +47,7 @@ } &__group { + z-index: 1; margin-top: 16px; margin-bottom: 8px; color: $gray; @@ -77,4 +82,8 @@ @include onDesktop { grid-column: 3 / 6; } + + @include onBigDesktop { + grid-column: 4 / 6; + } }
We can customize our cookies right for your needs. Just imagine it
Like many design teams, Onfido made the transition from Abstract + Sketch, to Figma in the last couple of years. One of the common resistance points internally before making that switch, was Figma’s lack of Git-style branching that Abstract enabled. The design team had come to rely on branching and had built a lot of our processes around it.
© Bakerlab 2022