/
main.css
93 lines (92 loc) · 1.64 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
{
margin:0;
padding:0;
box-sizing:border-box;
}
body {
font-family:'monserrat, sans-serif;
background-color:white;
background-image:url("bg.jpg");
background-size:cover;
background-position:top-center;
}
.app-wrap {
display:flex;
flex-direction:column;
min-height:100px;
background-image:linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0.6));
}
header {
display:flex;
justify-content:center;
align-items:center;
padding:50px 150x 15px;
}
header input {
width:100px;
max-width:200px;
padding:10px 15px;
border:none;
outline:none;
background-color:rgba(255, 255, 255, 0.3)
border-radius:15px 8px 15px 0px;
border-bottom:3px solid orange;
color:purple;
font-size:20px;
font-weight:300;
transition:0.2s caseout;
}
header input:focus {
background-color:rgba(255,255,255,0.6);
}
main {
flex:1 1 100;
padding:25px 25px 50px;
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}
.city {
color:white;
font-size:32px;
font-weight:100;
margin-bottom:5px;
}
.weather {
color:white;
font-size:32px;
font-weight:700;
margin-bottom:15px;
font-style:italic;
text-shadow:0px 3px rgba(0,0,0,0.4);
}
.temp {
color:white;
font-size:262px;
font-weight:700;
margin:30px 6px;
text-shadow:2px 10px rgba(0,0,0,0.6);
}
.temp span {
font-weight:700px;
}
.hi-lav {
color:white;
font-size:32px;
font-weight:100;
margin-bottom:5px;
text-shadow:0px 3px rgba(0,0,0,0.4);
}
.current {
color:white;
font-size:32px;
font-weight:100;
margin-bottom:5px;
}
.date {
color:white;
font-size:32px;
font-weight:100;
margin-bottom:5px;
}