forked from dongyingzi/google
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slideshow.css
72 lines (60 loc) · 1.02 KB
/
slideshow.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
html {
font-size: 75%;
}
body {
font-family: arial, helvetica, sans-serif;
line-height: 1.4em;
font-size: 1.2em;
padding: 5%;
}
#slideshow {
width: 960px;
background-color: #eee;
border: 1px solid #ddd;
}
#slideshow ul {
margin: 0;
padding: 0;
list-style-type: none;
height: 1%;
}
#slideshow ul:after {
content: " ";
display: table;
clear: both;
}
#slideshow .slides {
overflow: hidden;
width: 960px;
}
#slideshow .slides ul {
width: 2880px;
}
#slideshow .slides li {
width: 920px;
float: left;
padding: 20px;
}
#slideshow .slides h2 {
margin-top: 0;
}
#slideshow .slides-nav {
background-color: #ddd;
border-top: 2px solid #ccc;
}
#slideshow .slides-nav li {
float: left;
}
#slideshow .slides-nav li a {
display: block;
padding: 15px 20px;
outline: none;
}
#slideshow .slides-nav li.on,
#slideshow .slides-nav li.on a {
background-color: #eee;
}
#slideshow .slides-nav li.on a {
position: relative;
top: -4px;
}