-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.css
65 lines (63 loc) · 1.32 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: #fff;
background-image: url(./background.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
height: 100vh;
}
.app{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background-color: rgba(0,0,0,.6);
height: 100vh;
}
.header{
padding: 50px 20px 30px 20px;
}
.header h1{
font-size: 3rem;
color: orange;
padding-bottom: 20px;
text-shadow: 1px 3px rgba(0,0,0,.6);
}
.header input {
width: 100%;
padding: 10px;
background-color: transparent;
border: 0;
outline: 0;
border-bottom: 1px solid orange;
font-size: 1rem;
text-align: center;
color: #fff;
}
.city{
font-size: 2rem;
font-weight: 500;
margin-bottom: 10px;
text-shadow: 1px 4px rgba(0,0,0,.6);
}
.temp{
font-size: 4rem;
margin-bottom: 10px;
text-shadow: 1px 4px rgba(0,0,0,.6);
}
.desc{
font-size: 1rem;
margin-bottom: 10px;
text-shadow: 1px 4px rgba(0,0,0,.6);
}
.minmax{
font-size: 1.5rem;
margin-bottom: 10px;
text-shadow: 1px 4px rgba(0,0,0,.6);
}