-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (74 loc) · 1.26 KB
/
style.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
#container{
margin: 0 auto;
max-width: 550px;
}
#photo_container{
position: relative;
}
#thumbnail{
overflow: hidden;
margin: 0 0 10px;
padding: 0 3% ;
width: 100%;
}
#thumbnail li{
float: left;
margin-right: 5px;
margin-bottom: 5px;
list-style: none;
}
#thumbnail li:last-child{
margin-right: 0;
}
#thumbnail li img{
width: 100%;
opacity: 0.5;
filter: alpha(opacity=50);
}
#thumbnail li.current img{
opacity: 1;
filter: alpha(opacity=100);
}
#main_photo{
position: relative;
height: 490px;
border: solid 15px #fff;
box-shadow: 0 1px 8px #bbb;
}
#main_photo img{
position: absolute;
top:0;
width: 100%;
}
.img_nav btn{
position: absolute;
top:52%;
margin: -25px 6% 0;
width: 50px;
height: 50px;
border-top: solid 2px #fff;
border-left: solid 2px #fff;
cursor: pointer;
}
#prev{
-ms-transform: rotateX(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#next{
right: 0;
-ms-transform: rotateX(135deg);
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
.ctr_btn{
position: absolute;
top:7%;
right: 5%;
}
.ctr_btn btn{
padding:10px 20px;
border: solid 2px #fff;
color: #fff;
cursor: pointer;
}