-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (95 loc) · 1.8 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (95 loc) · 1.8 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
body {
font-family: Georgia, 'Times New Roman', Times, serif;
background: linear-gradient(to bottom, #04033f, #051499, #7e10be ,#ec6d3b, orange);
color: white;
text-align: center;
padding: 13rem;
}
input, select, button {
padding: 0.5rem;
margin: 0.5rem;
border-radius: 8px;
border: none;
font-size: 1rem;
}
button {
background-color: #0a9421;
color: white;
cursor: pointer;
}
.resultado {
margin-top: 2rem;
padding: 1rem;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 12px;
font-size: 1.5rem;
width: 850px;
justify-items: center;
justify-self: center;
font-family: Georgia, 'Times New Roman', Times, serif;
}
#heroi {
position: fixed;
bottom: 10px;
left: 0;
height: 110px;
animation: correr 7s linear infinite;
z-index: 1;
}
@keyframes correr {
0% {
left: -50px;
}
100% {
left: 100%;
}
}
#grama {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 64px; /* altura do GIF */
background-image: url('src/grass.gif');
background-repeat: repeat-x;
background-size: auto 100%;
z-index: 0;
}
#star {
position: absolute;
top: 50px;
right: 10px;
z-index: 2;
animation: starAnimation 9s linear infinite;
}
@keyframes starAnimation {
0% {
right: -10px;
}
100% {
right: 100%;
}
}
#cloud1 {
position: absolute;
top: 5px;
animation: cloudAnimation 15s linear infinite;
}
@keyframes cloudAnimation {
0% {
right: -10px;
}
100% {
right: 100%;
}
}
#cloud2 {
position: absolute;
top: 100px;
animation: cloudAnimation 25s linear infinite;
}
#cloud3 {
position: absolute;
top: 150px;
animation: cloudAnimation 20s linear infinite;
}