-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
98 lines (98 loc) · 1.93 KB
/
main.css
File metadata and controls
98 lines (98 loc) · 1.93 KB
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
background: linear-gradient(rgb(47,150,163), rgb(48,62,143));
font-family: sans-serif;
color: white;
}
#search-form{
display: flex;
justify-content: center;
align-items: center;
margin-top: 100px;
}
#temp-icon{
margin: 1rem;
width: 40%;
height: auto;
}
.location,
.temperature
{
height: 30vh;
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
}
.temperature{
flex-direction: column;
}
.degree-section{
display: flex;
align-items: center;
cursor: pointer;
}
.degree-section span {
margin: 10px;
font-size:30px;
}
.degree-section h2{
font-size: 40px;
}
#temp-icon{
width: 80px;
height: auto;
}
.main-content{
/*background: linear-gradient(rgb(238, 211, 132), rgb(103, 186, 184));*/
width: 23%;
border: white 1px solid;
border-radius: 10%;
/*box-shadow: 10px 10px 10px 10px rgba(112, 102, 102, 0.3);*/
}
#search-input{
background-color: transparent;
margin: 10px 0;
text-decoration: none;
border-bottom: red 2px solid;
overflow: hidden;
width: 250px;
outline: none;
font-size: 20px;
color: white;
background: none;
}
input{
border: none;
}
#search-form{
display: flex;
justify-content: center;
align-items: center;
margin-top: 100px;
}
#search-button{
color: black;
text-decoration: none;
text-transform: uppercase;
border-radius: 5px;
margin-left: 5px;
padding: 10px;
border: 2px solid black;
transition: all 0.5 ease 0s;
}
#search-button:hover{
color: white;
background: red;
border-color: black;
transition: all 0.5s ease 0s;
}