-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
82 lines (76 loc) · 1.59 KB
/
index.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 {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
margin: 0;
padding: 0;
}
.weather {
margin-top: 20px;
}
.image{
background: url(./images/sunrise0.jpg) no-repeat center center/cover;
height: 100vh;
}
input[type="text"] {
padding: 10px;
width: 70%;
border: 1px solid #ccc;
}
.cont{
margin-top: 3%;
margin-left: auto;
margin-right: auto;
padding: 20px;
text-align: center;
background-color: #000000d4;
color: #ccc;
opacity: 5rem;
max-width: 400px;
border-radius: 2.5rem;
opacity: 30;
font-family: 'Oswald', sans-serif;
}
.but{
border-radius: .5rem;
background: white;
opacity: 0.5;
color: black;
font-size: medium;
font-weight: bolder;
border-style:hidden;
width: 10rem;
height: 2rem;
}
.sub{
background: white;
opacity: 0.5;
border: none;
margin-left: 0.2rem;
border-radius: 20rem;
height: 2rem;
width: 3rem;
}
#weatherData{
padding-top: 20px;
}
#popularCities{
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.city{
margin-top: 1%;
margin-bottom: 1%;
margin-left: auto;
margin-right: auto;
padding: 20px;
text-align: center;
background-color: #000000d4;
width: max-content;
color: #ccc;
opacity: 5rem;
border-radius: 2.5rem;
opacity: 30;
font-family: 'Oswald', sans-serif;
}