Skip to content

Commit 7db8e9d

Browse files
committed
updated 演示样式调整
1 parent 82a80a7 commit 7db8e9d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jquery-slider/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
.slider{
1111
position: relative;
1212
overflow: hidden;
13-
height: 150px;
1413
margin:0 auto 10px;
1514
}
1615
.slider .prev,.slider .next{
@@ -45,7 +44,8 @@
4544
width:24px;
4645
height:24px;
4746
background: #ccc;
48-
margin-right:5px;
47+
margin:0 2px;
48+
line-height: 24px;
4949
cursor: pointer;
5050
}
5151
.slider .nav li.active{background:#ff0;}

public/style/common.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ a{
2323
.container{
2424
width:960px;
2525
margin: 50px auto 0;
26-
padding-bottom: 150px;
26+
padding-bottom: 120px;
2727
}
2828
.code{
2929
border:1px dashed #e2e2e2;
3030
padding:10px 5px;
31-
margin-bottom:25px;
31+
margin-bottom:50px;
3232
}
3333
pre {
3434
font-family: "Microsoft Yahei",Arial,Helvetica;
@@ -94,8 +94,8 @@ pre {
9494
}
9595

9696
.example{
97-
padding-top:40px;
98-
margin-bottom:90px;
97+
padding-top:30px;
98+
margin-bottom: 30px;
9999
}
100100
.example .call{
101101
padding:18px 5px;

0 commit comments

Comments
 (0)