-
Notifications
You must be signed in to change notification settings - Fork 0
/
weatherapp.css
86 lines (70 loc) · 1.31 KB
/
weatherapp.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Open Sans', sans-serif;
margin: 0;
background: #222;
background-image: url("https://source.unsplash.com/1600x900/?nature");
font-size: 120%;
}
.card {
background: #000000b0;
color: white;
padding: 2em;
border-radius: 30px;
width: 50%;
max-width: 420%;
margin: 1em;
}
.search {
display: flex;
align-items: center;
justify-content: center;
}
button {
margin: 0.5em;
border-radius: 50%;
border: none;
height: 44px;
width: 44px;
outline: none;
background-color: #7c7c7c2b;
color: white;
cursor: pointer;
transition: 0.25 ease-in-out;
}
input.search-bar {
border: none;
outline: none;
padding: 0.4em 1em;
border-radius: 46px;
background-color: #7c7c7c2b;
color: white;
font-family: inherit;
font-size: 105%;
width: calc(100% - 100px);
}
button:hover {
background: #7c7c7c6b;
}
h1.temp {
margin-left: 10px;
margin-top: 0.3em;
}
.flex {
display: flex;
align-items: center;
}
.description {
text-transform: capitalize;
margin-left: 10px;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
}