forked from Himanshu4252/weathercard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.css
111 lines (99 loc) · 2.04 KB
/
card.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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
color: aliceblue;
font-family:sans-serif;
}
html{
background-image: url("https://images.unsplash.com/photo-1478760329108-5c3ed9d495a0?q=80&w=1374&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}
#container{
display: flex;
justify-content: space-evenly;
align-items: center;
min-height:100vh;
width: 98vw
}
#box{
display: flex;
justify-content: space-evenly;
border: 2px solid;
border-radius: 2rem;
height: 20rem;
width: 33rem;
flex-wrap: wrap;
padding: 9px;
background: linear-gradient(135deg, rgba(25, 255, 255, 0.4), rgba(255, 255, 255, 0));
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(20px);
box-shadow:2px 2px 4px black
}
#tl{
height: 55%;
width: 60%;
}
#icon{
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#deficon{
height: 25%;
width: 100%;
font-size: 7rem;
}
#rtop{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height:69%;
width: 40%;
font-size: 1.8rem;
margin-top: 1rem;
}
.text{
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
flex-wrap: nowrap;
font-size: 1.06rem;
font-weight: 500;
letter-spacing: .1rem;
width: 7rem;
min-height: 5rem;
flex: shrink 1;;
}
#bottext{
display: flex;
justify-content: space-evenly;
flex-direction:row;
gap: 18px;
font-size: 1.1rem;
}
i{
font-size: 8rem;
}
#deficon{
display: flex;
font-weight: 400;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
justify-content: center;
align-items: center;
font-size: 1.6rem;
}
#city{
font-size: 1.8rem;
}
#temp{
font-size: 2rem;
}
span{
margin-bottom: 1.3rem;
}