powered-by-block.pcss.css
Same filename in other branches
Powered by block specific styles.
File
-
core/
themes/ olivero/ css/ components/ powered-by-block.pcss.css
View source
- /**
- * @file
- * Powered by block specific styles.
- */
-
- @import "../base/media-queries.pcss.css";
-
- .block-system-powered-by-block {
- letter-spacing: 0.02em;
- font-size: 14px;
- line-height: var(--sp);
-
- & a {
- text-decoration: underline;
-
- &:hover,
- &:focus {
- text-decoration: none;
- }
- }
-
- & .drupal-logo {
- display: inline-block;
- margin-block-start: calc(-1 * var(--sp) / 4);
- margin-inline-start: calc(var(--sp) / 4);
- }
-
- & svg {
- width: 0.875rem; /* 14 */
- height: 1.1875rem; /* 19 */
- vertical-align: top;
- fill: currentColor;
- }
- }
-
- .site-footer .block-system-powered-by-block {
- & a {
- color: var(--color--white);
- }
-
- & svg path {
- fill: var(--color--white);
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.