summaryrefslogtreecommitdiffstats
path: root/sass/partials/_index.scss
blob: bbb45cb16dd201fa83165c28cf8441784528536d (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
#main_col{
	width: 750px;
	article{
		margin-bottom: 30px;
		header{
			line-height: 1;
			.date{
				background: #000;
				color: #fff;
				width: 40px;
				height: 50px;
				padding: 5px 10px;
				margin-right: 5px;
				white-space: nowrap;
				text-transform: uppercase;
				strong{
					display: block;
					font-size: 30px;
					margin-bottom: 2px;
					font-weight: bold;
				}
			}
			.title{
				background: $black;
				color: #fff;
				font-size: 25px;
				padding: 25px 10px 10px;
				max-width: 665px;
				font-weight: inherit;
				a{
					color: #fff;
				}
			}
		}
		.entry{
			text-align: justify;
			margin-top: 5px;
			background: #fff;
			padding: 10px 20px;
			line-height: 2;
			color: #333;
			position: relative;
			word-wrap: break-word;
			p{
				margin-bottom: 10px;
			}
			img{
				max-width: 100%;
				height: auto;
				margin-top: 10px;
			}
			a{
				color: $main;
				&:hover{
					text-decoration: underline;
				}
			}
			ul, ol{
				margin-left: 20px;
				margin-bottom: 10px;
			}
			h2{
				margin-bottom: 10px;
				border-bottom: 1px solid #ddd;
				font-weight: inherit;
				color: #000;
			}
			blockquote{
				color: #666;
				font-size: 13px;
				position: relative;
				padding-left: 30px;
				margin-bottom: 10px;
				&:before{
					position: absolute;
					content: "“";
					font-size: 50px;
					line-height: 1;
					top: 0;
					left: 0;
					@include user-select(none);
				}
				&.attach:before{
					content: "A";
					font: 13px/2 $symbol;
				}
			}
			pre{
				color: #666;
				font: 13px $code-font;
				position: relative;
				margin-bottom: 10px;
				overflow-x: auto;
				line-height: 1.5;
			}
			code{
				font-family: $code-font;
			}
			footer{
				border-top: 1px solid #ddd;
				padding-top: 10px;
				min-height: 26px;
				a{
					color: #000;
					position: relative;
					&:hover{
						color: $main;
						text-decoration: none;
					}
					&:before, &:after{
						font: 16px $symbol;
						@include user-select(none);
					}
				}
				.more-link{
					&:hover{
						color: $main;
						text-decoration: none;
					}
					&:before{
						content: "j";
						padding-right: 10px;
					}
				}
				.comment{
					&:after{
						content: "d";
						right: 0;
						padding-left: 10px;
					}
					&:hover{
						&:after{
							content: "e";
						}
					}
				}
			}
		}
	}
}