-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslider.css
More file actions
139 lines (124 loc) · 2.03 KB
/
slider.css
File metadata and controls
139 lines (124 loc) · 2.03 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.post_detailcontainer{
margin-top: 6rem !important;
}
.container2 {
margin: 0 auto;
padding: 20px;
}
button {
position: relative;
display: inline-block;
cursor: pointer;
outline: 0 !important;
border-style: none;
vertical-align: middle;
text-decoration: none;
padding: 20px 15px;
color: #3c376f;
font-size: 2rem;
background: none;
border: none;
}
.ptag{
margin-top: 13px;
text-align: center;
font-family: 400;
opacity: 25%;
animation: fadeImg 0.8s;
}
button span {
position: relative;
display: inline-block;
transform: translateX(0);
transition: transform 0.3s ease;
}
.slider2-nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.slider2-nav li {
display: flex;
flex: 2;
text-align: center;
}
.img {
max-width: 100%;
display: none;
box-shadow: 10px 10px 20px 0 rgba(94,47,59,0.2);
}
.img.active {
display: block;
animation: fadeImg 0.8s;
}
.slider2-nav .arrow2 {
flex: 0 0 5%;
}
.slider2-nav .arrow3 {
flex: 0 0 5%;
}
.slider2-nav .arrow2:hover {
opacity: 15%;
}
.slider2-nav .arrow3:hover {
opacity: 15%;
}
.arrow {
border: solid rgb(204, 196, 196);
border-width: 0 3px 3px 0;
display: inline-block;
padding: 15px;
width: 10px;
}
.right {
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}
.left {
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
}
.slider2-nav a {
flex-basis: 100%;
display: flex;
align-items: center;
}
.slider2-nav span {
display: block;
width: 100%;
}
@keyframes fadeImg {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media only screen and (max-width:850px){
.post_detailcontainer{
margin-top: 4rem !important;
}
.container2 {
margin: 0 auto;
padding: 7px;
width: 100%;
}
button {
padding: 1px 0px;
}
.ptag{
margin-top: 5px;
}
.arrow {
padding: 5px;
margin: 0px;
}
.img:hover {
-ms-transform: scale(1.3); /* IE 9 */
-webkit-transform: scale(1.3); /* Safari 3-8 */
transform: scale(1.3);
}
}