-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (98 loc) · 1.88 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
html {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*, *:before, *:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
body {
margin: 0;
padding: 0;
background: #19161c;
color: #fefefe;
height: 100vh;
display: grid;
grid-template-rows: 20vh 1fr;
}
.main-title {
text-align: center;
margin: 0;
padding: 1rem;
display: flex;
justify-content: center;
align-items: center;
}
.container {
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
align-content: center;
}
.box{
position: relative;
}
.input {
padding: 10px;
width: 80px;
height: 80px;
background: none;
border: 4px solid #ffd52d;
border-radius: 50px;
box-sizing: border-box;
font-family: Comic Sans MS;
font-size: 26px;
color: transparent;
outline: none;
transition: .5s;
}
.box:hover input, .box input:focus{
width: 350px;
background: #3b3640;
border-radius: 10px;
color: #ffd52d;
}
.box i{
position: absolute;
top: 50%;
right: 15px;
transform: translate(-50%,-50%);
font-size: 26px;
color: #ffd52d;
transition: .2s;
cursor: pointer;
}
.weather-icon-filtered {
filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(348deg) brightness(111%) contrast(99%);
}
.weather-info {
margin: 0;
padding: 0 1.5rem;
}
.icon-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.icon-info {
margin: 0;
}
@media only screen and (max-width: 360px) {
/* .box {
width: 80%;
display: flex;
justify-content: center;
}
.box i {
} */
.box:hover input, .box input:focus{
width: 80vw;
}
.weather-info {
text-align: center;
}
}