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