-
Notifications
You must be signed in to change notification settings - Fork 0
/
glass.css
156 lines (141 loc) · 2.83 KB
/
glass.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1{
color: #096ff5;
font-weight: 600;
opacity: 0.8;
font-size: 3rem;
}
h2, p{
color: #6d9fe0;
font-weight: 500;
opacity: 0.9;
}
main{
font-family: 'Orelega One', cursive;
min-height: 100vh;
background: linear-gradient(to right top,#65dfc9,#6cdbeb);
display: flex;
align-items: center;
justify-content: center;
}
.glass{
background: white;
height: 80%;
width: 60%;
background: linear-gradient(to right bottom,rgba(255,255,255,0.7),rgba(255,255,255,0.3));
border-radius: 20px;
display: flex;
}
.circle1,.circle2{
background: white;
background: linear-gradient(to right bottom,rgba(255,255,255,0.7),rgba(255,255,255,0.4));
height: 10rem;
width: 10rem;
position: absolute;
backdrop-filter: blur(.2rem);
border-radius: 100px;
}
.circle1{
top: 1%;
right: 15%;
z-index: 3;
}
.circle2{
bottom: 5%;
left: 13%;
z-index: 2;
}
/* Dashboard Section */
.dashboard{
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
text-align: center;
background: linear-gradient(to right bottom,rgba(255,255,255,0.7),rgba(255,255,255,0.3));
border-radius: 3rem;
}
.link{
display: flex;
margin: 1rem 0rem;
padding: 1rem 3rem;
align-items: center;
}
.link h2{
padding: 0rem 2rem;
cursor: pointer;
}
.games{
flex: 2;
}
.pro{
background: linear-gradient(to right top,#65dfc9,#6cdbeb);
color: white;
padding: 1rem;
border-radius: 2rem;
display: flex;
width: 60%;
margin-bottom: 1rem;
}
.pro h2{
padding-top: 10%;
justify-content: center;
text-align: center;
color: white;
}
.user img{
height: 50%;
}
/* Games Section */
.status{
margin-bottom: 5rem;
}
.status input{
background: linear-gradient(to right top,#a7eff8,#66e0f3);
border: none;
width: 90%;
padding: .5rem;
border-radius: 2rem;
}
.games{
margin: 5rem;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.card{
display: flex;
background: linear-gradient(to top left,rgba(255,255,255,0.9),rgba(255,255,255,0.2));
border-radius: 1rem;
margin: 2rem 0rem;
padding: 2rem;
box-shadow: 6px 6px 20px rgba(122,122,122,0.2);
justify-content: space-between;
cursor: pointer;
}
.progress{
background: linear-gradient(to right top,#65dfc9,#6cdbeb);
width: 100%;
height: 25%;
border-radius: 1rem;
position: relative;
overflow: hidden;
}
.progress::after{
content: "";
width: 100%;
height: 100%;
position: absolute;
left: 60%;
background: rgb(236,236,236);
}
.card-info{
display: flex;
flex-direction: column;
justify-content: space-between;
}