Sha256: 044f3ad490860a25f16fcfcb05f16fb8e1325e831898e50498078f1a6820d84a

Contents?: true

Size: 1.71 KB

Versions: 4

Compression:

Stored size: 1.71 KB

Contents

#gallery {
  background: #333;
  display: none;
}

body.has-gallery.gallery #gallery {
  display: flex;
}

#controls {
  display: flex;
}

#page-jump-listing {
  flex-grow: 1;
}

.paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;

  font-size: 2em;
  font-weight: bold;
  text-align: center;
  background-color: #1f1f1f;
  color: #858585;

  cursor: pointer;
}

.paginator:hover {
  background-color: #0f0f0f;
  color: #c1c1c1;
}

#content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 0;
  min-height: 0;
}

#scroller {
  width: 100%;
  max-height: 100%;
  overflow: auto;
}

body.portrait #gallery {
  flex-direction: column;
}

body.portrait .paginator {
  width: 100px;
}

body.portrait #page-jump-listing {
  width: auto;
}

body.landscape #gallery {
  flex-direction: row;
}

body.landscape #controls {
  flex-direction: column;
  flex-shrink: 0;
  width: 100px;
}

body.landscape #page-jump-listing {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

#image, #video, #audio, #text {
  display: none;
  margin: 0 auto 0 auto;
}

#video:focus, #audio:focus {
  outline: none;
}

#audio {
  width: 100%;
}

#text {
  color: #000000;
  background-color: #ffffff;
}

#gallery.video #video {
  display: block;
}

#gallery.image #image {
  display: block;
}

#gallery.audio #audio {
  display: block;
}

#gallery.text #text {
  display: block;
}

@media screen and (max-width: 767px) {
  #gallery.video, #gallery.audio, #gallery.text {
    padding: 0;
  }

  .paginator {
    width: 75px;
    font-size: 20px;
  }
}

@media screen and (max-width: 479px) {
  #page-back-10 {
    display: none;
  }

  #page-next-10 {
    display: none;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
servel-0.33.0 app/css/gallery.css
servel-0.32.0 app/css/gallery.css
servel-0.31.0 app/css/gallery.css
servel-0.30.0 app/css/gallery.css