Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Theme Name: photobLAg
- Description: A simple one-page photo flow blog theme
- Version: 1.0
- Author: Roope Palomäki
- */
- /*
- Colors:
- background #eee
- black #111
- white #fffeee
- light blue #76B1C4
- dark blue #23353B
- */
- html, body, div, h1, h2, h3, p, ul, li, img {
- margin: 0;
- padding: 0;
- border: 0;
- }
- body {
- background: #eee;
- font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
- a {
- text-decoration: none;
- }
- #container {
- position: relative;
- width: 100%;
- margin: 0 auto;
- padding: 50px 0;
- }
- #content-holder {
- width: 100%;
- }
- header {
- width: 22%;
- height: 11%;
- min-height: 90px;
- background: #111;
- position: fixed;
- right: 0;
- display: -webkit-box;
- -webkit-box-align: center;
- display: -moz-box;
- -moz-box-align: center;
- display: -ms-box;
- -ms-box-align: center;
- display: box;
- box-align: center;
- -webkit-border-top-left-radius: 15px;
- -webkit-border-bottom-left-radius: 15px;
- -moz-border-radius-topleft: 15px;
- -moz-border-radius-bottomleft: 15px;
- border-top-left-radius: 15px;
- border-bottom-left-radius: 15px;
- }
- header a {
- font: 30px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
- color: #fffeee;
- margin-left: 30px;
- }
- header span {
- display: block;
- color: #76B1C4;
- margin-left: 30px;
- font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
- }
- .post-holder {
- margin-bottom: 50px;
- /* margin-left: 5%;*/
- width: 100%;
- position: relative;
- display: -webkit-box;
- -webkit-box-align: center;
- display: -moz-box;
- -moz-box-align: center;
- display: -ms-box;
- -ms-box-align: center;
- display: box;
- box-align: center;
- }
- .post-image {
- width: 75%;
- }
- .post-image-sizer {
- width: 100%;
- padding-bottom: 56.25%;
- position: relative;
- }
- .post-image img {
- -webkit-border-top-right-radius: 15px;
- -webkit-border-bottom-right-radius: 15px;
- -moz-border-radius-topright: 15px;
- -moz-border-radius-bottomright: 15px;
- border-top-right-radius: 15px;
- border-bottom-right-radius: 15px;
- height: 100%;
- width: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .post-image {
- filter: grayscale(1);
- -webkit-filter: grayscale(1);
- -moz-filter: grayscale(1);
- -webkit-transition: all 0.5s; /* Saf3.2+, Chrome */
- -moz-transition: all 0.5s; /* FF4+ */
- -ms-transition: all 0.5s; /* IE10 */
- -o-transition: all 0.5s; /* Opera 10.5+ */
- transition: all 0.5s;
- -webkit-backface-visibility: hidden; /* Fix for transition flickering */
- }
- .post-image:hover {
- filter: grayscale(0);
- -webkit-filter: grayscale(0);
- -moz-filter: grayscale(0);
- -webkit-transition: all 0.5s; /* Saf3.2+, Chrome */
- -moz-transition: all 0.5s; /* FF4+ */
- -ms-transition: all 0.5s; /* IE10 */
- -o-transition: all 0.5s; /* Opera 10.5+ */
- transition: all 0.5s;
- }
- .actions {
- position: absolute;
- left: 50%;
- bottom: 60px;
- margin-left: -85px;
- height: 70px;
- width: 170px;
- }
- .btn {
- float: left;
- /* height: 70px;*/
- width: 70px;
- background: #010101;
- -webkit-border-radius: 100%;
- -moz-border-radius: 100%;
- -o-border-radius: 100%;
- border-radius: 100%;
- visibility:hidden;
- height:0;
- opacity:0;
- -webkit-transition: opacity .4s ease-in-out;
- -moz-transition: opacity .4s ease-in-out;
- -ms-transition: opacity .4s ease-in-out;
- -o-transition: opacity .4s ease-in-out;
- transition: opacity .4s ease-in-out;
- }
- .post-image:hover .actions .btn {
- visibility:visible;
- height:70px;
- opacity: 0.5;
- -webkit-transition: opacity .2s ease-in;
- -moz-transition: opacity .2s ease-in;
- -ms-transition: opacity .2s ease-in;
- -o-transition: opacity .2s ease-in;
- transition: opacity .2s ease-in;
- }
- .post-image:hover .actions .btn:hover {
- cursor: pointer;
- opacity: 1;
- -webkit-transition: opacity .2s linear;
- -moz-transition: opacity .2s linear;
- -ms-transition: opacity .2s linear;
- -o-transition: opacity .2s linear;
- transition: opacity .2s linear;
- }
- .download {
- margin-right: 20px;
- }
- .btn .centered {
- display: -webkit-box; /* OLD: Safari, iOS, Android browser, older WebKit browsers. */
- display: -moz-box; /* OLD: Firefox (buggy) */
- display: -ms-flexbox; /* MID: IE 10 */
- display: -webkit-flex; /* NEW, Chrome 21+ */
- display: flex; /* NEW: Opera 12.1, Firefox 22+ */
- -webkit-box-align: center; -moz-box-align: center; /* OLD… */
- -ms-flex-align: center; /* You know the drill now… */
- -webkit-align-items: center;
- align-items: center;
- -webkit-box-pack: center; -moz-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- margin: 0;
- height: 100%;
- width: 100%; /* needed for Firefox */
- color: #fffeee;
- text-align: center;
- }
- .post-info {
- width: 8%;
- float: right;
- background: #111;
- color: #fffeee;
- position: absolute;
- top: 20%;
- bottom: 60%;
- right: 24%;
- display: -webkit-box;
- -webkit-box-align: center;
- display: -moz-box;
- -moz-box-align: center;
- display: -ms-box;
- -ms-box-align: center;
- display: box;
- box-align: center;
- -webkit-border-top-left-radius: 100%;
- -webkit-border-bottom-left-radius: 100%;
- -moz-border-radius-topleft: 100%;
- -moz-border-radius-bottomleft: 100%;
- border-top-left-radius: 100%;
- border-bottom-left-radius: 100%;
- -webkit-border-top-right-radius: 20px;
- -webkit-border-bottom-right-radius: 20px;
- -moz-border-radius-topright: 20px;
- -moz-border-radius-bottomright: 20px;
- border-top-right-radius: 20px;
- border-bottom-right-radius: 20px;
- overflow: hidden;
- }
- .post-title {
- padding: 0 20px;
- font: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
- font-weight: 600;
- text-transform: uppercase;
- }
- .post-date {
- padding: 0 20px;
- font: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
- font-weight: 600;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement