-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (99 loc) · 1.8 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
*{
text-align: center;
}
body{
display: flex;
font-family: 'Roboto', sans-serif;
background-color: black;
color: #fff;
min-height: 100vh;
}
form, #weather{
display: block;
width: 100%;
max-width: 400px;
margin: 20px auto;
padding: 20px;
text-align: justify;
}
input[type = "text"]{
display: block;
width: 100%;
background: transparent;
color: #fff;
border: 0;
border-bottom: solid #fff ;
font-size: 1.2rem;
padding: 5px 0;
}
input[type = "text"]:focus{
border-color: orange;
outline: 0;
}
ul{
list-style: none;
text-align: center;
width: 100%;
}
ul li{
background-color: #333 ;
margin-top: 2px;
padding: 10px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
ul li:hover {
background-color: orange;
}
ul li span{
background-color: #333;
}
#degrees{
font-size: 3rem;
margin-bottom: 1rem;
}
#city{
color: orange;
font-size: 2rem;
/* margin-bottom: 10px; */
}
button#change {
border: 2px solid #fff;
background-color: transparent;
color: #fff;
padding: 6px 12px;
border-radius: 20px;
text-align: center;
margin-bottom: 20px;
cursor: pointer;
font-size: 1rem;
transition: all 0.3s ease;
}
button#change:hover {
background-color: orange;
color: #000;
}
#icon{
margin: 10px auto;
display: block;
align-items: center;
width: 150px;
height: 150px;
margin-bottom: -40px;
}
div.info{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
div.info h3{
font-size: 1rem;
letter-spacing: 1px;
}
div.info .value{
font-size: 2rem;
}
div.info .value span{
font-size: 0.8rem;
}