diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 0e96f73b..95f77d2d 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -64,23 +64,81 @@ color: red; } + footer { + display: flex; + justify-content: center; + width: 100%; + } + .footer-top { background-color: #e00122; color: #fff; font-size: 18px; + display: flex; + flex-direction: row; + justify-content: center; + + @media (max-width: 768px) { + flex-direction: column; + } } .footer-top a, -.footer-top a:hover, -.footer-top a:active, .footer-top a:visited { color: white; + text-decoration: none; +} + +.footer-top a:hover, +.footer-top a:active,{ + color: white; + text-decoration: underline; } .contact { + flex-grow: 0; + min-width: 350px; + display: block; + font-size: 18px; + font-stretch: 100%; + padding: 40px; background-color: #000; } +.footer-links-container { + display: flex; + flex-direction: row; + flex-grow: 0; + padding: 40px; + @media (max-width: 995px) { + flex-direction: column; + } +} + +.footer-links-group { + display: flex; + flex-direction: column; + flex-grow: 1; + padding: 0 40px; +} + +.footer-column-group { + display: flex; + flex-direction: row; + @media (max-width: 995px) { + flex-direction: column; + } +} + +.footer-links-column { + display: flex; + flex-direction: column; + flex-grow: 1; + margin-right: 40px; + min-width: 200px; + align-items: flex-start; +} + .footer-title { font-size: 1.25rem; margin: 0; @@ -105,9 +163,13 @@ } .footer-bottom a, -.footer-bottom a:hover, -.footer-bottom a:active, .footer-bottom a:visited { + color: #000; + text-decoration: underline; +} + +.footer-bottom a:hover, +.footer-bottom a:active,{ color: #000; text-decoration: none; } diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 9b143600..3c1cfd2a 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -1,106 +1,79 @@