client/app/books/book.css
author rougeronj
Mon, 23 Mar 2015 12:25:19 +0100
changeset 26 c7dfe7185ef7
parent 24 21ecbde9e080
child 53 dac1df90b49e
permissions -rw-r--r--
rename 'gallery' to 'slides' to handle the slides pages

.gallery .item {
  overflow:hidden; position:relative; height: 250px; padding: 5px;
}

.img-ctn {
    height: 100%; width: 100%; border: 1px solid #DDD; padding: 5px; overflow: hidden;
}

.img-ctn:hover {
    background-color: #DDD;
}

.img-ctn p {
    background-color: #ddd;
    bottom: -5px;
    display: none;
    padding: 2px 5px;
    position: absolute;
    width: calc(100% - 22px);
}

.img-ctn:hover p, .img-ctn:hover .gallery-buttons {
    display: block;
}

.gallery .item img {
    margin: 0 auto;
    max-height: 100%;
}

.gallery-buttons{
	display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

.subtitle {
    border-top: 1px solid #000;
    border-bottom: 1px dotted #000;
    margin-top: 20px;
    padding: 6px 0 10px;
}