-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (72 loc) · 1.14 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
* {
box-sizing: border-box;
}
body,
ul,
li {
margin: 0;
padding: 0;
}
body {
background-color: #000000;
}
a {
text-decoration: none;
}
#picsCarousel {
position: relative;
margin: 0 auto;
border: 3px solid #000000;
height: 555px;
width: 805px;
overflow: hidden;
}
#picsCarousel img {
height: 550px;
width: 800px;
}
#picsCarousel ul {
width: 4000px;
margin-left: -800px;
}
#picsCarousel li {
float: left;
list-style-type: none;
}
.carousel-control {
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
top: 0;
bottom: 0;
width: 15%;
font-size: 2rem;
color: #fff;
text-align: center;
opacity: 0.5;
}
.carousel-control:focus,
.carousel-control:hover {
/* color: #fff; */
/* text-decoration: none; */
/* filter: alpha(opacity=90); */
/* outline: 0; */
opacity: 1;
}
.carousel-control.left {
left: 0;
background-image: linear-gradient(
to right,
rgba(0, 0, 0, 0.5) 0,
rgba(0, 0, 0, 0.0001) 100%
);
}
.carousel-control.right {
right: 0;
background-image: linear-gradient(
to right,
rgba(0, 0, 0, 0.0001) 0,
rgba(0, 0, 0, 0.5) 100%
);
}