Sha256: 9dfbf887d0ca4411570f011a671db893016209707f6d6a143ec3b3c005af9de1

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

$width: 180px;
$height: 150px;

ul.grid {
  list-style-type: none;
  padding-inline-start: unset;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax($width, 1fr));
  clear: both;

  li {
    position: relative;
    text-align: center;
    .disabled {
      opacity: .7;
    }
  }
  img {
    object-fit: cover;
    width: 100%;
    height: $height;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
askclass-news-theme-0.2.11 _sass/_grid.scss
askclass-news-theme-0.2.10 _sass/_grid.scss