-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcat.css
109 lines (94 loc) · 2.89 KB
/
cat.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
html {
background: #0c0207;
}
#marco {
width: 100%;
height: auto;
position: relative;
margin: 0 auto;
overflow: hidden;
border-radius: 16px;
margin-top: 8em;
}
#cielo {
border-radius: 16px;
width: auto;
height: auto;
background: linear-gradient(to bottom, #0B4C5F 0%,#04B4AE 52%,#0c0207 100%);
position: absolute;
z-index: -30;
top: 0;
margin-top: 2em;
}
#edificios {
background: url('https://res.cloudinary.com/pastelitos/image/upload/v1610526533/eva/edificiosOne_fsg7nx.svg');
height: 1000px;
width: 480px;
z-index: -10;
top: -2.5em;
background-position: 0px 0px;
background-repeat: repeat-x;
animation: animar_edificios 120s linear infinite;
-webkit-animation: animar_edificios 120s linear infinite;
-ms-animation: animar_edificios 120s linear infinite;
-moz-animation: animar_edificios 120s linear infinite;
position: absolute;
}
/* Animacion edificios */
@keyframes animar_edificios {
from { background-position: 0 0; }
to { background-position: 100% 0; }
}
@-webkit-keyframes animar_edificios {
from { background-position: 0 0; }
to { background-position: 100% 0; }
}
@-ms-keyframes animar_edificios {
from { background-position: 0 0; }
to { background-position: 100% 0; }
}
@-moz-keyframes animar_edificios {
from { background-position: 0 0; }
to { background-position: 100% 0; }
}
#luna {
width: 6em;
height: 6em;
border-radius: 50%;
box-shadow: 30px 10px 0 #F7F8E0;
margin-top: 1em;
margin-left: 50%;
position: absolute;
z-index: -19;
}
#muro {
height: 15em;
width: auto;
background: linear-gradient(to bottom, #416663 0%,#0c0207 19%);
bottom: 0px;
}
#gato {
background: url('./gatito_pushui_scaled.svg');
top: 1.5em;
margin-top: 6.6em;
height: 160px; /* Half the original height */
width: 260px; /* Half the original width */
z-index: 5;
animation: sprite-animation 1.2s steps(16, end) infinite;
}
@-webkit-keyframes sprite-animation {
from { background-position: 0 0; }
to { background-position: -8120px 0; }
}
@-ms-keyframes sprite-animation {
from { background-position: 0 0; }
to { background-position: -8120px 0; }
}
@-moz-keyframes sprite-animation {
from { background-position: 0 0; }
to { background-position: -8120px 0; }
}
@keyframes sprite-animation {
from { background-position: 0 0; }
to { background-position: -8120px 0; }
}