first commit
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
/*------------------------------------*
|
||||
$RELATED POSTS
|
||||
*------------------------------------*/
|
||||
#related-posts {
|
||||
margin-top: 30px;
|
||||
padding-top: 30px;
|
||||
border-top: 1px solid #f1f1f1;
|
||||
}
|
||||
|
||||
#related-posts .title-wrap {
|
||||
display: block;
|
||||
color: #333;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.6px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
#related-posts ul {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#related-posts .col {
|
||||
float: left;
|
||||
position: relative;
|
||||
min-height: 100px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#related-posts .span_1_of_3 {
|
||||
width: 33.3333333333%;
|
||||
}
|
||||
|
||||
.related-thumb {
|
||||
display: block;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.related-thumb img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
transition: opacity .3s;
|
||||
}
|
||||
|
||||
.related-thumb:hover img {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.related-post-title {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin: 12px 12px 3px 12px;
|
||||
}
|
||||
|
||||
.related-post-title a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
time.published {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
time.published i {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/*------------------------------------*
|
||||
Phone Portrait and Landscape
|
||||
*------------------------------------*/
|
||||
@media only screen and (max-width: 767px) {
|
||||
#related-posts .col {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
#related-posts .col:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user