-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile1.css
122 lines (110 loc) · 2.21 KB
/
mobile1.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
121
122
* {
margin: 0;
padding: 0;
box-sizing: border-box;
overflow: hidden;
font-family: sans-serif;
}
body{
background: linear-gradient(to left,rgba(28, 167, 202, 0.836) 60%, #ffffff);
height: 100vh;
color: white;
margin-top: 20px;
margin-left: 10px;
padding: 20px;
width: 100vw;
}
img{
width: 150px;
height: 150px;
}
input{
background-image: url('/search-black-18dp.svg');
background-position: 20px 12px;
background-repeat: no-repeat;
width: 200px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: none;
font-size: 1rem;
margin-right: auto;
outline: none;
color: white;
padding: 12px 20px 12px 40px;
-webkit-transition: 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
box-sizing: border-box;
border-radius: 20px;
background-color: #eb173a;
text-align: center;
}
input::placeholder{
color: white;
}
input[type=text]:focus {
width: 100%;
}
button{
border-radius: 4px;
font-size: 1rem;
padding: 10px;
border-radius: 10%;
background: #eb173a;
outline: none;
border: none;
color: white;
cursor: pointer;
}
button:hover{
background: #ce0728;
}
.head{
grid-area: header;
}
.search{
margin: 0px 40px;
grid-area:search;
}
.temp{
padding: 10px 10px;
text-align: center;
grid-area:temp;
}
.city-name{
padding: 20px;
}
.temp-no{
font-size: 70px;
}
#message{
margin: 10px;
text-align: center;
}
.box{
text-align: center;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
display: block;
border-radius: 10px;
background: linear-gradient(to bottom,#0965bb 50%, #54caf1);
height: 80vh;
width: 100%;
box-shadow:
0 2.8px 2.2px rgba(0, 0, 0, 0.034),
0 6.7px 5.3px rgba(0, 0, 0, 0.048),
0 12.5px 10px rgba(0, 0, 0, 0.06),
0 22.3px 17.9px rgba(0, 0, 0, 0.072),
0 41.8px 33.4px rgba(0, 0, 0, 0.086),
0 100px 80px rgba(0, 0, 0, 0.12)
}
.anv{
padding-top: 40px;
padding-bottom: 40px;
}
footer{
grid-area: footer;
text-align: center;
padding: 20px;
}