-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (71 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
*, ::before, ::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Roboto, Helvetica, sans-serif;
background: linear-gradient(to right, #1e48aa, #81a9fc);
padding: 0 10px;
}
main {
max-width: 375px;
min-height: 380px;
margin: 100px auto 0;
border-radius: 10px;
padding: 30px 10px;
color: #212121;
background-color: #f1f1f1;
box-shadow: 0 5px 5px rgba(0,0,0,0.3);
text-align: center;
position: relative;
}
.loader-container {
background-color: #f1f1f1;
position: absolute;
z-index: 10;
top: 0;
left: 0;
border-radius: 10px;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
visibility: hidden;
opacity: 0;
transition: visibility 0.4s ease-out, opacity 0.4s ease-out;
}
.loader-container.active {
visibility: visible;
opacity: 1;
}
.city-name {
font-family: Lato, sans-serif;
font-size: 50px;
color: #333;
}
.country-name {
font-size: 24px;
margin-bottom: 45px;
color: #606060;
}
.temperature {
font-family: Lato, sans-serif;
font-size: 70px;
font-weight: 700;
color: #212121;
}
.info-icon-container {
width: 100px;
height: 100px;
margin: 0 auto;
position: relative;
}
.info-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
}