This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
/
style.css
117 lines (103 loc) · 2.33 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
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
117
/*
~ Copyright 2013-2014 Nadeem Sultan.
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see http://www.gnu.org/licenses/.
*/
body{
background: #528036;
}
#container{
width: 1024px;
position: relative;
margin: auto;
}
#slider{
overflow: scroll;
overflow-y: hidden;
width: 980px;
height: 110px;
padding-left: 8px;
padding-right: 8px;
position: relative;
}
#slider li{
float: left;
padding-left: 8px;
padding-right: 8px;
}
#slider ul{
list-style: none;
width: 2100px;
padding: 0;
margin: 0;
}
#left-arrow{
float: left;
font-size: 20px;
color: #000;
opacity: 0;
position: relative;
left: -12px;
top: -190px;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
#right-arrow{
float: right;
font-size: 20px;
color: #000;
position: relative;
top: -190px;
left: 12px;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
#left-arrow:hover , #right-arrow:hover{
cursor: pointer;
color: #BFF200;
}
#slider img{
position: relative;
width: 180px;
height: 110px;
border: none;
/*-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;*/
}
#slider div{
width: 170px;
height: 90px;
padding-top: 30px;
padding-left: 5px;
padding-right: 5px;
background: #303030;
opacity: .8;
position: relative;
color: #BFF200;
font-family: 'Arial';
font-size: 20px;
text-align: center;
-webkit-box-shadow: inset 0px 0px 50px black;
-moz-box-shadow: inset 0px 0px 50px black;
box-shadow: inset 0px 0px 50px black;
/*-webkit-transition: all .4s ease-in-out;
-moz-transition: all .4s ease-in-out;
transition: all .4s ease-in-out;*/
}
#slider a{
text-decoration: none;
}