439 lines
8.9 KiB
CSS
439 lines
8.9 KiB
CSS
|
/* -----------------------------------
|
||
|
Template: Berra - Minimal Portfolio Template
|
||
|
|
||
|
--------------------------------------*/
|
||
|
.portfolio img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
.portfolio {
|
||
|
margin-bottom: 30px;
|
||
|
position: relative;
|
||
|
}
|
||
|
.portfolio-menu{}
|
||
|
.portfolio-menu button {
|
||
|
background-color: transparent;
|
||
|
border: medium none;
|
||
|
color: #5a5a5a;
|
||
|
font-size: 16px;
|
||
|
font-weight: 600;
|
||
|
height: 35px;
|
||
|
line-height: 20px;
|
||
|
padding: 0 25px;
|
||
|
text-transform: capitalize;
|
||
|
transition: all 0.3s ease 0s;
|
||
|
}
|
||
|
.portfolio-menu button:hover, .portfolio-menu button.active {
|
||
|
background-color: #383838;
|
||
|
color: #fff;
|
||
|
}
|
||
|
.portfolio-left-menu{}
|
||
|
.portfolio-left-menu button:first-child{margin-left:0}
|
||
|
.portfolio-title {
|
||
|
left: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
z-index:2;
|
||
|
opacity:0;
|
||
|
transition: all 0.3s ease-in-out 0s;
|
||
|
}
|
||
|
.hover-style > .portfolio-img:before {
|
||
|
background: rgba(0, 0, 0, 0.8);
|
||
|
bottom: 15px;
|
||
|
content: "";
|
||
|
left: 15px;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
right: 15px;
|
||
|
top: 15px;
|
||
|
transition: all 0.4s ease-in-out 0s;
|
||
|
}
|
||
|
.hover-style:hover .portfolio-img{opacity: 1;}
|
||
|
.portfolio-title h3 {
|
||
|
font-size: 19px;
|
||
|
font-weight: 500;
|
||
|
transform: translateY(-10px);
|
||
|
transition: all 0.4s ease-in-out 0s;
|
||
|
}
|
||
|
.portfolio-title span {
|
||
|
color: #424242;
|
||
|
display: inline-block;
|
||
|
font-size: 18px;
|
||
|
font-weight: normal;
|
||
|
line-height: 16px;
|
||
|
transform: translateY(10px);
|
||
|
transition: all 0.4s ease-in-out 0s;
|
||
|
text-transform: capitalize;
|
||
|
}
|
||
|
.portfolio:hover .portfolio-title{opacity:1}
|
||
|
.portfolio:hover .portfolio-title h3, .portfolio:hover .portfolio-title span {
|
||
|
transform: translateY(-20px);
|
||
|
}
|
||
|
.view-more {
|
||
|
margin-top: 40px;
|
||
|
}
|
||
|
.view-more a {
|
||
|
display: inline-block;
|
||
|
font-size: 18px;
|
||
|
font-weight: 600;
|
||
|
text-transform: capitalize;
|
||
|
position: relative;
|
||
|
}
|
||
|
.view-more > a::after {
|
||
|
color: #5a5a5a;
|
||
|
content: "";
|
||
|
font-family: fontawesome;
|
||
|
position: absolute;
|
||
|
right: -25px;
|
||
|
top: 1px;
|
||
|
}
|
||
|
.view-more a:hover{color:#888}
|
||
|
.title-style-1 {
|
||
|
bottom: 0;
|
||
|
padding: 0 30px;
|
||
|
top: inherit;
|
||
|
}
|
||
|
.title-style-1 h3 {
|
||
|
color: #fff;
|
||
|
}
|
||
|
.title-style-1 span {
|
||
|
color: #fff;
|
||
|
}
|
||
|
.portfolio-img {
|
||
|
display: block;
|
||
|
position:relative
|
||
|
}
|
||
|
/* portfolio-style-2 */
|
||
|
.portfolio-style-2{}
|
||
|
.portfolio-style-2 .portfolio {
|
||
|
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
.portfolio-style-2 .portfolio-title {
|
||
|
opacity: 1;
|
||
|
padding: 25px 18px;
|
||
|
position: static;
|
||
|
transform: translateY(0%);
|
||
|
}
|
||
|
.portfolio-style-2 .portfolio-title h3,.portfolio-style-3 .portfolio-title h3 {
|
||
|
transform: translateY(0px);
|
||
|
}
|
||
|
.portfolio-style-2 .portfolio-title span,.portfolio-style-3 .portfolio-title span {
|
||
|
transform: translateY(0px);
|
||
|
}
|
||
|
.hover-style .portfolio-img::before {
|
||
|
background: #000 none repeat scroll 0 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
opacity: 0;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
}
|
||
|
.hover-style:hover .portfolio-img:before {
|
||
|
opacity: 0.76;
|
||
|
}
|
||
|
.portfolio-view {
|
||
|
left: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
text-align: center;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
}
|
||
|
.hover-style .img-poppu {
|
||
|
border: 1px solid #fff;
|
||
|
color: #fff;
|
||
|
display: inline-block;
|
||
|
height: 70px;
|
||
|
opacity: 0;
|
||
|
padding: 5px 25px;
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
text-transform: uppercase;
|
||
|
transform: translateY(20px);
|
||
|
width: 70px;
|
||
|
z-index: 99;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
.hover-style .img-poppu:hover{background-color: transparent;;}
|
||
|
|
||
|
.portfolio:hover .img-poppu{opacity: 1;transform: translateY(0px);}
|
||
|
.hover-style .img-poppu::before, .hover-style .img-poppu::after {
|
||
|
background: #666666 none repeat scroll 0 0;
|
||
|
bottom: 0;
|
||
|
content: "";
|
||
|
height: 30px;
|
||
|
left: 0;
|
||
|
margin: auto;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
transition: all 0.3s ease 0s;
|
||
|
width: 3px;
|
||
|
}
|
||
|
|
||
|
.hover-style .img-poppu:hover:before, .hover-style .img-poppu:hover:after {
|
||
|
background: #fff;
|
||
|
}
|
||
|
.hover-style .img-poppu:after {
|
||
|
height: 3px;
|
||
|
width: 30px;
|
||
|
}
|
||
|
/* portfolio-style-3 */
|
||
|
.portfolio-style-3 {}
|
||
|
.portfolio-style-3 .portfolio-title {
|
||
|
left: 15px;
|
||
|
opacity: 0;
|
||
|
padding: 35px 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
text-align: center;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
transition: all 0.5s ease 0s;
|
||
|
}
|
||
|
|
||
|
.portfolio-style-3 .portfolio :hover .portfolio-title{opacity:1;}
|
||
|
.portfolio-style-3 .hover-style > a::before {
|
||
|
display: none;
|
||
|
}
|
||
|
.portfolio-style-3 .portfolio-title h3 {
|
||
|
color: #000;
|
||
|
}
|
||
|
.portfolio-style-3 .portfolio-title span {
|
||
|
color: #000;
|
||
|
}
|
||
|
|
||
|
.portfolio-style-7 .portfolio{margin:0}
|
||
|
/* no gutter portfolio-column-4 */
|
||
|
|
||
|
.view-more.text-center.gutt-view {
|
||
|
display: block;
|
||
|
float: left;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.no-gutte .portfolio,.no-gutte .grid-item {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* portfolio details */
|
||
|
.portfolio-meta{}
|
||
|
.portfolio-meta ul{background: #f8f8f8 none repeat scroll 0 0;
|
||
|
border: 1px solid #e5e5e5;
|
||
|
margin: 0;
|
||
|
padding: 0 20px;}
|
||
|
.portfolio-meta ul li{border-bottom: 1px solid #e5e5e5;
|
||
|
color: #666;
|
||
|
padding: 15px 0;}
|
||
|
.portfolio-meta ul li:last-child {
|
||
|
border-bottom: 0 none;
|
||
|
}
|
||
|
.portfolio-meta ul > li i {
|
||
|
color: #444;
|
||
|
font-size: 16px;
|
||
|
line-height: normal;
|
||
|
margin-right: 20px;
|
||
|
}
|
||
|
.portfolio-meta ul li span {
|
||
|
color: #444;
|
||
|
font-weight: bold;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
.portfolio-meta ul li{}
|
||
|
.project-desc {
|
||
|
margin-bottom: 30px;
|
||
|
}
|
||
|
.project-desc h3 {
|
||
|
border-bottom: 1px solid #e5e5e5;
|
||
|
color: #444;
|
||
|
font-size: 24px;
|
||
|
letter-spacing: 2px;
|
||
|
line-height: 22px;
|
||
|
margin: 0 0 20px;
|
||
|
padding-bottom: 20px;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
.post-share ul {
|
||
|
border-bottom: 1px solid #e5e5e5;
|
||
|
border-top: 1px solid #e5e5e5;
|
||
|
overflow: hidden;
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
.post-share li {
|
||
|
float: left;
|
||
|
margin-right: 18px;
|
||
|
}
|
||
|
.post-share li a {
|
||
|
display: block;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
.portfolio-img > img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
.{}
|
||
|
.{}
|
||
|
.{}
|
||
|
/********** portfolio-2 details **********/
|
||
|
|
||
|
.portfolio2-details.text-center > h3 {
|
||
|
color: #666;
|
||
|
font-size: 18px;
|
||
|
font-weight: 600;
|
||
|
}
|
||
|
.portfolio2-details {
|
||
|
margin-top: 30px;
|
||
|
}
|
||
|
.portfolio2-menu{
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.portfolio-menu.portfolio2-menu button {
|
||
|
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
|
||
|
border: 0 none;
|
||
|
font-size: 16px;
|
||
|
font-weight: 600;
|
||
|
margin: 0 23px;
|
||
|
padding: 0;
|
||
|
position: relative;
|
||
|
}
|
||
|
.portfolio-menu.portfolio2-menu button::before {
|
||
|
background: #2a2a2a none repeat scroll 0 0;
|
||
|
bottom: -3px;
|
||
|
content: "";
|
||
|
height: 2px;
|
||
|
position: absolute;
|
||
|
transform: scaleX(0);
|
||
|
transition: all 0.3s ease 0s;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.portfolio-menu.portfolio2-menu button:hover::before, .portfolio-menu.portfolio2-menu button.active::before {
|
||
|
transform: scaleX(1);
|
||
|
}
|
||
|
.portfolio-menu.portfolio2-menu button:hover, .portfolio-menu.portfolio2-menu button.active {
|
||
|
color: #5a5a5a;
|
||
|
}
|
||
|
|
||
|
.portfolio-menu.portfolio2-menu.home-three button {
|
||
|
margin: 0 48px 0 0;
|
||
|
}
|
||
|
|
||
|
/********** portfolio-4 **********/
|
||
|
|
||
|
.hover-style-4::before {
|
||
|
background: #fff none repeat scroll 0 0;
|
||
|
content: "";
|
||
|
height: 100%;
|
||
|
left: 0;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
transition: all 0.3s ease-in-out 0s;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.hover-style-4:hover::before {
|
||
|
opacity: 0.8;
|
||
|
}
|
||
|
.portfolio.hover-style-4:hover .portfolio-title h3, .portfolio.hover-style-4:hover .portfolio-title span {
|
||
|
transform: inherit;
|
||
|
}
|
||
|
|
||
|
.portfolio-style-3 .portfolio-title4 {
|
||
|
left: 0px;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
text-align: center;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
transition: all 0.5s ease 0s;
|
||
|
}
|
||
|
.portfolio:hover .portfolio-title4 {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.portfolio-title4 a,.portfolio-title3 a {
|
||
|
color: #666666;
|
||
|
font-size: 18px;
|
||
|
font-weight: 600;
|
||
|
transition: all .3s ease 0s;
|
||
|
}
|
||
|
.portfolio-title4 a:hover,.portfolio-title3 a:hover {
|
||
|
color: #333;
|
||
|
}
|
||
|
.portfolio-title4 > span,.portfolio-title3 > span {
|
||
|
color: #757575;
|
||
|
font-size: 16px;
|
||
|
font-family: "Lato",sans-serif;
|
||
|
}
|
||
|
|
||
|
/********** portfolio-3 **********/
|
||
|
|
||
|
.portfolio-style-3 .hover-style-4:hover::before {
|
||
|
opacity: 0.7;
|
||
|
}
|
||
|
|
||
|
.portfolio-style-3 .portfolio-title3 {
|
||
|
left: 0px;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
text-align: center;
|
||
|
bottom: 20px;
|
||
|
transition: all 0.5s ease 0s;
|
||
|
}
|
||
|
.portfolio:hover .portfolio-title3 {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.portfolio-3-icon {
|
||
|
left: 0px;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
text-align: center;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
transition: all 0.5s ease 0s;
|
||
|
}
|
||
|
|
||
|
.portfolio:hover .portfolio-3-icon {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.portfolio-3-icon > a {
|
||
|
border: 1px solid #696969;
|
||
|
border-radius: 50%;
|
||
|
color: #383838;
|
||
|
display: inline-block;
|
||
|
height: 60px;
|
||
|
line-height: 60px;
|
||
|
margin: 0 15px;
|
||
|
transition: all 0.3s ease 0s;
|
||
|
width: 60px;
|
||
|
}
|
||
|
.portfolio-3-icon > a:hover {
|
||
|
background-color: #000;
|
||
|
color: #fff;
|
||
|
}
|
||
|
.no-gutte-row {
|
||
|
margin-left: 0;
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|