Коллеги, добрый день!
Снова я с глупыми вопросами, никак не могу усвоить некоторые аспекты.
Прошу помощи с перемещением текста ссылок
Код прилагаю ниже
<!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="#">интенсив</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>
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;
}
a {
text-decoration:none;
}
.post a {
color:#2980b9;
}
.post .post-title{
font-size:20px;
color:#2980b9;
margin-left:75px;
}
.post .post-date{
position: absolute;
padding-top:20px;
width:55px;
height:35px;
background-color: #ffffff;
font-size:15px;
font-weight:bold;
/*vertical-align:middle;*/
text-align:center;
border-bottom: 5px solid #bdc3c7;
top:50px;
}
.post .post-type {
position: absolute;
top:120px;
width:55px;
height:55px;
background-color: #7f8c8d;
background-image: url(/assets/course14/quotes.png);
background-repeat:no-repeat;
background-position:50% 50%;
font-size:15px;
font-weight:bold;
/*vertical-align:middle;*/
text-align:center;
border-bottom: 5px solid #bdc3c7;
}
.post .post-author{
margin-left:75px;
padding:5px 0;
}
.post-stats {
display:inline-block;
position: relative;
margin-right: 10px;
padding-left: 20px;
}
.post-stats .icon {
position:absolute;
left:75px;
width: 15px;
height: 15px;
background-image:url(/assets/course14/post-challenge.png);
background-position:no-repeat;
}
.icon-comments{
background-position:80%;
}
.post-text {
width:170px;
height:100px;
background:#ffffff;
padding:10px 15px;
margin-left:75px;
border-bottom: 5px solid #bdc3c7;
}
/*
Все размеры, отступы, координаты, размеры шрифтов (не заданные в body) кратны 5 или 10.
Ардеса картинок:
/assets/course14/quotes.png
/assets/course14/post-challenge.png
Картинка "кавычки" выровнена по центру
*/