-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (109 loc) · 2.35 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
114
115
116
117
118
119
120
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.card{
font-family: 'Raleway', sans-serif;;
height:100vh;
width: 100%;
background: linear-gradient(135deg,#00feba,#5b548a);
text-align: center;
}
.search{
width: 75rem;
margin: auto;
}
.search input{
border-radius: 20rem;
font-size: 18px;
padding: 5px;
text-align: center;
border: none;
margin-top: 5rem;
box-shadow: 5px 5px 5px black;
outline: none;
height: 3.5rem;
width: 25rem;
}
.searchbtn{
border-radius: 70%;
padding: 6px;
border: none;
box-shadow: 2px 3px 3px black;
cursor: pointer;
height: 3rem;
width: 5rem;
}
.searchbtn img{
width: 20px;
}
.weather{
/* border: 3px solid red; */
margin: 5rem;
}
.weather img{
width:5rem;
}
h1{
margin: 1rem 0px;
color: white;
padding: 6px;
}
h1:hover{
text-shadow: 1px 2px 3px black;
}
.additionalinfo{
display: flex;
justify-content: space-evenly;
}
.humidpercent{
position: absolute;
margin-top: -0.rem;
font-weight: 900;
font-size: x-large;
margin-left: 10px;
color:white;
}
.speedvalue{
position: absolute;
margin-top: -0.rem;
font-weight: 900;
font-size: x-large;
margin-left: 10px;
color:white;
}
p{
position: absolute;
margin: -1.5rem 4.5rem;
font-weight: 700;
font-size:large ;
color: white;
}
span:hover,p:hover{
text-shadow: 1px 1px 2px black;
}
.location{
position: flex;
width: 20vw;
}
.location img{
width:2.5rem;
filter: invert(10%);
margin-top: 5px;
}
.citylocation{
position: absolute;
top:1 rem;
left:3.5 rem;
color: white;
font-weight: 900;
font-size: large;
width:10rem;
height:1.5rem;
text-align: left;
}
.imagediv{
/* border: 3px solid green; */
width: 3.5rem;
}