-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (74 loc) · 1.51 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
body{
background-image: url("https://images.unsplash.com/photo-1587923623987-c7e4083beb23?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTR8fHN1bnxlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=60");
background-size: cover;
background-repeat: no-repeat;
margin: 0;
}
#container{
display: flex;
flex-direction: column;
flex-wrap: wrap;
background-image: linear-gradient(rgba(233, 200, 200, 0.3), rgba(0, 0, 0, 0.6));
min-height: 100vh;
font-family: 'Roboto', sans-serif;
}
#header{
display: flex;
justify-content: center;
margin-top: 30px;
}
#input{
background-color: rgba(142, 127, 161, 0.3);
border-radius: 20px;
border: 3px solid #CDF3A2;
padding: 15px;
font-size: 20px;
}
#input:focus{
background-color: #fff;
}
#when-where, #now{
display: flex;
flex-direction: column;
align-items: center;
}
#city, #date, #temperature, #feelsLike, #conditions, #variation{
color: #fff;
}
#city{
font-size: 45px;
font-weight: bold;
}
#date{
font-size: 24px;
}
#temperature{
font-size: 110px;
font-weight: bold;
text-shadow: 5px 10px black;
margin: 0;
}
#feelsLike{
font-size: 30px;
font-weight: bold;
}
#conditions{
font-size: 32px;
font-weight: bold;
font-style: italic;
}
#variation{
font-size: 26px;
font-weight: bold;
}
@media all and (max-width: 500px){
#header{
margin-top: 20px;
}
#feelsLike, #conditions{
margin-bottom: 0;
}
#city{
margin: 30px;
}
}