summaryrefslogtreecommitdiffstats
path: root/sass/parts/_article.scss
blob: d4157fe9114f4bd0dd3eeb276e7f4ace16623467 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
article{
	border-bottom: 1px solid $border;
	border-top: 1px solid $light-shadow;
	padding: 30px 0;
	position: relative;
	h1.title, .entry{
		margin-left: 200px;
	}
	h1.title{
		font-size: 25px;
		font-weight: 300;
		line-height: 35px;
		margin-bottom: 20px;
		a{
			color: $font-main;
		}
	}
	.entry{
		line-height: 2;
		text-align: justify;
		a{
			&:hover{
				text-decoration: underline;
			}
		}
		.more-link{
			display: block;
			margin-top: 20px;
		}
		ol, ul{
			margin-left: 20px;
		}
		p{
			margin-top: 10px;
		}
		h2{
			font-weight: 300;
			margin-top: 10px;
			border-bottom: 1px solid $border;
			position: relative;
			&:before{
				content: "";
				position: absolute;
				bottom: -2px;
				border-bottom: 1px solid $light-shadow;
				width: 100%;
			}
		}
		h3{
			margin-top: 10px;
		}
		code{
			font-family: $monospace;
		}
		pre{
			margin-top: 10px;
			line-height: 1.5;
		}
	}
	.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;
			}
		}
	}
}