UNPKG

@oslokommune/punkt-css

Version:

CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo

164 lines (163 loc) 3.38 kB
/* * Footer element */ .pkt-footer { padding: 2.5rem 1.5rem; background-color: var(--pkt-color-surface-strong-dark-blue); color: var(--pkt-color-text-body-default); display: flex; align-items: center; letter-spacing: -0.2px; font-weight: 300; font-size: 1.125rem; line-height: 1.75rem; } @media screen and (min-width: 80rem) { .pkt-footer { padding: 3.5rem 1.5rem; justify-content: center; } } .pkt-footer__container { max-width: 80rem; } .pkt-footer__title { margin-bottom: 2rem; margin-top: 0; color: var(--pkt-color-text-body-default); letter-spacing: -0.2px; font-weight: 500; font-size: 1.5rem; line-height: 2.25rem; } .pkt-footer__text:last-child { margin-bottom: 0; margin-top: 2rem; } .pkt-footer__text:not(:last-child) { margin-bottom: 2rem; margin-top: 0; } .pkt-footer__list { padding: 0; margin: 0; list-style: none; } .pkt-footer__list-item { word-break: break-word; } .pkt-footer__list-item:not(:last-child) { margin-bottom: 1rem; } @media screen and (min-width: 80rem) { .pkt-footer__list-item { margin-bottom: 0; } } .pkt-footer__link { display: flex; text-decoration: none !important; } .pkt-footer__link:hover .pkt-footer__link-icon { --fg-color: currentColor; } .pkt-footer__link-icon { --fg-color: currentColor; width: 24px; height: 24px; margin-right: 0.5rem; flex-shrink: 0; } @media screen and (min-width: 80rem) { .pkt-footer__link-icon { margin-top: 0; } } .pkt-footer__social { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-top: 2.5rem; } .pkt-footer__social:hover .pkt-footer__link-icon { --fg-color: currentColor; } @media screen and (min-width: 80rem) { .pkt-footer__social { align-items: flex-end; justify-content: end; } } @media screen and (min-width: 80rem) { .pkt-footer__social-language { justify-self: flex-start; } } .pkt-footer__social-icon { --fg-color: currentColor; width: 24px; height: 24px; } .pkt-footer__social-icon-link:not(:last-child) { margin-right: 1rem; } .pkt-footer-simple { padding: 2rem 1.5rem; background-color: var(--pkt-color-surface-strong-dark-blue); color: var(--pkt-color-text-body-default); display: flex; align-items: center; letter-spacing: -0.2px; font-weight: 300; font-size: 1.125rem; line-height: 1.75rem; } @media screen and (min-width: 80rem) { .pkt-footer-simple { justify-content: center; } } .pkt-footer-simple__container { max-width: 80rem; } .pkt-footer-simple__list { padding: 0; margin: 0; list-style: none; } @media screen and (min-width: 80rem) { .pkt-footer-simple__list-item { display: inline-flex; } } .pkt-footer-simple__list-item:not(:last-child) { margin-bottom: 1rem; } @media screen and (min-width: 80rem) { .pkt-footer-simple__list-item:not(:last-child) { margin-bottom: 0; margin-right: 2rem; } } .pkt-footer-simple__link { display: flex; text-decoration: none !important; align-items: flex-start; } .pkt-footer-simple__link:hover .pkt-footer__link-icon { --fg-color: currentColor; } .pkt-footer-simple__link-icon { --fg-color: currentColor; width: 24px; height: 24px; margin-right: 0.5rem; flex-shrink: 0; } @media screen and (min-width: 80rem) { .pkt-footer-simple__link-icon { margin-top: 0; } }