diff options
Diffstat (limited to 'sass/layout/_footer.scss')
| -rw-r--r-- | sass/layout/_footer.scss | 40 |
1 files changed, 17 insertions, 23 deletions
diff --git a/sass/layout/_footer.scss b/sass/layout/_footer.scss index 0fa9cc4..a637329 100644 --- a/sass/layout/_footer.scss +++ b/sass/layout/_footer.scss @@ -2,14 +2,15 @@ footer { background-color: $bg-text-container; - // delete positioning to make grid footer from body work - // position: absolute; - // bottom: 0; - // left: 0; width: 100vw; & * { margin: $margin-main; + + // mobile + @include responsive(phone) { + margin: $margin-mobile; + } } dl { @@ -18,11 +19,23 @@ footer { align-items: center; height: 2rem; + // mobile + @include responsive(phone) { + flex-direction: column; + height: max-content; + } + & * { color: inherit; font-size: $medium-text; margin: 0.5rem; transition: transform 0.3s; + + // mobile + @include responsive(phone) { + font-size: $medium-text-mobile; + margin: 0.3rem; + } } & dd i:hover { @@ -38,22 +51,3 @@ footer { font-size: $big-text; } } - -// mobile -@media screen and (max-width: 520px) { - footer { - & * { - margin: $margin-mobile; - } - - dl { - flex-direction: column; - height: max-content; - - & * { - font-size: $medium-text-mobile; - margin: 0.3rem; - } - } - } -} |
