Здравствуйте! Хотел бы если можно получить замечания/критику.
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Испытание: анонс поста</title>
</head>
<body>
<div class="post">
<div class="post-title">Интенсив: программа</div>
<div class="post-date">13.09</div>
<div class="post-type"></div>
<div class="post-author">
Автор: <a href="#">HTML Academy</a>
</div>
<div class="post-stats">
<div class="icon icon-tags"></div>
<a href="#">интенсив</a>,
<a href="#">программа</a>
</div>
<div class="post-stats">
<div class="icon icon-comments"></div>
<a href="#">5</a>
</div>
<div class="post-text">Работа над интенсивом идёт полным ходом. Мы нашли крутых людей в команду и решили еще кучу задач. Но сегодня я подробнее расскажу о работе над программой интенсива.</div>
</div>
</body>
</html>
/*CSS*/
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,
.post a {
color: #2980b9;
}
.post a {
text-decoration: none;
}
.post-date,
.post-type,
.post-text {
border-bottom: 5px solid #bdc3c7;
}
.post-title {
font-size: 20px;
}
.post .post-title,
.post-author {
margin-bottom: 5px;
}
.post-date,
.post-type {
position: absolute;
width: 55px;
height: 55px;
left: 0;
}
.post .post-date {
display: inline-block;
background-color: #ffffff;
text-align: center;
vertical-align: middle;
line-height: 55px;
font-weight: bold;
font-size: 15px;
top: 0;
}
.post .post-type {
background: #7f8c8d url("/assets/course14/quotes.png") no-repeat 50% 50%;
top: 70px;
}
.post .post-stats {
position: relative;
display: inline-block;
margin-right: 10px;
padding-left: 20px;
}
.post-stats .icon {
position: absolute;
left: 0;
top: 0;
background: url("/assets/course14/post-challenge.png") no-repeat;
}
.post-stats .icon-tags{
background-position: 0 0;
}
.post-stats .icon-comments {
background-position: -20px 0;
}
.post .post-text {
width: 165px;
background: #ffffff;
padding: 10px 15px;
}
/*
Все размеры, отступы, координаты, размеры шрифтов (не заданные в body) кратны 5 или 10.
Адреса картинок:
/assets/course14/quotes.png
/assets/course14/post-challenge.png
Картинка «кавычки» выровнена по центру
*/