-
Notifications
You must be signed in to change notification settings - Fork 0
/
Style.css
113 lines (90 loc) · 1.81 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
102
103
104
105
106
107
108
109
110
111
112
113
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
margin: 0;
padding: 0;
font-family: Roboto;
}
.container {
background-color: black;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
/* margin: 1rem; */
}
.container {
background-image: url("https://cdn.trendhunterstatic.com/phpthumbnails/380/380171/380171_1_800.jpeg?auto=webp");
background-repeat: no-repeat;
background-size: cover;
opacity: 0.6;
/* position: absolute; */
}
.weather {
z-index: 2;
height: 30vh;
/* padding: 2rem; */
color: white;
/* background-color: white; */
display: flex;
align-items: center;
border-radius: 1rem;
}
.weather>div {
margin: 0.74rem;
}
.weather1 {
font-size: 4rem;
}
.weather3 img {
width: 2rem;
}
.weather p {
font-size: 2rem;
}
.weather span {
font-size: 0.75rem;
}
nav {
/* background-color:blue; */
height: 100px;
border-radius: 100px 100px 0 0;
box-shadow: 0 0 25px rgba(145, 134, 135, 0.18);
position: absolute;
bottom: 0%;
width: 100%;
background-color: rgba(41, 41, 41, 0.7);
display: flex;
justify-content: center;
align-items: center;
}
nav form {
width: 70%;
/* background-color: white; */
color: white;
display: grid;
grid-template-columns: 5fr 1fr;
}
.searchField {
font-size: 1.1rem;
outline: none;
width: 98%;
color: white;
/* background-color: yellow; */
background: none;
padding: 1rem 0;
border: none;
border-bottom: 2px solid white;
}
.btn {
border-radius: 10px;
outline: none;
background-color:orange;
color: white;
font-size: 1.1rem;
border: none;
cursor: pointer;
}
.btn:hover{
background-color: black;
}