diff --git a/app/components/footer.hbs b/app/components/footer.hbs index b327213e4b9..19cce810108 100644 --- a/app/components/footer.hbs +++ b/app/components/footer.hbs @@ -1,17 +1,52 @@ \ No newline at end of file diff --git a/app/components/footer.module.css b/app/components/footer.module.css index 4280cc0f6d0..93db052f714 100644 --- a/app/components/footer.module.css +++ b/app/components/footer.module.css @@ -1,39 +1,104 @@ .footer { + --heading-color: white; + --link-color: rgba(255, 255, 255, .75); + --link-hover-color: white; + + :global(.new-design) & { + --link-color: var(--yellow); + --link-hover-color: #ffdea7; + } + display: flex; justify-content: center; width: 100%; background: var(--footer-bg-color); -} -.sep { - margin: 0 10px; - color: var(--separator-color); + a { + transition: color 100ms; + } + + h2 { + margin: 0 0 16px; + color: var(--heading-color); + font-size: 24px; + line-height: 40px; + } + + svg { + height: 40px; + width: auto; + } + + ul { + --item-margin: 5px; + + margin: 0 0 calc(0 - var(--item-margin)); + padding: 0; + list-style: none; + font-size: 16px; + line-height: 30px; + + > li { + margin-bottom: var(--item-margin); + } + } } -.after-main-links { +.inner { composes: width-limit from '../styles/application.module.css'; + padding: 40px; + display: grid; - margin: 40px; - text-align: center; + @media (min-width: 576px) { + grid-template-columns: 50% 50%; + grid-template-rows: auto auto auto; + } - a { color: white; } - a:hover { color: darken(white, 10%); } + @media (min-width: 768px) { + grid-template-columns: 40% 30% 30%; + } - @media only screen and (max-width: 450px) { - margin: 20px; - .sep { display: none; } - display: flex; - flex-direction: column; - align-items: center; + @media (min-width: 992px) { + grid-template-columns: 50% 25% 25%; + padding: 60px 15px; + } +} - a { - width: 50%; - font-size: 110%; - padding: 5px; +.docs { + @media (min-width: 576px) { + grid-row-start: span 3; + } - &:not(:first-child) { - border-top: 1px solid var(--separator-color); - } + @media (min-width: 992px) { + ul { + display: grid; + grid-template-columns: 50% 50%; } } } + +.contact { + margin-top: 35px; + + @media (min-width: 576px) { + margin-top: 0; + } +} + +.social { + margin-top: 35px; + + ul > li { + display: inline; + margin-right: 20px; + margin-bottom: 0; + } +} + +.policies { + margin-top: 35px; + + @media (min-width: 768px) { + margin-top: 0; + } +} diff --git a/app/styles/application.module.css b/app/styles/application.module.css index 39ce5482ffb..fd3e5d9f21f 100644 --- a/app/styles/application.module.css +++ b/app/styles/application.module.css @@ -113,16 +113,6 @@ noscript { padding: 0 15px; } -.fork-me { - position: absolute; - top: 0; - right: 0; - - @media only screen and (max-width: 1180px) { - display: none; - } -} - .toggle-design-button { position: fixed; bottom: 30px; diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 22ca2962db6..cf15bb7f928 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -15,10 +15,6 @@