summaryrefslogtreecommitdiffstats
path: root/sass/parts/_post.scss
blob: aeaa52a910d9d9d27e98133b432a49ca205855fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.post{
	h1.title, .entry{
		margin-left: 200px;
	}
	.meta{
		position: absolute;
		top: 85px;
		line-height: 2;
		font-size: 13px;
		color: $font-meta;
		width: 170px;
		a{
			color: $font-meta;
			@include transition(0.3s);
			&:hover{
				color: $font-main;
			}
		}
		.date, .tags, .comments{
			padding-left: 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;
		}
	}
}

@media screen and (max-width: 800px){
	.post{
		h1.title, .entry{
			margin-left: 0;
		}
		.meta{
			margin-top: 15px;
			position: static;
			width: auto;
			.date, .tags, .comments{
				display: inline-block;
				margin-right: 30px;
			}
		}
	}
}