-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
112 lines (98 loc) · 1.91 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
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
html {
background-image: url(./bg-.jpg);
background-repeat: no-repeat;
background-size: to bottom;
font-family: "Poppins", sans-serif;
}
.title {
color: darkblue;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 10px;
}
.app {
background-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 0.3),
rgba(0, 0, 0, 0.6)
);
display: flex;
flex-direction:column;
min-height: 95%;
width: 80%;
}
header {
display: flex;
justify-content: center;
align-items: center;
padding: 60px 15px 15px;
margin-bottom: 40px;
}
header input {
width: 300px;
padding: 10px 15px;
border: none;
outline: none;
border-radius: 16px;
background-color: rgba(238, 230, 230, 0.5);
color: #0f0f0f;
font-size: 20px;
font-weight: 300;
transition: 0.2s ease-out;
}
header input:focus {
background-color: rgba(255, 255, 255, 1);
}
button {
margin-left: 5px;
color: #313131;
background-color: rgba(255, 255, 255, 0.5);
border: none;
outline: none;
max-width: 300px;
padding: 10px 15px;
border-radius: 16px;
font-size: 22px;
}
button:hover {
background-color: rgba(255, 255, 255, 1);
}
main {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 25px 25px 50px;
}
.location .city {
font-size: 38px;
font-weight: 600;
margin-bottom: 5px;
color: #fff;
}
.location .date {
color: #fff;
font-size: 25px;
}
.current .temp {
color: #fff;
font-size: 105px;
font-weight: 900;
text-shadow: 1px 4px rgba(0, 0, 0, 0.5);
}
.current .temp span {
font-weight: 500;
text-shadow: 1px 4px rgba(0, 0, 0, 0.5);
}
.current .weather {
color: #fff;
font-size: 38px;
font-weight: 600;
text-shadow: 0px 2px rgba(0, 0, 0, 0.3);
font-style: italic;
}