Добрый день, подскажите, пожалуйста, как сдвинуть слово и значок?
вот код:
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 {
padding: 0px;
margin: 0px;
position: relative;
}
.post-title {
color: #2980b9;
font-size: 20px;
margin-bottom: 5px;
margin-left: 75px;
}
.post-stats {
display:inline-block;
position:relative;
left:65px;
padding-left:30px;
padding-top:5px; }
.post-stats .icon {
position:absolute;
left:10px;
width: 15px;
height: 15px;
background: url(/assets/course14/post-challenge.png) no-repeat 0 0;
}
.post-stats a{
text-decoration: none;
color: #2980b9;
display: inline-block;
}
.post-stats .icon-comments {
background-position: -20px 0;
}
.post-type {
position:absolute;
top: 70px;
left: 0;
width:55px;
height:55px;
border-bottom:5px solid #bdc3c7;
background:#7f8c8d url("/assets/course14/quotes.png") no-repeat 50% 50%;}
.post-date {
position: absolute;
color: #7f8c8d;
font-size: 15px;
background-color: #ffffff;
font-weight: bold;
top: 0px;
border-bottom: 5px solid #bdc3c7;
height: 55px;
width: 55px;
text-align: center;
line-height:55px;
}
.post-author {
text-decoration: none;
margin-left: 75px;
}
.post-author a {
text-decoration: none;
color: #2980b9;
}
.post-text {
padding: 0px;
margin: 0px;
width: 170px;
background-color: #ffffff;
padding: 10px 10px 10px 15px;
position: relative;
margin-left: 75px;
color: #7f8c8d;
border-bottom: 5px solid #bdc3c7;
}
И если можно, посоветуйте, пожалуйста, материалы про спрайты. Вот изначально - как их создавать, какие к ним требования, и как потом использовать. Стало ясно, что до конца не поняла про них.