-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (87 loc) · 1.31 KB
/
style.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
@keyframes shake {
0% {
transform: rotate(0deg);
}
20% {
transform: rotate(10deg);
}
40% {
transform: rotate(-10deg);
}
60% {
transform: rotate(5deg);
}
80% {
transform: rotate(-5deg);
}
100% {
transform: rotate(0deg);
}
}
.tree {
width: 200px;
height: 200px;
}
.tree:hover {
animation: shake 0.5s;
transition: 0.5s;
}
body {
font-family: "Roboto", sans-serif;
font-size: 16px;
line-height: 1.5;
color: white;
background-color: rgb(45, 117, 45);
margin: 0;
padding: 0;
}
* {
padding: 0;
margin: 0;
}
h1 {
margin: 0 auto;
text-align: center;
font-size: 2.5rem;
font-weight: 700;
padding: 20px;
}
h2 {
margin: 0 auto;
text-align: center;
font-size: 2rem;
font-weight: 700;
}
p {
font-size: 1.2rem;
font-weight: 400;
padding: 20px;
margin: 0 auto;
max-width: 1000px;
}
.scene {
height: 100vh;
width: 100%;
position: relative;
}
.intro-forest {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
margin: 0 auto;
max-width: 1000px;
bottom: 100px;
}
#scene1 {
background-color: rgb(43, 159, 43);
}
#scene2 {
background-color: rgb(23, 133, 23);
}
#scene3 {
background-color: rgb(16, 113, 16);
}
#scene4 {
background-color: rgb(8, 96, 8);
}/*# sourceMappingURL=style.css.map */