-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
111 lines (95 loc) · 1.7 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
/*
Animation inspired by Shark @ https://codepen.io/sharkers/full/jbEYgE
*/
html {
color: #fff;
font-family: 'Montserrat', sans-serif;
height: 100%;
}
body {
background: #242628;
margin: 10%;
}
footer {
margin: 10% 20%;
text-align: center;
}
h1 {
color: #fff;
text-align: center;
}
p {
color: #cecece;
font-size: 10px;
font-weight: 400;
letter-spacing: 4px;
margin: 20px 0 0;
text-align: center;
}
#box {
color: #fff;
font-size: 3em;
height: 100%;
letter-spacing: -0.045em;
margin: 4% auto;
text-align: center;
transition: all 0.2s ease;
}
.map-selection {
font-size: 1.5em;
text-align: center;
}
.button {
background-color: #E18000;
border-radius: 10px;
border: none;
display: inline;
font-size: 1.2rem;
margin: 10px;
padding: 5px 15px;
}
.city-box {
padding: 20px 0;
}
.city-name {
cursor: pointer;
opacity: 1;
padding: 5px;
position: relative;
transition: all 0.2s ease;
}
.animate {
animation: mov 0.12s infinite;
color: rgba(255, 255, 255, 0.2);
text-shadow: 0 4px 4px rgba(255, 255, 255, 0.2),
0 6px 6px rgba(255, 255, 255, 0.4), 0 8px 18px rgba(255, 255, 255, 0.8),
0 22px 18px rgba(255, 255, 255, 0.5), 0 -4px 4px rgba(255, 255, 255, 0.2),
0 -6px 6px rgba(255, 255, 255, 0.4), 0 -8px 18px rgba(255, 255, 255, 0.8),
0 -22px 18px rgba(255, 255, 255, 0.5);
top: 12px;
}
@keyframes in {
0% {
transform: translatey(-30px);
}
50% {
transform: translatey(-15px);
}
100% {
transform: translatey(0);
}
}
@keyframes mov {
0% {
opacity: 0;
transform: translatey(-30px);
}
50% {
opacity: 1;
transform: translatey(-15px);
}
100% {
opacity: 0;
transform: translatey(25px);
}
}