-
Notifications
You must be signed in to change notification settings - Fork 5
/
style.css
101 lines (88 loc) · 1.87 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
html{
background-image: url(./weather.jpg);
background-repeat: no-repeat;
background-size: cover;
font-family: "Poppins", sans-serif;
}
.app{
display: flex;
flex-direction: column;
min-height: 100%;
width: 100%;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.3));
/* background-image: linear-gradient(to bottom, #ff0000, #0000ff, green); */
}
h1{
text-align: center;
text-transform: uppercase;
padding-top: 20px;
color: #ffffff;
}
header{
display: flex;
justify-content: center;
align-items: center;
padding: 20px 15px 15px;
margin-bottom: 35px;
}
header input{
width: 100%;
max-width: 280px;
padding: 10px 15px;
border: none;
outline: none;
border-radius: 16px 0px 16px 0px;
background-color: rgba(255, 255, 255, 0.5);
color: #313131;
font-size: 15px;
font-weight: 300;
transition: 0.3 ease-out;
}
header input:focus{
background-color: rgba(255, 255, 255, 1);
}
.search-button{
margin-left: 5px;
color: #313131;
border: none;
outline: none;
border-radius: 700px;
background-color: rgba(255, 255, 255, 0.5);
padding: 10px 15px;
}
.search-button:hover{
background-color: rgba(255, 255, 255, 1);
}
main{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 25px 25px 50px;
}
.location .city{
color: white;
font-size: 38px;
font-weight: 600;
margin-bottom: 5px;
}
.location .date{
color: white;
font-size: 25px;
}
.current .temp{
color: #fff;
font-size: 105px;
font-weight: 900;
text-shadow: 1px 4px rgba(0, 0, 0, 0.5);
}
.current .temp span{
font-weight: 500;
}
.current .weather{
color: #fff;
font-size: 38px;
font-weight: 600;
text-shadow: 0px 2px rgba(0, 0, 0, 0.3);
font-style: italic;
}