-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
123 lines (121 loc) · 2.25 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
121
122
123
body {
background-image: url("https://aimblog.uoregon.edu/files/2015/06/shutterstock_135369740-29vqf6b.jpg");
/* background-repeat: no-repeat; */
background-size: contain;
backdrop-filter: blur(1.5px);
padding: 0;
margin: 0;
color: rgb(247, 238, 238);
font-family: "Poppins", sans-serif;
letter-spacing: 1px;
}
#main {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.temp {
width: fit-content;
min-height: 400px;
border: 1px solid rgb(56, 51, 51);
border-radius: 25px;
padding: 25px 30px;
background-color: rgb(9 11 5 / 62%);
box-shadow: 10px 10px 15px rgb(55, 88, 107);
}
#temp {
font-size: 50px;
font-weight: 300;
margin-bottom: 0;
padding-bottom: 0;
text-shadow: -1px -1px 10px rgb(15, 75, 55);
}
#temp > span {
font-size: 25px;
font-weight: 100;
}
#city {
font-size: 20px;
font-weight: 100;
margin: 0;
}
.search_box,
.city,
.icon {
display: flex;
margin: 10px auto;
align-items: center;
}
.search_box {
margin-bottom: 20px;
background-color: rgba(145, 207, 74, 0.144);
width: fit-content;
border: 1px solid rgba(21, 80, 168, 0.363);
border-radius: 25px;
}
#search {
padding: 7px 15px;
background: transparent;
border: none;
transition: all 300ms ease-in-out;
color: white;
}
#search::placeholder {
color: rgba(27, 197, 126, 0.541);
}
#search:focus {
outline: none;
background-color: rgba(134, 67, 67, 0.192);
border-radius: 16px;
}
.search_box:hover {
outline: none;
background-color: rgba(134, 67, 67, 0.418);
}
#Search_btn {
border: 1px solid rgba(0, 0, 0, 0.336);
border-radius: 50%;
width: 30px;
height: 30px;
background-color: rgba(82, 190, 88, 0.384);
text-align: center;
padding: 5px;
transition: all 300ms ease-in-out;
outline: none;
}
#Search_btn:hover {
background-color: rgb(95, 95, 253);
cursor: pointer;
}
.city > img {
height: 24px;
margin: 0 10px;
}
#disp {
margin: 0;
padding: 0 10px;
font-weight: 300;
}
#icon {
width: 80px;
}
#min_max > span {
font-size: 15px;
}
.details {
margin: 35px auto;
font-size: 15px;
font-weight: 100;
line-height: 1.5;
}
small {
font-weight: 100;
border-top: 1px solid teal;
}
@media only screen and (max-width: 600px) {
body {
height: 100vh;
width: 100%;
}
}