-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (88 loc) · 1.82 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: skyblue;
width: 100vw;
height: 100vh;
}
.wrapper {
max-width: 300px;
width: 100%;
height: auto;
display: flex;
align-items: center;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 16px;
box-shadow: 1px 1px 1px 0 rgba(255, 255, 255, 0.5), 8px 8px 16px 0 rgba(0, 0, 0, 0.3), -8px -8px 16px 0 rgba(255, 255, 255, 0.3);
overflow-x: hidden;
}
.wrapper .image-container {
height: 100%;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.wrapper .image-container .carousel {
height: 100%;
width: 100%;
transition: all 0.3s ease;
display: flex;
}
.wrapper .image-container .carousel img {
height: 300px;
width: 300px;
}
.wrapper .page-btn-group {
position: absolute;
display: flex;
align-items: center;
list-style: none;
left: 50%;
transform: translateX(-50%);
bottom: 8px;
}
.wrapper .page-btn-group .page-btn {
width: 8px;
height: 8px;
background: rgba(0, 0, 0, 0.15);
border-radius: 50%;
margin: 6px;
cursor: pointer;
}
.wrapper .page-btn-group .page-btn:hover {
background: rgba(0, 0, 0, 0.35);
}
.wrapper .page-btn-group .page-btn:active,
.wrapper .page-btn-group .page-btn :focus {
background: rgb(0, 136, 255);
}
.wrapper .page-btn-group .page-btn-active {
background: rgb(0, 136, 255);
}
.wrapper .btn {
position: absolute;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.wrapper .btn i {
background: rgba(0, 0, 0, 0.05);
padding: 20px 8px;
color: rgb(0, 136, 255);
cursor: pointer;
}
.wrapper .btn i:hover {
background: rgba(0, 0, 0, 0.15);
}
.wrapper .btn i:active {
background: rgba(0, 0, 0, 0.3);
color: rgb(0, 76, 143);
}/*# sourceMappingURL=style.css.map */