client/app/books/book.css
author ymh <ymh.work@gmail.com>
Wed, 08 Jan 2020 17:49:53 +0100
changeset 205 147583c43f0d
parent 178 a3e1106b6f96
permissions -rw-r--r--
add poetry on sync

.gallery{
    padding:0;
}

.gallery .item {
    position:relative;
    height: 130px;
    width: 18%;
    padding: 0;
    margin: 1%;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}

.gallery .item.no-img p {
    font-size: 22px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width:768px) and (max-width:991px){
    .gallery .item{
        height: 170px;
    }
    .gallery .item.no-img p {
        font-size: 28px;
    }
}
@media (min-width:992px){
    .gallery .item{
        height: 200px;
    }
    .gallery .item.no-img p {
        font-size: 32px;
    }
}

.gallery .item.no-img {
    background-color: #f4f4f4;
    border: 1px solid #cdcdcd;
}

.gallery .item a{
    text-decoration: none;
}
.gallery .item p {
    text-align: center;
    color: #505050;
    font-size: 15px;
    position: absolute;
    width:100%;
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 0;
    margin: 0;
}

.gallery .item.no-img p{
    background: none;
}

.gallery .item img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

.gallery .item .img-landscape {
    height: 100%;
    width: auto;
}

.gallery-buttons{
    font-size:15px;
    position: absolute;
    width: 100%;
    padding: 2px 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

.gallery-buttons a{
    cursor: pointer;
}


.gallery .item.no-img .gallery-buttons{
    background: none;
}

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

.add-book{
    padding:20px;
}
.add-book input{
    margin-bottom: 10px;
}

.accordion-toggle .glyphicon{
    font-size: 17px;
    margin-left:10px;
}

.list-books:nth-child(odd){
    background-color:#f8f8f8;
}