-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathslider.css
215 lines (199 loc) · 4.26 KB
/
slider.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
.slide-1{
width: 90%;
margin: 0 auto;
text-align: left
}
.slider{
z-index: 7;
}
.nr1{
font-size: 22px;
border-left: 4px solid rgb(255, 9, 9);
padding-left: 10px;
margin-top: 0;
}
@media only screen and (max-width: 600px){
.nr1{
display: block;
writing-mode: vertical-rl;
transform: rotate(270deg);
}
}
.nm1{
margin-top: 0px;
text-align: left;
font-size: 78px;
font-weight: bolder;
}
@media only screen and (max-width: 600px){
.nr1{
display: block;
writing-mode: vertical-rl;
transform: rotate(270deg);
}
.nm1{
font-size: 36px;
}
}
.info p{
display: inline;
padding: 5px;
}
.progress-circle {
font-size: 10px;
font-weight: bold;
position: relative; /* so that children can be absolutely positioned */
padding: 0;
margin-bottom: 20px;
width: 5em;
height: 5em;
background-color: #F2E9E1;
border-radius: 50%;
line-height: 5em;
float: left;
}
.progress-circle:after{
border: none;
position: absolute;
top: 0.35em;
left: 0.35em;
text-align: center;
display: block;
border-radius: 50%;
width: 4.3em;
height: 4.3em;
background-color: white;
content: " ";
}
/* Text inside the control */
.progress-circle span {
position: absolute;
line-height: 5em;
width: 5em;
text-align: center;
display: block;
color: rgb(226, 10, 10);
z-index: 2;
}
.left-half-clipper {
/* a round circle */
border-radius: 50%;
width: 5em;
height: 5em;
position: absolute; /* needed for clipping */
clip: rect(0, 5em, 5em, 2.5em); /* clips the whole left half*/
}
/* when p>50, don't clip left half*/
.progress-circle.over50 .left-half-clipper {
clip: rect(auto,auto,auto,auto);
}
.value-bar {
/*This is an overlayed square, that is made round with the border radius,
then it is cut to display only the left half, then rotated clockwise
to escape the outer clipping path.*/
position: absolute; /*needed for clipping*/
clip: rect(0, 2.5em, 5em, 0);
width: 5em;
height: 5em;
border-radius: 50%;
border: 0.45em solid rgb(255, 1, 1); /*The border is 0.35 but making it larger removes visual artifacts */
/*background-color: #4D642D;*/ /* for debug */
box-sizing: border-box;
}
/* Progress bar filling the whole right half for values above 50% */
.progress-circle.over50 .first50-bar {
/*Progress bar for the first 50%, filling the whole right half*/
position: absolute; /*needed for clipping*/
clip: rect(0, 5em, 5em, 2.5em);
background-color: rgb(255, 0, 0);
border-radius: 50%;
width: 5em;
height: 5em;
}
.imdb{
background-color: gold;
color: black;
margin-left: 10px;
font-size: 16px;
padding: 0 10px 0 10px;
font-weight: bold;
}
.year{
font-weight: bold;
margin-left: 20px;
font-size: 18px;
}
.time{
font-weight: bold;
margin-left: 20px;
font-size: 18px;
}
.genre{
font-weight: bold;
margin-left: 20px;
font-size: 18px;
color: red;
}
.para-details{
display: block;
}
.details{
max-width: 600px;
float: left;
font-size: 26px;
line-height: 30px;
margin-top: 3%;
margin-left: -80px;
font-weight: 500;
}
@media only screen and (max-width: 600px){
.nr1{
display: block;
writing-mode: vertical-rl;
transform: rotate(270deg);
}
.nm1{
font-size: 36px;
}
.imdb{
font-size: 14px;
}
.info{
font-size: 16px;
}
.details{
margin-left: 0;
}
}
.button{
background-color: rgb(255, 11, 11); /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
border: none;
outline: none;
cursor: pointer;
transition: 0.3s;
font-weight: bold;
text-transform: uppercase;
border: 2px solid rgb(255, 11, 11);
}
.button-main{
display: block;
margin: 37px;
}
.button:hover{
background: transparent;
}
#bg{
max-width: 300px;
max-height: 450px;
float: right;
}
#bg img{
width: 100%;
top: 0px;
}