Sha256: 1f3837e06b425690b2723ad4f95487f4c27ddc586eb2972821b72ae94c4d8e13
Contents?: true
Size: 849 Bytes
Versions: 4
Compression:
Stored size: 849 Bytes
Contents
.Social { &__list { display: flex; flex-wrap: wrap; gap: calc(var(--site-owl-spacing) / 2); justify-content: center; } &__item { font-size: 2em; @each $site, $color in $social-map { &--#{$site} { background-color: $color; color: auto-contrast($color); } } } &__link { color: inherit; display: block; line-height: 1; overflow: hidden; padding: 0.2em; text-decoration: none; z-index: 1; &:hover { .Icon { transform: scale(1.15) rotate(10deg); } } } .Icon { transition: all 120ms ease-out; vertical-align: top; } } @include breakpoint("medium") { .Social { margin-top: 0; } .Social__list { display: grid; grid-template: auto / repeat(5, auto); } .Icon { font-size: 1em; } }
Version data entries
4 entries across 4 versions & 1 rubygems