Skip to content

Commit 3830394

Browse files
committed
Docs: css clean up.
1 parent 72d57d8 commit 3830394

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

docs/index.css

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
font-style: normal;
66
}
77

8-
*{
8+
* {
99
box-sizing: border-box;
1010
}
1111

@@ -27,7 +27,6 @@ body {
2727
h1 {
2828
margin-top: 30px;
2929
margin-bottom: 40px;
30-
margin-left: 20px;
3130
font-size: 25px;
3231
font-weight: normal;
3332
}
@@ -38,7 +37,6 @@ h2 {
3837
font-weight: normal;
3938

4039
margin-top: 20px;
41-
margin-left: 20px;
4240
}
4341

4442
h3 {
@@ -47,7 +45,6 @@ h3 {
4745
font-weight: normal;
4846

4947
margin-top: 20px;
50-
margin-left: 20px;
5148
}
5249

5350
a {
@@ -61,13 +58,13 @@ a {
6158
width: 260px;
6259
height: 100%;
6360
overflow: auto;
61+
padding-left: 20px;
6462
background: #fafafa;
6563
}
6664

6765
#panel ul {
6866
list-style-type: none;
6967
padding: 0px;
70-
margin-left: 20px;
7168
}
7269

7370
iframe {
@@ -79,8 +76,8 @@ iframe {
7976
overflow: auto;
8077
}
8178

82-
.filterBlock{
83-
margin: 20px;
79+
.filterBlock {
80+
margin-right: 20px;
8481
position: relative;
8582
}
8683

@@ -158,12 +155,12 @@ iframe {
158155

159156
@media all and ( max-width: 640px ) {
160157

161-
h1{
158+
h1 {
162159
margin-top: 20px;
163160
margin-bottom: 20px;
164161
}
165162

166-
#panel{
163+
#panel {
167164
position: absolute;
168165
left: 0;
169166
top: 0;
@@ -175,18 +172,19 @@ iframe {
175172
border-bottom: 1px solid #dedede;
176173
}
177174

178-
#content{
175+
#content {
179176
position: absolute;
180177
left: 0;
181178
top: 90px;
182179
right: 0;
183180
bottom: 0;
184181
font-size: 17px;
185182
line-height: 22px;
183+
padding-left: 20px;
186184
overflow: auto;
187185
}
188186

189-
#navigation{
187+
#navigation {
190188
position: absolute;
191189
left: 0;
192190
top: 90px;
@@ -197,19 +195,19 @@ iframe {
197195
overflow: auto;
198196
}
199197

200-
iframe{
198+
iframe {
201199
position: absolute;
202200
left: 0;
203201
top: 56px;
204202
width: 100%;
205203
height: calc(100% - 56px);
206204
}
207205

208-
#expandButton{
206+
#expandButton {
209207
display: block;
210208
}
211209

212-
#panel.collapsed{
210+
#panel.collapsed {
213211
height: 56px;
214212
}
215213

0 commit comments

Comments
 (0)