summaryrefslogtreecommitdiffstats
path: root/sass/parts/_post.scss
blob: 66486fc944fef6ba726d8a9a3a3a2aefff04889c (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
.post{
	h1.title, .entry-content{
		margin: 0 30px 0 120px;
		@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;
			position: relative;
			&:before{
				color: $color-gray03;
				font: 1.3em $font-icon;
				line-height: 1.6em;
				position: absolute;
				left: 0;
			}
			@media screen and (max-width: 800px){
				@include inline-block;
				margin-right: 30px;
			}
		}
		.date:before{content: "\f073";}
		.tags:before{content: "\f02c";}
		.comments:before{content: "\f075";}
	}
}