-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.scss
More file actions
103 lines (91 loc) · 1.91 KB
/
style.scss
File metadata and controls
103 lines (91 loc) · 1.91 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
99
100
101
102
103
@import url(https://fonts.googleapis.com/css?family=Poiret+One);
$border-radius: 20px;
body {
background-color: #d3d3d3;
font-family: Poiret One;
}
.widget {
position: absolute;
top: 50%;
left: 50%;
display: flex;
height: 300px;
width: 600px;
transform: translate(-50%, -50%);
flex-wrap: wrap;
cursor: pointer;
border-radius: $border-radius;
box-shadow: 0 27px 55px 0 rgba(0, 0, 0, 0.3), 0 17px 17px 0 rgba(0, 0, 0, 0.15);
.weatherIcon{
flex: 1 100%;
height: 60%;
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
font-family: weathericons;
display: block;
margin-left: auto;
margin-right: auto;
display:block;
background-color: #808080;
align-items: center;
justify-content: space-around;
font-size: 100px;
i{
padding-top: 30px;
}
}
.weatherInfo{
flex: 0 0 70%;
height: 40%;
background: #080705;
border-bottom-left-radius: $border-radius;
display: flex;
align-items: center;
color: white;
.temperature{
flex: 0 0 40%;
width: 100%;
font-size: 40px;
display: flex;
justify-content: space-around;
}
.description{
flex: 0 60%;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
justify-content: center;
.weatherCondition{
text-transform: uppercase;
font-size: 35px;
font-weight: 100;
}
.place{
font-size: 15px;
}
}
}
.date{
flex: 0 0 30%;
height: 40%;
background: #70C1B3;
border-bottom-right-radius: $border-radius;
display: flex;
justify-content: space-around;
align-items: center;
color: white;
font-size: 23px;
font-weight: 800;
}
}
p{
position: fixed;
bottom: 0%;
right: 2%;
a{
text-decoration: none;
color: #E4D6A7;
font-size: 10px;
}
}