-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
120 lines (98 loc) · 2.04 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital@1&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width:100%;
background-color: wheat;
font-family: 'Open Sans', sans-serif;
background-image: url(./drahomir-posteby-mach-OL2FkTjKD6w-unsplash.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
font-size: 120%;
}
.card{
background-color: rgba(0,0,0,.4);
padding: 20px;
border-radius: 25px;
width: 100%;
max-width: 450px;
margin: 20px;
color: blanchedalmond;
}
.search{
display: flex;
align-items: center;
justify-content: center;
}
button{
margin: 10px;
border-radius: 14px;
border: none;
height: 50px;
width: 50px;
outline: none;
background-color:#777;
color: white;
cursor: pointer;
transition:.2s ease;
}
.search-bar{
border: none;
outline: none;
padding: 10px;
border-radius: 15px;
background-color: #777;
font-family: inherit;
font-size: 120%;
width: calc(100%);
color: antiquewhite;
}
button:hover{
background-color: #fff;
}
h1{
display: block;
font-size: 2em;
margin-block-start: .67em;
margin-block-end: .67em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
.temp{
margin: 0;
margin-bottom: 10px;
margin-top: 10px;
font-weight: bold;
font-size: 31px;
}
.description{
text-transform: capitalize;
}
/* .icon{
} */
.flex{
display: flex;
align-items: center;
}
.weather.loading{
visibility: hidden;
max-height: 20px;
position: relative;
}
.weather.loading:after{
visibility: visible;
content: "loading...,";
color: antiquewhite;
position: absolute;
top: 0;
left: 20px;
}