المشاركات الشائعة طول صورتين بمقاله

مشاهدات الان

 البحث عن

</body>

فوقه

<script type='text/javascript'>

//<![CDATA[

function resizeThumbarlina(e,t){for(var s=document.getElementById(e),r=s.getElementsByTagName("img"),c=0;c<r.length;c++)r[c].src=r[c].src.replace(/\/s72\-c/,"/s"+t),r[c].width=t,r[c].height=t}resizeThumbarlina("PopularPosts1",400);

$(document).ready(function(){

$('.PopularPosts img').each(function(){

var srcUrl = $(this).attr('src');

$(this).attr('src', srcUrl.replace('default', 'maxresdefault'));

});


});

//]]>

</script>

والبحث عن

]]></b:skin>

فوقه

.sidebar .PopularPosts ul {

counter-reset: popularcount;

margin: 0;

padding: 0;

}

.sidebar .PopularPosts ul li {

width: 100%;

list-style: none !important;

padding: 0 !important;

margin-bottom: 20px;

position: relative;

border: 0;

}

.sidebar .PopularPosts .item-thumbnail a {

clip: auto;

display: block;

height: auto;

max-height: 180px;

}

.sidebar .PopularPosts .item-thumbnail {

width: 100%;

height: 100%;

max-height: 190px;

overflow: hidden;

margin-bottom: 10px;

}

.sidebar .PopularPosts .item-thumbnail:after {

content: counter(popularcount, decimal);

counter-increment: popularcount;

float: left;

font-size: 14px;

list-style-type: none;

padding:10px;

position: absolute;

top: 0;

z-index: 4;

background: #e84c4c;

color: #fff;

}

.sidebar .PopularPosts .item-thumbnail img {

width: 100%;

height: 100%;

object-fit: cover;

}

.sidebar .PopularPosts .item-title {

position: relative;

}

.sidebar .PopularPosts .item-title a {

color: #FFFFFF;

font: 15px 'Playfair Display', serif;

text-transform: uppercase;

font-size: 20px;

padding: 10px;

position: absolute;

right: 0;

left: 0px;

margin: 0px auto;

text-align: center;

text-decoration: none;

top: 80px;

width: 80%;

background-color: rgba(0,0,0,0.5);

overflow: hidden;

z-index: 2;

}

.sidebar .PopularPosts .item-snippet {

padding: 10px 15px;

font-size: 13px;

text-align: center;

background: #e84c4c;

color:#fff;

}

انتهينا


إرسال تعليق

أحدث أقدم