-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.css
117 lines (100 loc) · 2.5 KB
/
main.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
112
113
114
115
116
117
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 10px;
}
body {
font-family: 'montserrat', sans-serif;
font-size: 1.5rem;
background: radial-gradient(ellipse farthest-side at 76% 77%, rgba(245, 228, 212, 0.25) 4%, rgba(255, 255, 255, 0) calc(4% + 1px)), radial-gradient(circle at 76% 40%, #fef6ec 4%, rgba(255, 255, 255, 0) 4.18%), linear-gradient(135deg, #ff0000 0%, #000036 100%), radial-gradient(ellipse at 28% 0%, #ffcfac 0%, rgba(98, 149, 144, 0.5) 100%), linear-gradient(180deg, #cd6e8a 0%, #f5eab0 69%, #d6c8a2 70%, #a2758d 100%);
background-blend-mode: normal, normal, screen, overlay, normal;
}
.app-wrap {
display: flex;
flex-direction: column;
min-height: 100vh;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}
header {
display: flex;
flex-flow: column wrap;
justify-content: center;
align-items: center;
padding: 5rem 1.5rem 1.5rem;
}
header input {
width: 100%;
max-width: 28rem;
padding: 1rem 1.5rem;
border: none;
outline: none;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 1.6rem 0px 1.6rem 0px;
border-bottom: 0.3rem solid #DF8E00;
color: #313131;
font-size: 2rem;
font-weight: 300;
text-align: center;
transition: 0.2s ease-out;
}
header input:focus {
background-color: rgba(255, 255, 255, 0.6);
}
header .alert {
margin-top: 0.3rem;
font-size: 1.2rem;
color: #fff;
}
main {
flex: 1 1 100%;
padding: 2.5rem 2.5rem 5rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.location .city {
color: #FFF;
font-size: 3.2rem;
font-weight: 500;
margin-bottom: 0.5rem;
}
.location .date {
color: #FFF;
font-size: 1.6rem;
}
.current .temp {
color: #FFF;
font-size: 10rem;
font-weight: 900;
margin: 3rem 0rem;
text-shadow: 0.2rem 1rem rgba(0, 0, 0, 0.6);
}
.current .temp span {
font-weight: 500;
}
.current .weather {
color: #FFF;
font-size: 3.2rem;
font-weight: 700;
font-style: italic;
margin-bottom: 1.5rem;
text-shadow: 0px 3px rgba(0, 0, 0, 0.4);
}
.current .hi-low {
color: #FFF;
font-size: 2.4rem;
font-weight: 500;
text-shadow: 0px 0.4rem rgba(0, 0, 0, 0.4);
}
footer {
text-align: center;
padding: 1rem;
}
footer a {
color: #C02942;
text-decoration: none;
}