-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (88 loc) · 1.73 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: Poppins, sans-serif;
background-image: url(main1.png);
}
.background-container {
position: relative;
height: 100%;
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background-color: #171717;
border-radius: 10px;
text-align: center;
width: 90%;
max-width: 600px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
h1 {
color: #ffffff;
margin-bottom: 20px;
}
p{
color: #ffffff;
margin-bottom: 20px;
}
input {
padding: 10px;
margin-bottom: 10px;
width: 80%;
border: 2px solid #ffffff;
border-radius: 5px;
background-color: transparent;
color: #ffffff;
}
button {
padding: 10px;
width: 80%;
background-color: #ffffff;
color: #171717;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
font-size: 15px;
}
#weatherData {
margin-top: 20px;
}
.weather-box {
display: flex;
align-items: center;
justify-content: center;
background-color: #dadada;
border: 1px solid #696969;
border-radius: 10px;
padding: 10px;
margin: 10px 0;
height: 30px;
width: 556px;
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
margin-left: 8px;
}
.weather-icon {
font-size: 24px;
margin-right: 10px;
}
.weather-box p {
color: #1b1b1b;
font-size: 1.2em;
margin: 0;
font-weight: bold;
}
h2 {
font-size: 24px;
color: #ffffff;
}