-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (70 loc) · 1.33 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
body{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.container{
width: 100%;
max-width: 420px;
max-height: fit-content;
background-color: #000000d0;
padding: 2em;
margin: 1em;
color: white;
border-radius: 30px ;
}
.search {
display: flex;
align-items: center;
justify-content: center;
}
.flex{
display: flex;
align-items: center;
}
.flex .description {
margin-bottom: 0px;
}
.celcius{
margin: 0;
}
.weatherImg{
height: max-content;
width: max-content;
}
.search input[type="text"]{
border: none;
outline: none;
padding: 0.5em 1em;
border-radius: 24px;
background-color: #7c7c7c2b;
color: white;
font-family: inherit;
font-size: 120%;
width: calc(100% - 80px);
}
::placeholder {
color: #afafaf;
}
.search button {
margin: 0.5em;
border-radius: 50%;
border: none;
height: 46px;
width: 46px;
background-color:#7c7c7c2b;
color: white;
cursor: pointer;
}
.search button:hover {
background-color : #7c7c7c6b;
transition: 0.2s ease-in-out;
}
.box{
display: block;
flex-direction: column;
font-size: 20px;
font-family: inherit;
}