-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrankingpage.css
123 lines (117 loc) · 2.13 KB
/
rankingpage.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
/* *{
outline: #222 solid 1px;
} */
.rankingContainer{
margin: auto;
text-align: center;
}
.rankingItem{
width: 80vw;
margin:5% auto;
transition: .5s;
border: #ffcd3c 1px solid;
border-radius: 5px;
background-color: rgba(256,256,256,0.6);
}
.rankingItem:hover{
background-color: #fff;
transform: translateX(-3px);
box-shadow: #bbb 5px 5px 10px;
}
.rankingItem:hover .rankingnum{
color: #e99400;
}
.rankingItem:hover .movieName{
color: #e99400;
}
.rankingnum{
margin: 10px 0;
font-size:30px;
font-weight: bold;
color: #222222;
transition: 0.5s;
}
.movieName{
font-size: 24px;
font-weight: bold;
color: #222222;
transition: 0.5s;
margin: 10px 0;
}
.movie_img{
width: 50vw;
vertical-align: middle;
}
.rankingIcon-wrap{
margin: 20px 0;
padding: 10px 0;
}
.rankingIcon{
vertical-align: middle;
display: inline-block;
}
.rankingIcon>span{
font-size: 20px;
}
.icon{
width: 20px;
height: 20px;
position: relative;
bottom: -5px;
}
@media screen and (min-width:768px){
.rankingItem{
vertical-align: middle;
position: relative;
display: flex;
justify-content:space-between;
align-items: center;
}
.rankingnum{
display: inline-block;
font-size: 45px;
margin: 10px 100px;
}
.movieName-wrap{
display: inline-block;
flex-grow: 1;
}
.movieName{
border-right: #e99400 2px solid;
}
.rankingIcon-wrap{
display: inline-block;
margin: 20px;
}
.movie_img{
width: 10vw;
}
}
@media screen and (min-width:1200px){
.rankingContainer{
max-width:1200px;
}
.rankingItem{
max-width:1200px;
}
}
/* morebutton */
.morebutton{
width: 100px;
margin: 30px auto;
text-align: center;
padding: 10px 0;
display: block;
border: 2px solid #ffcd3c;
background-color: #fff;
font-size: 16px;
cursor: pointer;
outline: none;
color: #222222;
-webkit-appearance: none;
-moz-appearance:none;
}
.morebutton:hover{
border:#e99400 2px solid;
color: #e99400;
}