integration/v2/css/slideshow.css
author Anthony Ly <anthonyly.com@gmail.com>
Wed, 26 Jun 2013 12:02:40 +0200
changeset 161 fa85d73d1cf6
parent 134 9caa840b2d92
child 190 ebb8b58fc2b8
permissions -rw-r--r--
Merge

body {
    overflow: hidden;
}

.slideshow-wrap {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
}

.backdrop {
    position: absolute; opacity: .3; -webkit-filter: blur(5px); filter: blur(5px);
}

.main-image {
    position: absolute; top: 50px; right: 50px;
}

.caption-wrap {
    position: absolute; left: 50px; right: 50px; bottom: 50px;
}

.caption {
    font-family: "Lato"; width: 480px; max-width: 100%;
    background: #ffffff;
    padding: 16px 0; margin: 0;
}

.main-image, .caption {
    box-shadow: 4px 4px 2px rgba(0,0,0,.5);
}

.caption h2 {
    font-size: 18px; font-weight: bold; margin: 0; padding: 0 20px 5px;
}

.caption h3 {
    font-size: 18px; font-style: italic; margin: 0; border-bottom: 1px solid #cccccc; padding: 0 20px 5px;
}

.caption p {
    margin: 10px 20px 0; padding: 0; font-size: 16px; font-style: italic;
}

.arrow-wrap {
    box-shadow: 1px 1px 5px rgba(50, 50, 50, 0.75); width: 78px; height: 78px;
    position: absolute; top: 50%; margin-top: -39px;
    background: #fff; cursor: pointer; border-radius: 39px; display: none;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

.arrow-wrap:hover {
    background: #e0e0e0;
}

.arrow-wrap:active {
    background: #666666;
}

.arrow {
    width: 78px; height: 78px; display: block; background: url(../img/home-arrow.png) center 30px no-repeat;
}

.left-arrow .arrow {
    transform: rotate(90deg); -webkit-transform: rotate(90deg);
}

.right-arrow .arrow {
    transform: rotate(-90deg); -webkit-transform: rotate(-90deg);
}