-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
194 lines (169 loc) · 3.28 KB
/
style.css
File metadata and controls
194 lines (169 loc) · 3.28 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/* Body Styles */
body {
font-family: 'Courier New', Courier, monospace;
margin: 0;
}
div,h1 {
margin: 40px;
}
h3 {
color: #db7093;
}
button {
font-size: 15px;
border-radius: 10px;
background-color: #ffbcd9;
padding: 6px;
}
button:hover {
background-color: #db7093;
padding: 12px;
}
/* Header */
header {
/* For color HTML hexadecimal codes, use https://html-color.codes/ */
background-color: rgba(251, 255, 0, 0.808);
padding: 2px 10px 12px 8px;
}
header > span {
margin-left: 30px;
margin-bottom: 12px;
}
/* Footer */
footer {
left: 0;
bottom: 0;
width: 100%;
background-color: rgba(251, 255, 0, 0.808);
color: rgb(19, 20, 99);
font-weight: 400;
text-align: center;
padding: 10px 0;
margin-top: 30px;
}
/* Ecosystem Alert */
form {
align-items: center;
margin: 30px;
}
#howmanyspecies {
background-color: rgb(36, 131, 12);
color: #fff;
padding: 10px;
margin: 30px;
}
li > img {
visibility: hidden;
}
/* Ecosystem Media */
.media img {
width: 350px;
display: inline-block;
border: 2px dotted #33101c;
margin: 7px 11px;
}
/* Species List */
#hidenseek {
border: 2px dotted rgb(90, 72, 138);
padding: 8px 20px;
background-color: rgba(82, 221, 47, 0.336);
}
#giraffe {
transform: skewX(20deg);
width: 100px;
transition-property: width;
transition-duration: 3s;
transition-timing-function: linear;
}
#giraffe:hover {
width: 150px;
}
#monkey {
animation-name: rotate;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
#sloth
{
position: relative;
animation-name: moveasabox;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-timing-function: ease-in;
}
.pspecies {
margin-top: 80px;
animation-name: transition;
animation-duration: 5s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
@keyframes moveasabox {
0% {
top: 0px;
left: 0px;
}
25% {
top: 0px;
left: 200px;
}
50% {
top: 100px;
left: 200px;
}
75% {
top: 100px;
left: 0px;
}
100% {
top: 0px;
left: 0px;
}
}
@keyframes transition {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Flashcards */
#flashcard-definition {
background-color: aquamarine;
padding: 1%;
width: 700px;
margin: 0 auto;
border-radius: 20px;
text-align: center;
}
#flashcard-term {
background-color: pink;
padding: 1%;
width: 150px;
border-radius: 15px;
align-items: center;
justify-content: center;
margin: 1% auto 0 auto;
text-align: center;
visibility: hidden;
}
.flashcard-btn {
margin: 2% auto 200px auto;
align-items: center;
justify-content: center;
font: 1em sans-serif;
display: flex;
}
.flashcard-btn button {
margin-left: 20px;
}