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 |
#wrapper {
min-width: 100%;
}
/* slider (base)
--------------------------------------------- */
.slideFrame {
overflow: hidden;
}
.slideCell {
display: block;
}
.slideGuide .slideCell {
float: left;
margin-right: 5px;
}
.slideGuide.up .slideCell, .slideGuide.down .slideCell {
float: none;
margin-right: 0;
margin-bottom: 10px;
}
/* controller */
.slideCtrl {
position: absolute;
background-color: #333;
background-color: rgba(255, 255, 255, 0.55);
color: #fff;
font-size: 12px;
font-weight: bold;
text-align: center;
}
.slideCtrl.left, .slideCtrl.right {
top: 0;
width: 90px;
height: 100%;
}
.slideCtrl.up, .slideCtrl.down {
left: 0;
width: 100%;
height: 60px;
font-size: 14px;
line-height: 60px;
}
.slideCtrl.left {
left: 0;
}
.slideCtrl.right {
right: 0;
}
.slideCtrl.up {
top: 0;
}
.slideCtrl.down {
bottom: 0;
}
/* slider-0
-------------------------------------------- */
#slider-0.slideFrame .slideCell {
width: 300px;
height: 420px;
padding: 20px;
}
/* slider-1
-------------------------------------------- */
#slider-1.slideFrame {
position: relative;
height: 164px;
margin-left: 220px;
margin-top: 10px;
}
#slider-1.slideFrame .slideCell {
height: 122px;
padding: 20px;
background-color: #000;
}
#slider-1.slideFrame .slideCell:hover {
background-color: #505050;
}
#slider-1.slideFrame .slideCtrl {
padding-top: 80px;
color: #000;
}
/* おまけ
-------------------------------------------- */
body {
background: -webkit-gradient(linear, 0% 50%, 220 50%, color-stop(100%, #000000), color-stop(100%, #303030));
background: -webkit-linear-gradient(left, #000000 220px, #303030 220px);
background: -moz-linear-gradient(left, #000000 220px, #303030 220px);
background: -o-linear-gradient(left, #000000 220px, #303030 220px);
background: linear-gradient(left, #000000 220px, #303030 220px);
}
section:before,
#slider-1.slideFrame:before {
content: "";
position: absolute;
margin-left: -2px;
width: 280px;
height: 100%;
background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #000000), color-stop(100%, rgba(0, 0, 0, 0)));
background: -webkit-linear-gradient(left, #000000, rgba(0, 0, 0, 0));
background: -moz-linear-gradient(left, #000000, rgba(0, 0, 0, 0));
background: -o-linear-gradient(left, #000000, rgba(0, 0, 0, 0));
background: linear-gradient(left, #000000, rgba(0, 0, 0, 0));
} |
#wrapper {
min-width: 100%;
}
/* slider (base)
--------------------------------------------- */
.slideFrame {
overflow: hidden;
}
.slideCell {
display: block;
}
.slideGuide .slideCell {
float: left;
margin-right: 5px;
}
.slideGuide.up .slideCell, .slideGuide.down .slideCell {
float: none;
margin-right: 0;
margin-bottom: 10px;
}
/* controller */
.slideCtrl {
position: absolute;
background-color: #333;
background-color: rgba(255, 255, 255, 0.55);
color: #fff;
font-size: 12px;
font-weight: bold;
text-align: center;
}
.slideCtrl.left, .slideCtrl.right {
top: 0;
width: 90px;
height: 100%;
}
.slideCtrl.up, .slideCtrl.down {
left: 0;
width: 100%;
height: 60px;
font-size: 14px;
line-height: 60px;
}
.slideCtrl.left {
left: 0;
}
.slideCtrl.right {
right: 0;
}
.slideCtrl.up {
top: 0;
}
.slideCtrl.down {
bottom: 0;
}
/* slider-0
-------------------------------------------- */
#slider-0.slideFrame .slideCell {
width: 500px;
height: 410px;
padding: 10px;
}
|