blob: 565cc568378ae0090982db8eee0ef352a5bf846e (
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
|
@import "variables";
#content {
a {
@extend %link-default;
}
blockquote {
border-left: 4px solid;
font-style: italic;
margin: $margin-y 0;
padding: 8px 8px;
& p {
margin: 0;
}
}
code {
color: $green;
}
h1, h2, h3, h4, h5, h6 {
font-size: medium;
font-weight: bold;
line-height: normal;
margin: 1.2rem 0 0.8rem 0;
}
@for $i from 1 through 4 {
h#{$i} {
font-size: 1.2rem + 0.2 * (4 - $i);
}
}
img {
display: block;
margin: $margin-y auto;
}
ol {
counter-reset: list;
list-style: none;
padding-left: 0;
& > li {
padding-left: 4ch;
text-indent: -4ch;
margin: 4px 0;
&:before {
content: "[" counter(list, decimal) "] ";
counter-increment: list;
}
}
}
pre code {
color: inherit;
}
ul {
list-style: inside;
padding-left: 0;
& > li {
margin: 4px 0;
}
}
table {
margin: $margin-y auto;
width: 100%;
& tr {
background-color: white;
border: 1px solid #cccccc;
& td {
@extend %table-cell;
}
& th {
@extend %table-cell;
font-weight: bold;
}
&:nth-child(2n) {
background-color: #f8f8f8;
}
}
}
.avatar > img {
border-radius: 50%;
float: right;
margin: -8px 0 0 16px;
height: $avatar-size;
width: $avatar-size;
}
.highlight {
margin: $margin-y auto;
& > pre {
padding: 8px 8px;
}
}
}
|