summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_markdown.scss
blob: 1aa942ad09523dddbd7f4c16bbdcff0a38cbdf38 (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
.markdown__heading {
	font-weight: 700;
}
.markdown__paragraph-inline {
	display: inline;
	+ .markdown__paragraph-inline {
		margin-left: 4px;
	}
}
.post-body {
	hr {
		height: 4px;
		padding: 0;
		margin: 15px 0 16px;
		background-color: #e7e7e7;
		border: 0 none;
		@include opacity(0.2);
	}
}
.markdown__table {
	background: #fff;
	margin: 5px 0 10px;
	th, td {
		padding: 6px 13px;
		border: 1px solid #ddd;
	}
	tbody tr {
		background: #fff;
		&:nth-child(2n) {
			background-color: #f8f8f8;
		}
	}
}
blockquote {
	border: none;
	position: relative;
	font-size: 16px;
	padding: 10px 10px 10px 38px;
	margin-bottom: 0;
	&:before {
		font-family: FontAwesome;
		font-weight: normal;
		font-style: normal;
		display: inline-block;
		text-decoration: inherit;
		content: "\f10d";
		left: 8px;
		top: 5px;
		position: absolute;
		font-size: 20px;
		@include opacity(0.6);
	}
}
pre {
	border: none;
	margin: 5px 0;
	color: inherit;
}
code {
	background: #fff;
	color: inherit;
}