Sha256: 11f82579cd948b63641357a3d46094b481350c508951c7a4844e03f009df21b7

Contents?: true

Size: 1.41 KB

Versions: 6

Compression:

Stored size: 1.41 KB

Contents

#gallery {
  background: #333;
  display: none;
  flex-direction: column;
}

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

#content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

#image, #video, #audio, #text {
  display: none;
  max-width: 100%;
  margin: 0 auto 0 auto;
  padding-top: 75px;
}

#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;
}

#controls {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  z-index: 10;
}

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

  font-size: 2em;
  font-weight: bold;
  text-align: center;
  background-color: #000000;
  color: #ffffff;

  opacity: 0.4;
  cursor: pointer;
}

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

@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;
  }
}

@media screen and (min-width: 768px) {
  .paginator:hover {
    opacity: 0.7;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
servel-0.29.0 app/css/gallery.css
servel-0.28.0 app/css/gallery.css
servel-0.27.0 app/css/gallery.css
servel-0.26.0 app/css/gallery.css
servel-0.25.0 app/css/gallery.css
servel-0.24.0 app/css/gallery.css