summaryrefslogtreecommitdiffstats
path: root/sass/parts/_post.scss
blob: 1b5f554f91d4ab10acc5936f9f7dfee80d10ddf1 (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
.post{
	h1.title, .entry{
		margin-left: 200px;
	}
	.meta{
		position: absolute;
		top: 85px;
		line-height: 2;
		font-size: $meta-size;
		color: $gray02;
		width: 170px;
		a{
			@include link-colors($gray02, $gray01);
			@include transition(0.3s);
		}
		.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{
				@include inline-block;
				margin-right: 30px;
			}
		}
	}
}