-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
130 lines (114 loc) · 2.35 KB
/
index.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
body{
background-color: #0a0f1a;
color: white;
font-family: 'Luckiest Guy';
}
img{
max-width: 100%;
display: block;
}
p{
margin: 0;
}
h2{
margin: 30px 0px 10px 0px;
}
h3{
text-align: center;
font-size: 30px;
}
h4{
font-size: 22px;
margin: 8px 0 5px 0;
}
.vbuck{
width: 20px;
height: 20px;
padding-right: 4px;
}
.itemBox{
display: flex;
justify-content: center;
align-items: flex-end;
}
#mainDiv{
text-align: center;
}
.container{
cursor: pointer;
width: 240px;
position: relative;
margin: 5px 2px;
display: inline-block;
white-space: nowrap;
overflow: hidden;
}
.itemInfo{
background: rgba(0,0,0,.3);
text-align: center;
position: absolute;
top: 178px;
width: 240px;
height:65px;
}
#name{
-moz-transform: translateX(100%);
-webkit-transform: translateX(100%);
transform: translateX(100%);
-moz-animation: my-animation 15s linear infinite;
-webkit-animation: my-animation 15s linear infinite;
animation: my-animation 10s linear infinite;
}
.rarity-gaming_legends,
.gaminglegends{
background: radial-gradient(#5447d4,#312497);
border: 3px solid #8078ff;
}
.icon{
background: radial-gradient(#36b7b7,#256b6b);
border: 3px solid #52e0e0;
}
.uncommon{
background: radial-gradient(#6abb1e,#175117);
border: 3px solid #88e339;
}
.rare{
background: radial-gradient(#2cc0ff,#143877);
border: 3px solid #37d0ff;
}
.epic{
background: radial-gradient(#c359ff,#4c2483);
border: 3px solid #ea5eff;
}
.legendary{
background: radial-gradient(#ea8d23,#78371d);
border: 3px solid #e98d4b;
}
.starwars{
background: radial-gradient(#1b366e,#081737);
border: 3px solid #e7c413;
}
.marvel{
background: radial-gradient(#c53333,#761b1b);
border: 3px solid #ef3537;
}
.dc{
background: radial-gradient(#5475c7,#243461);
border: 3px solid #6094ce;
}
@-webkit-keyframes my-animation {
from { -webkit-transform: translateX(100%); }
to { -webkit-transform: translateX(-100%); }
}
@keyframes my-animation {
from {
-moz-transform: translateX(100%);
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
to {
-moz-transform: translateX(-100%);
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
}