syled Post From Category and Tag in hangar-extra content
This commit is contained in:
parent
da9a356566
commit
1087598636
|
@ -82,17 +82,154 @@
|
|||
/* --- Post From Category PFC
|
||||
Post From Tag PFT --- */
|
||||
|
||||
.pfc-posts-main .read-more , .pft-posts-main .read-more {
|
||||
/* reset style*/
|
||||
.hangar-extra-content .pfc-posts-main,
|
||||
.hangar-extra-content .pft-posts-main{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post,
|
||||
.hangar-extra-content .pft-posts-main .pft-post {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
vertical-align: top;
|
||||
margin-left: -3px;
|
||||
position: relative;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post .news-text-wrap,
|
||||
.hangar-extra-content .pft-posts-main .pft-post .news-text-wrap {
|
||||
padding-top: 10px;
|
||||
width:calc(100% - 30px);
|
||||
}
|
||||
.hangar-extra-content .pct-posts-main .pct-post .news-text-wrap h2,
|
||||
.hangar-extra-content .pft-posts-main .pft-post .news-text-wrap h2 {
|
||||
margin-bottom: 5px;
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post,
|
||||
.hangar-extra-content .pft-posts-main .pft-post {
|
||||
margin-left: 0px;
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post .news-text-wrap p,
|
||||
.hangar-extra-content .pfc-posts-main .news-text-wrap .read-more,
|
||||
.hangar-extra-content .pft-posts-main .pft-post .news-text-wrap p,
|
||||
.hangar-extra-content .pft-posts-main .news-text-wrap .read-more {
|
||||
margin-bottom: 0px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .news-text-wrap .posted-date,
|
||||
.hangar-extra-content .pfc-posts-main .news-text-wrap .read-more,
|
||||
.hangar-extra-content .pft-posts-main .news-text-wrap .posted-date,
|
||||
.hangar-extra-content .pft-posts-main .news-text-wrap .read-more{
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post:last-child ,
|
||||
.hangar-extra-content .pft-posts-main .pft-post:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .news-thumb a img,
|
||||
.hangar-extra-content .pft-posts-main .news-thumb a img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
/* layout one css starts */
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post.layout-one .news-thumb,
|
||||
.hangar-extra-content .pft-posts-main .pft-post.layout-one .news-thumb {
|
||||
float: none;
|
||||
width: auto;
|
||||
position: absolute;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .layout-one .news-text-wrap,
|
||||
.hangar-extra-content .pft-posts-main .layout-one .news-text-wrap {
|
||||
float: none;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-left: 0;
|
||||
min-height: 80px;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .layout-one .news-text-wrap.info-without-space,
|
||||
.hangar-extra-content .pft-posts-main .layout-one .news-text-wrap.info-without-space{
|
||||
padding-left: 0px;
|
||||
}
|
||||
/* layout two css starts */
|
||||
.hangar-extra-content .pfc-posts-main .pfc-post.layout-two .news-thumb,
|
||||
.hangar-extra-content .pft-posts-main .pft-post.layout-two .news-thumb {
|
||||
width: 100%;
|
||||
}
|
||||
/* end reset pfc */
|
||||
|
||||
.hangar-extra-content .pft-posts-main,.hangar-extra-content .pct-posts-main{
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.hangar-extra-content .pft-posts-main .pft-post,.hangar-extra-content .pft-posts-main .pfc-post {
|
||||
line-height:15px;
|
||||
height:360px;
|
||||
min-width: 200px;
|
||||
width: 200px;
|
||||
margin-bottom:16px;
|
||||
padding: 15px;
|
||||
float:left;
|
||||
background-color: #FFF;
|
||||
margin-right: 15px;
|
||||
-moz-box-shadow: 3px 3px 4px #91939a;
|
||||
-webkit-box-shadow: 3px 3px 4px #91939a;
|
||||
box-shadow: 3px 3px 4px #91939a;
|
||||
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=145, Color='#91939a');
|
||||
position: relative;
|
||||
}
|
||||
.news-thumb {
|
||||
position: absolute;
|
||||
top: 5.6rem;
|
||||
max-height: 150px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.news-text-wrap {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.news-text-wrap h2 a {
|
||||
color: #0000FF !important;
|
||||
text-transform: uppercase;
|
||||
line-height: 0.8rem;
|
||||
}
|
||||
.news-text-wrap .posted-date {
|
||||
position: absolute;
|
||||
top: 4rem;
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
.news-text-wrap p {
|
||||
position: absolute;
|
||||
top: 15rem;
|
||||
|
||||
}
|
||||
.news-text-wrap .read-more {
|
||||
position: absolute;
|
||||
bottom: 2rem;
|
||||
}
|
||||
.hangar-extra-content .pfc-posts-main .read-more,.hangar-extra-content .pft-posts-main .read-more {
|
||||
font-size: 0px;
|
||||
min-width: 1rem;
|
||||
min-height: 1rem;
|
||||
}
|
||||
.pfc-posts-main .read-more:after,.pft-posts-main .read-more:after {
|
||||
.hangar-extra-content .pfc-posts-main .read-more:before,.hangar-extra-content .pft-posts-main .read-more:before {
|
||||
content: "[...]";
|
||||
display: inline-block;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* logo slider */
|
||||
#logoslider { width: 230px; height: 120px; margin-top:5px; }
|
||||
#logoslider div { width: 235px; height: 120px; text-align: left; overflow: hidden }
|
||||
|
@ -355,7 +492,7 @@
|
|||
@media screen and (min-width: 754px) {
|
||||
.indexall.wide {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.indexall.wide .boxentry {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue