diff options
| author | Arne Rief <arne.rief@gmail.com> | 2023-03-09 17:18:33 +0100 |
|---|---|---|
| committer | Arne Rief <arne.rief@gmail.com> | 2023-03-09 17:18:33 +0100 |
| commit | b2438296c9be5820f1cfccb2623a7f66566b82b1 (patch) | |
| tree | f6e096dcbde437e8ce33c695ce579a7f9cb2181f /sass/layout/_main-sections.scss | |
| parent | 1ad5e88a5707cec7bce6a1b593b808a5371704e3 (diff) | |
Favicon & phone optimization
Diffstat (limited to 'sass/layout/_main-sections.scss')
| -rw-r--r-- | sass/layout/_main-sections.scss | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/sass/layout/_main-sections.scss b/sass/layout/_main-sections.scss index aec49e5..190d020 100644 --- a/sass/layout/_main-sections.scss +++ b/sass/layout/_main-sections.scss @@ -2,11 +2,15 @@ .about-section { @include flex-sp-around-center; - @include narrow-container; + @include mobile-container; // mobile to smaller laptop screen sizes @include responsive(laptop) { @include flex-column-center; + @include medium-container; + } + + @include responsive(phone) { @include mobile-container; } } @@ -14,13 +18,17 @@ .welcome-section { @include standard-grid; gap: 8rem; - @include narrow-container; + @include mobile-container; width: 60%; // mobile to smaller laptop screen sizes @include responsive(laptop) { @include flex-column-center; gap: 4rem; + @include medium-container; + } + + @include responsive(phone) { @include mobile-container; } @@ -34,14 +42,20 @@ .projects-section { @include wide-container; + // less margin between h2 and the 2nd child = first project-container + & > div:not(:nth-child(2)) { + margin-top: 10rem; + } + // mobile to smaller laptop screen sizes @include responsive(laptop) { - @include mobile-container; + @include medium-container; } - // less margin between h2 and the 2nd child = first project-container - & > div:not(:nth-child(2)) { - margin-top: 10rem; + @include responsive(phone) { + @include flex-column-center; + margin: 8rem 0; + width: 100%; } } @@ -50,6 +64,10 @@ // mobile to smaller laptop screen sizes @include responsive(laptop) { + @include medium-container; + } + + @include responsive(phone) { @include mobile-container; } } |
