Испытание: анонс поста [18/18] 100% (жду пожеланий )

/html,
body {
margin: 0;
padding: 0;
}

body {
width: 280px;
min-height: 250px;
padding-top: 50px;
padding-left: 10px;
padding-right: 10px;
font-size: 12px;
font-family: “Arial”, sans-serif;
line-height: 1.2;
color: #7f8c8d;
background: #ecf0f1;
}

.post-stats .icon {
width: 15px;
height: 15px;
}
.post {
position: relative;
padding-left: 75px;
}
.post-title {
font-size: 20px;
color: #2980b9;
}
.post-date {
position: absolute;
width: 55px;
height: 55px;
background: #ffffff;
border-bottom: 5px solid #bdc3c7;
font-size: 15px;
font-weight: bold;
top: 0px;
left: 0px;
text-align: center;
vertical-align: middle;
line-height: 55px;
}
.post-author {
margin-top: 5px;
}
.post-stats a ,
.post-author a {
color: #2980b9;
text-decoration: none;
}
.post-type {
position: absolute;
width: 55px;
height: 55px;
background: #7f8c8d url("/assets/course14/quotes.png") no-repeat center;
border-bottom: 5px solid #bdc3c7;
top: 70px;
left: 0px;
}
.post-stats {
display: inline-block;
padding-left: 20px;
margin-right: 10px;
margin-top: 5px;
}
.post-stats .icon {
position: absolute;
width: 15px;
height: 15px;

}

.post-stats .icon-tags {
background: url("/assets/course14/post-challenge.png") no-repeat 0 0;
left: 75px;
}
.post-stats .icon-comments {
background: url("/assets/course14/post-challenge.png") no-repeat -20px 0;
right: 38px;
}
.post-text {
background: #ffffff;
padding: 10px 15px;
border-bottom: 5px solid #bdc3c7;
margin-right: 10px;
}

Координаты иконок для .post-stats получаются у вас относительно блока .post. Лучше если точкой отсчета будет .post-stats.

Тобишь относительное позиционирование задать для .post-stats?

1 лайк