-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmain.css
97 lines (97 loc) · 1.56 KB
/
main.css
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
html,
body {
margin: 0;
padding: 0;
font-family: system-ui, 'Helvetica', 'Arial', sans-serif;
}
main {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: left;
margin: 0 auto;
background: #f8f8f8;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
line-height: 1.3em;
}
.line {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-end;
font-size: 16px;
}
.line:first-child .doc {
padding-top: 64px;
}
.line:last-child .doc {
padding-bottom: 64px;
}
.line:last-child {
align-items: flex-start;
}
.doc {
min-height: 24px;
width: 380px;
line-height: 1.5em;
flex-shrink: 0;
flex-grow: 0;
padding-left: 32px;
padding-right: 32px;
background: #fff;
}
.doc p {
margin: 0;
}
pre {
margin: 0;
margin-left: 8px;
line-height: 1.5em;
font-size: 14px;
}
code {
font-size: .9em;
background: #f8f8f8;
box-sizing: border-box;
padding: 2px 4px;
border: 1px solid #aaa;
}
pre,
code {
font-family: 'Menlo', 'Monaco', monospace;
overflow: hidden !important; /* override hljs's scroll style */
}
.source .lineNumber {
font-weight: normal;
opacity: .2;
margin-right: 18px;
width: 36px;
text-align: right;
display: inline-block;
}
.hljs {
padding: 0 !important;
background: transparent !important;
}
.fade {
opacity: .35;
}
a {
opacity: .8;
color: #777;
display: inline-block;
margin-bottom: 18px;
}
p a {
margin-bottom: 0;
}
a:hover {
opacity: 1;
}