/
styles.go
84 lines (83 loc) · 1.16 KB
/
styles.go
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
package main
const inlineStyles = `
.body {
max-width: 750px;
margin: auto;
font-size: 16px;
padding: 20px;
}
.title, .subtitle, h1, h2, h3, h4, h5, h6, p, ul, ol {
line-height: 1.5;
color: #24292e;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
word-wrap: break-word;
}
.title {
font-size: 26px;
font-weight: bold;
margin-bottom: 0px;
}
.subtitle {
margin-top: 0px;
font-size: 20px;
color: #666;
}
img {
max-width: 750px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 6px;
margin-bottom: 13px;
}
h1 {
font-size: 26px;
font-weight: 600;
color: #990000;
border-bottom: 1px solid #aaaaaa;
margin-top: 18px;
}
h2 {
font-size: 22px;
font-weight: 400;
color: #666;
}
h3 {
font-size: 16px;
font-weight: 600;
}
h4 {
font-size: 16px;
font-weight: 400;
}
h5 {
font-size: 14px;
font-weight: 400;
}
h6 {
font-size: 12px;
font-weight: 600;
}
p {
margin-top: 0;
margin-bottom: 13px;
}
a {
color: #0366d6;
text-decoration: none;
text-decoration: underline;
}
hr {
margin: 30px 0px;
padding: 0;
border: none;
width: 100%;
height: 1px;
color: #FFF;
background-color: #CCC;
}
`