-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.css
More file actions
135 lines (116 loc) · 2.63 KB
/
doc.css
File metadata and controls
135 lines (116 loc) · 2.63 KB
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
body {
margin: 0;
padding: 0;
font: 16px Roboto;
background: #fff;
line-height: 1.4em;
color: #333;
}
header {
width: 960px;
margin: 1em auto;
}
header a + a {
margin-left: 1em;
}
header a:last-child {
float: right;
}
div.main {
position: relative;
width: 960px;
padding-left: 260px;
margin: 1em auto;
box-sizing: border-box;
}
aside {
position: absolute;
top: -1em;
left: 0;
width: 220px;
border-right: 1px solid #eee;
font-size: 14px;
}
aside h3 {
margin: 1em 1em 0.25em 0;
border-bottom: 1px solid #eee;
}
aside ul {
padding: 0;
margin: 0 0 0 0.75em;
}
aside ul li { padding: 0; }
aside ul li.h1 { margin-left: 1em; font-weight: bold; }
aside ul li.h2 { list-style: circle; padding: 0; margin-left: 2.5em; font-size: 12px; }
aside ul li.h3 { list-style: circle; padding: 0; margin-left: 4em; font-size: 12px; }
aside ul.tut { list-style: none; margin: 0; }
aside ul.tut li { padding: 0; margin: 1em 0; }
h1, h2 {
margin: 1.5em 0 1em 0;
padding-bottom: 0.3em;
border-bottom: 1px solid #eee;
}
h1 { line-height: 1em; }
a { color: #2980b9; }
table { border-collapse: collapse; }
th, td { border: 1px solid #ccc; padding: 4px 8px; }
tr:nth-child(even) { background: #f8f8f8; }
code:not(pre code) {
font: 14px Roboto Mono;
background: #f5f5f5;
padding: 3px;
border-radius: 3px;
}
h1 code:not(pre code) { font-size: 90%; font-weight: bold; }
h2 code:not(pre code) { font-size: 90%; font-weight: bold; }
h3 code:not(pre code) { font-size: 90%; font-weight: bold; }
pre, pre code { font: 13px Consolas, Menlo; }
pre {
padding: 16px;
background: #f7f7f7;
border-radius: 3px;
line-height: 1.4em;
}
figure { text-align: center; }
figure img { max-width: 600px; }
figcaption { display: none; }
footer {
height: 2em;
}
div.mainSidebar div.main.type {
width: 100%;
padding-left: 0;
margin: 0;
}
div.main p.api-index {
position: absolute;
top: -1em;
left: 0;
width: 220px;
}
div.mainSidebar div.sidebar {
position: absolute;
top: 2em;
left: 0;
width: 220px;
}
div.mainSidebar div.sidebar h3:first-of-type { display: none; }
div.mainSidebar div.sidebar ul:first-of-type { display: none; }
div.mainSidebar div.main.type h1 span { display: block; font-size: 60%; font-weight: normal; }
div.mainSidebar div.main.type dt {
border-top: 1px solid #eee;
background: #fbfbfb;
font-weight: bold;
padding: 4px;
}
div.mainSidebar div.main.type dd p.sig code {
background: none;
color: #27ae60;
}
div.mainSidebar table td p { margin: 4px 0; }
div.mainSidebar.index div.main.type {
width: 960px;
padding: 0;
margin: 0 0 0 -260px;
}
div.mainSidebar.index div.sidebar { display: none; }