diff --git a/src/app/about/about.component.scss b/src/app/about/about.component.scss index c931145..411465b 100644 --- a/src/app/about/about.component.scss +++ b/src/app/about/about.component.scss @@ -1,3 +1,5 @@ +@import "../../vars.scss"; + :host { padding: 2rem 0; display: flex; @@ -75,3 +77,24 @@ } } + +@media only screen and (max-width: $small-screen) { + .contents { + gap: 0; + flex-direction: column; + + div { + width: 100%; + } + + div:last-child { + p { + display: none; + } + } + } + + .recipe { + margin-top: 1rem; + } +} diff --git a/src/app/footer/footer.component.scss b/src/app/footer/footer.component.scss index a834136..2553ab4 100644 --- a/src/app/footer/footer.component.scss +++ b/src/app/footer/footer.component.scss @@ -1,3 +1,5 @@ +@import "../../vars.scss"; + :host { display: flex; padding: 2rem 0; @@ -31,3 +33,19 @@ font-family: 'Libre Barcode 128 Text'; font-size: 5rem; } + +@media only screen and (max-width: $small-screen) { + :host { + flex-direction: column; + } + .contact { + width: 100%; + margin-bottom: 2rem; + } + + .barcode { + font-size: 3rem; + overflow: hidden; + text-overflow: ellipsis; + } +} diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index 494fe2a..b242806 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -1,4 +1,11 @@ -