footer.css
Same filename in this branch
Same filename in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/regions/footer/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 4%;
- text-align: center;
- color: #fff;
- background-color: #5f635d;
- font-size: 0.9rem;
- }
- /* Large */
- @media screen and (min-width: 60rem) { /* 960px */
- .footer {
- text-align: left; /* LTR */
- }
- [dir="rtl"] .footer {
- text-align: right;
- }
- .region-footer {
- display: flex;
- justify-content: space-between;
- }
- }
- /* Extra large + side margins */
- @media screen and (min-width: 80rem) { /* 1200px (large) + 80px (side margins) = 1280px */
- .footer {
- padding: 2rem 0;
- }
- }
-
- .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.