You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

205 lines
3.7 KiB

/*
Created by: YaFedImYaEatIm.
All creation credits belong to YaFedImApps.
*/
/*
Created on : 14/04/2017, 12:37:12 PM
Author : YaFedImYaEatIm
*/
.ys-slider{
position:relative;
padding: 0;
max-height:240px;
height:240px;
max-width:720px;
width:720px;
padding: 0 !important;
overflow:hidden;
}
.ys-slide{
left:0px;
top:0px;
width:660px;
max-width: 720px;
min-width:720px;
display:none;
position:absolute;
table-layout: fixed;
}
.ys-image{
display: table-cell;
width:180px;
max-width: 180px;
height:240px;
max-height:240px;
padding:0;
}
.ys-image > img{
margin: auto;
width:180px;
height:240px;
}
.ys-content{
width:180px;
height:240px;
display: table-cell;
width: 70%;
height: inherit;
vertical-align: top;
padding: 0px 20px;
}
.ys-content h2{
max-height: 31px;
}
.ys-content p{
max-height:90px;
height:90px;
text-align:justify;
}
.ys-slider-next{
cursor:pointer;
position:absolute;
height:80px;
width:40px;
top:80px;
right:0;
margin: auto 0;
z-index: 1;
background-color:#888888;
opacity: .4;
}
.ys-slider-next:hover{
opacity: .8;
}
.ys-slider-prev{
cursor:pointer;
position:absolute;
height:80px;
width:40px;
top:80px;
left:0;
margin: auto 0;
z-index: 1;
background-color:#888888;
opacity: .4;
}
.ys-slider-prev:hover{
opacity:.8;
}
.ys-read-more{
display:block;
text-align:right;
padding-bottom:30px;
padding-right:15px;
}
.ys-read-more > a{
background: #cccccc;
background-image: -webkit-linear-gradient(top, #cccccc, #bdbdbd);
background-image: -moz-linear-gradient(top, #cccccc, #bdbdbd);
background-image: -ms-linear-gradient(top, #cccccc, #bdbdbd);
background-image: -o-linear-gradient(top, #cccccc, #bdbdbd);
background-image: linear-gradient(to bottom, #cccccc, #bdbdbd);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
color: #333333;
font-size: 13px;
padding: 8px 12px 8px 12px;
border: solid #b0a6b0 1px;
}
.ys-read-more > a:hover{
background: #b8b9ba;
background-image: -webkit-linear-gradient(top, #b8b9ba, #979ea3);
background-image: -moz-linear-gradient(top, #b8b9ba, #979ea3);
background-image: -ms-linear-gradient(top, #b8b9ba, #979ea3);
background-image: -o-linear-gradient(top, #b8b9ba, #979ea3);
background-image: linear-gradient(to bottom, #b8b9ba, #979ea3);
}
.ys-page-nav{
position: absolute;
bottom:15px;
text-align: center;
left:0;
right:0;
margin-left: auto;
margin-right:auto;
}
.ys-page-nav span:first-child{
margin-left:0px;
}
.ys-page-nav span{
cursor:pointer;
border-radius: 5px;
height:10px;
width:10px;
background-color: #888888;
display:inline-block;
margin-left: 5px;
}
.ys-active{
background-color: #CCCCCC !important;
}
@media only screen and (max-width: 768px) {
.ys-slider{
width:100%;
max-width:none;
max-height:600px;
height:600px;
}
.ys-slide{
width:100%;
min-width: 0;
max-width: none;
}
.ys-image{
display: block;
width:100%;
text-align:center;
max-width:none;
}
.ys-image img{
display:inline-block;
}
.ys-content{
display: block;
width: auto;
}
.ys-content h2{
text-align:center;
padding: 0 20px;
height:58px;
max-height:58px;
overflow:hidden;
}
.ys-content p{
height:160px;
max-height: 160px;
}
}