-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (90 loc) · 1.84 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
100
101
102
103
104
105
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'montserrat', sans-serif;
background-color: #1c1d1f;
background-size: cover;
background-position: top center;
}
.app-wrap {
display: flex;
flex-direction: column;
min-height: 100vh;
background-image: linear-gradient(to bottom, #f2f2f2);
}
header {
display: flex;
justify-content: center;
align-items: center;
padding: 50px 15px 15px;
}
header input {
width: 100%;
max-width: 280px;
padding: 10px 15px;
border: none;
outline: none;
background-color: #f1f1f1;
border-radius: 16px 0px 16px 0px;
border-bottom: 3px solid black;
color: #000000;
font-size: 20px;
font-weight: 300;
transition: 0.2s ease-out;
}
header input:focus {
background-color: #f2f2f2;
}
main {
flex: 1 1 100%;
padding: 25px 25px 50px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.location .city {
color: #f2f2f2;
font-size: 32px;
font-weight: 500;
margin-bottom: 5px;
}
.location .date {
color: #f2f2f2;
font-size: 16px;
}
.weather-icon{
width: 200px;
height: 128px;
}
.weather-icon img{
display: block;
margin: 0 auto;
}
.statistic .temp {
color: #f2f2f2;
font-size: 102px;
font-weight: 900;
margin: 30px 0px;
text-shadow: 2px 10px rgba(0, 0, 0, 0.6);
}
.statistic .temp span {
font-weight: 500;
}
.statistic .weather {
color: #f2f2f2;
font-size: 32px;
font-weight: 700;
font-style: italic;
margin-bottom: 15px;
text-shadow: 0px 3px rgba(0, 0, 0, 0.4);
}
.statistic .hi-low {
color: #f2f2f2;
font-size: 24px;
font-weight: 500;
text-shadow: 0px 4px rgba(0, 0, 0, 0.4);
}