footer.css
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
- 9 core/themes/olivero/css/components/footer.css
- 10 core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
- 10 core/themes/olivero/css/components/footer.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/regions/footer/footer.css
- 11.x core/themes/olivero/css/components/footer.css
This file is used to style the footer.
It styles the footer as a global component; it does not style individual footer items, such as a menu, which are styled by their own CSS files.
File
-
core/
profiles/ demo_umami/ themes/ umami/ css/ components/ regions/ footer/ footer.css
View source
- /**
- * @file
- * This file is used to style the footer.
- *
- * It styles the footer as a global component; it does not style individual
- * footer items, such as a menu, which are styled by their own CSS files.
- */
-
- .footer {
- padding: 2rem 1rem;
- text-align: center;
- color: #fff;
- background-color: #5f635d;
- font-size: 0.9rem;
- }
-
- @media screen and (min-width: 60rem) {
- .footer {
- padding: 1rem 1rem 0;
- text-align: left; /* LTR */
- }
- [dir="rtl"] .footer {
- text-align: right;
- }
- .region-footer {
- display: flex;
- justify-content: space-between;
- }
- }
-
- .footer a {
- color: #fff;
- background-color: inherit;
- font-weight: 400;
- }
-
- .footer a:active,
- .footer a:focus,
- .footer a:hover {
- outline-color: #fff;
- background-color: #000;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.