footer-promo.css
Same filename and directory in other branches
This file is used to style the Footer promo block.
File
-
core/
profiles/ demo_umami/ themes/ umami/ css/ components/ blocks/ footer-promo/ footer-promo.css
View source
- /**
- * @file
- * This file is used to style the Footer promo block.
- */
-
- .block-type-footer-promo-block .field--type-image {
- padding-bottom: 14px;
- }
-
- .block-type-footer-promo-block .block__title {
- font-size: 1.5rem;
- font-weight: 400;
- }
-
- .block-type-footer-promo-block .footer-promo-content {
- margin-bottom: 1.28rem;
- }
-
- @media screen and (min-width: 60rem) {
- .block-type-footer-promo-block {
- overflow: hidden;
- flex-basis: 60%;
- height: 200px;
- font-size: 0.9rem;
- }
-
- .block-type-footer-promo-block .field--type-image {
- float: left; /* LTR */
- margin-right: 14px; /* LTR */
- padding-bottom: 0;
- }
-
- [dir="rtl"] .block-type-footer-promo-block .field--type-image {
- float: right;
- margin-left: 14px;
- }
-
- .block-type-footer-promo-block .block__title {
- padding-top: 2rem;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.