/
style.css
101 lines (83 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
90
91
92
93
94
95
96
97
98
99
100
*{
margin: 0%;
padding: 0;
}
.container{
width: 100%;
height: 100vh;
background-image: url(weather\ assets/blue1.jpeg) ;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
font-size: larger;
font-weight: 800;
}
.weather{
z-index: 2;
display: flex;
align-items: center;
color: lightblue;
}
.weather > div {
margin: 0.625rem;
}
.weather1 {
font-size: 4rem;
}
.weather p {
font-size: 2rem;
}
.weather span {
font-size: 1rem;
}
.weather3 span {
font-size: 0.5rem;
}
.weather3 img {
width: 2rem;
}
nav {
height: 100px;
padding: 1rem 0;
background-image: url(weather\ assets/R.jpeg);
position: absolute;
bottom: 0%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
nav form{
width: 70%;
display: grid;
grid-template-columns: 5fr 1fr;
}
.searchField {
font-size: 1.1rem;
outline: none;
color: white;
background-color: transparent;
padding: 0.6rem 0;
border: none;
border-bottom: 2px solid white;
width: 98%;
}
.searchField:hover{
border-bottom: 2px solid rgb(0, 102, 204);
}
nav form button {
background-color: white;
border-radius: 2rem;
border: none;
outline: none;
color: black;
cursor: pointer;
transition: all 0.25s ease;
}
nav form button:hover{
background-color: rgb(0, 102, 204);
color: white;
}