-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (84 loc) · 1.67 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
address{
color: blueviolet;
border: 2px solid tomato;
margin: 10px;
}
h1{
margin: 20;
padding: 10px;
}
a:link, a:visited {
background-color: #f44336;
color: white;
padding: 15px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
border-left: 2px solid black;
}
a:hover, a:active {
background-color: red;
}
#one{
background-color: transparent;
padding: 0px;
border: transparent;
color: #f44336;
}
#top{
background-color: rgb(8, 43, 107);
padding: 10px 15px;
border: 2 px solid wheat;
color: #f44336;
margin-left: 50%;
}
.slider {
position: relative;
width: 800px;
height: 700px;
display: flex; /* add these lines */
margin-left: auto; /* to center align the image horizontally */
margin-right: auto;
/* border: 2px solid black; */
/* transition: opacity 1s ease-in-out; */
opacity: 1;
}
.slider img.active {
opacity: 0;
}
.slider img {
max-width: 75%;
max-height: 75%;
object-fit: contain;
transition: opacity 0.5s ease-in-out;
align-self: center; /* add this line to center align the image vertically */
}
.slider button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
cursor: pointer;
}
.slider button.prev {
left: 50px;
color: antiquewhite;
font-size: 36px;
}
.slider button.next {
right: 50px;
color:aliceblue;
font-size: 36px;
}
#vid{
width: 15%;
height: 15%;
object-fit: cover;
padding: 0;
margin-left: 43%;
filter: brightness(100%);
filter: contrast(100%);
filter: drop-shadow(10px 10px 10px rgb(0, 0, 0));
border: 2 px solid midnightblue;
}