Sha256: e09bf5f5fde670e46807110bd35ccb99b568cebc33a2295da7a2063511f603e2

Contents?: true

Size: 635 Bytes

Versions: 76

Compression:

Stored size: 635 Bytes

Contents

.lightbox {
  background-color: rgba(0, 0, 0, .8);
  block-size: 100dvh;
  max-block-size: unset;
  inline-size: 100dvw;
  max-inline-size: unset;
  padding: var(--size-4);

  &[open] {
    display: grid;
    place-items: center;
  }
}

.lightbox__close {
  align-self: start;
  grid-area: 1/1;
  justify-self: end;
}

.lightbox__download {
  align-self: end;
  grid-area: 1/1;
  justify-self: end;
}

.lightbox__share {
  align-self: start;
  grid-area: 1/1;
  justify-self: start;
}

.lightbox__image {
  grid-area: 1/1;
  max-inline-size: calc(100dvw - (var(--size-4) * 2));
  max-block-size:  calc(100dvh - (var(--size-4) * 2));
}

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
css-zero-0.0.94 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.93 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.92 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.91 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.90 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.89 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.88 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.87 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.86 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.85 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.84 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.83 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.82 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.81 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.80 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.79 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.78 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.77 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.76 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css
css-zero-0.0.75 lib/generators/css_zero/add/templates/app/assets/stylesheets/lightbox.css