blog/sass/parts/_post.scss
2015-01-19 13:16:19 +01:00

41 lines
812 B
SCSS

.post{
h1.title, .entry-content{
margin-left: 200px;
@media screen and (max-width: 800px){
margin-left: 0;
}
}
.meta{
position: absolute;
top: 85px;
line-height: 2;
font-size: 0.9em;
color: $color-gray02;
width: 170px;
@media screen and (max-width: 800px){
margin-top: 15px;
position: static;
width: auto;
}
a{
@include link-colors($color-gray02, $color-gray01);
@include transition(0.3s);
}
.date, .tags, .comments{
padding-left: 30px;
@media screen and (max-width: 800px){
@include inline-block;
margin-right: 30px;
}
}
.date{
background: image-url('date.png') 0 center no-repeat;
}
.tags{
background: image-url('tags.png') 0 center no-repeat;
}
.comments{
background: image-url('comments.png') 0 center no-repeat;
}
}
}