forked from Nickersoft/push.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.css
More file actions
180 lines (150 loc) · 2.92 KB
/
Copy pathdocumentation.css
File metadata and controls
180 lines (150 loc) · 2.92 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
.documentation a {
cursor: pointer;
}
.documentation {
background: #fff;
overflow: hidden;
}
.documentation .sidebar {
padding: 6em 2em 0;
position: absolute;
width: 300px;
float: left;
}
.documentation .sidebar ul {
border-bottom: 1px solid #eee;
padding-bottom: 1em;
margin-bottom: 2em;
}
.documentation .sidebar ul li a {
padding: 20px 0;
}
.documentation .mobile-sidebar {
background: #fff;
position: fixed;
width: 100%;
top: 9.2em;
overflow: scroll;
border-bottom: 1px solid #eee;
display: none;
}
.documentation .mobile-sidebar ul {
white-space: nowrap;
}
.documentation .mobile-sidebar ul li {
display: inline-block;
padding: 1em 4em;
line-height: 1em;
}
.documentation .content {
background: #f8f8f8;
border-left: 1px solid #eee;
font-size: 16px;
line-height: 1.5em;
font-weight: 300;
margin-left: 300px;
min-height: 800px;
display: block;
overflow: hidden;
width: calc(100% - 300px);
max-width: 1200px;
padding: 6em 75px 50px 3em;
}
.documentation .content p:first-child {
margin-top: 0;
}
.documentation h1, h2, h3, h4, h5, h6 {
text-align: left;
line-height: 1.25em;
}
.documentation h1 {
color: #333;
font-weight: 600;
padding: 0.25em 0;
}
.documentation h2 {
color: #444;
font-size: 1.5em;
font-weight: 400;
line-height: 1em;
padding: 0.25em 0;
}
.documentation h3 {
color: #555;
font-size: 1.25em;
font-weight: 300;
line-height: 1em;
padding: 0.25em 0;
}
.documentation ul {
list-style: none;
margin: 0;
padding: 0;
}
.documentation ul li {
cursor: pointer;
}
.documentation ul li a {
color: #777;
display: block;
padding: 1em 0;
text-decoration: none;
}
.documentation ul li.active > a {
color: #24223C;
}
.documentation ul li:not(.active) a:hover {
color: #444;
}
.documentation p {
color: #222;
line-height: 1.5em;
/*text-align: justify;*/
padding: 0.5em 0;
margin: 0;
}
.documentation table {
background: #fff;
border-collapse: collapse;
border-spacing: 0;
border: 1px solid #eee;
margin-bottom: 25px;
margin-top: 0.5em;
}
.documentation table thead {
background: #24223C;
color: #fff;
}
.documentation table thead th {
padding: 10px 0;
}
.documentation table td {
padding: 25px;
}
.documentation table tr {
border-bottom: 1px solid #eee;
}
.documentation table tr:last-child {
border: 0;
}
.documentation table tr:nth-child(even) {
background: #fbfbfb;
}
.documentation .highlight {
overflow: auto;
}
@media (max-width: 800px) {
.documentation .sidebar {
display: none;
}
.documentation .mobile-sidebar {
display: block;
}
.documentation .content {
padding-top: 14em;
padding-left: 3em;
padding-right: 3em;
width: 100%;
margin-left: 0;
}
}