Sha256: b72dd88a941b030002e383f393ec460f2d431853706e03da124c96a7f15c6ac5
Contents?: true
Size: 1.26 KB
Versions: 7
Compression:
Stored size: 1.26 KB
Contents
$share-button-width: 32px; $share-button-height: 32px; .gem-c-share-links__list { list-style: none; } .gem-c-share-links__list-item { display: inline-block; margin-bottom: $gutter-one-third; } .gem-c-share-links__link { margin-right: $gutter; @include bold-16($line-height: $share-button-height, $line-height-640: $share-button-height); text-decoration: none; } .gem-c-share-links__title { margin-bottom: $gutter-one-third; } .gem-c-share-links__link__icon { display: inline-block; width: $share-button-width; height: $share-button-height; margin-right: $gutter-one-third; vertical-align: top; } .direction-rtl { .gem-c-share-links__link { // By changing the link to inline-block the browser // calculates the icon and the text as a single run of text // rather than two. When they are considered to be two runs // the browser splits the first link, putting the text before // the second link, and the icon after the second link. display: inline-block; margin-right: 0; margin-left: $gutter; .gem-c-share-links__link__icon { margin-right: 0; margin-left: $gutter-one-third; vertical-align: middle; } } } .gem-c-share-links--stacked { .gem-c-share-links__list-item { display: block; } }
Version data entries
7 entries across 7 versions & 1 rubygems