-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
156 lines (150 loc) · 3.29 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
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;
font-family: 'Poppins', sans-serif;
}
main{
min-height: 100vh;
background: linear-gradient(to right top, #29165f, #5788f5);
display: flex; /* rendre le contenant flexible*/
align-items: center; /* aligner les éléments au centre, sorte d'alignement vertical*/
justify-content: center;/* aligner les éléments contenus au centre, sorte d'alignement vertical*/
}
.glass{
background:white ;
min-height:80vh;
width: 60%;
background: linear-gradient(to right bottom, rgba(255,255,255,0.7),rgba(255,255,255,0.3));
border-radius: 2rem;
z-index: 2; /* the z-index the most greater a head so that the other elements will go under*/
backdrop-filter: blur(2rem);
display: flex;
}
h1{
color: #426696;
font-size: 3rem;
font-weight: bold;
opacity: 0.8;
}
h2,
p{
color: #658ec6;
font-weight: 500;
font-weight: bold;
opacity: 0.9;
}
h3{
color: #426696;
font-weight: bold;
opacity: 0.8;
}
.circle1,
.circle2{
background:white ;
height: 15rem;
width: 15rem;
background: linear-gradient(to right bottom, rgba(255,255,255,0.5),rgba(255,255,255,0.3));
position: absolute;
border-radius: 50%;
}
.circle1{
top: 5%;
right: 15%;
background: #76d3f3;
}
.circle2{
bottom: 5%;
left: 15%;
}
.dashboard{
flex: 1;
display: flex; /* make element flexible and putting them in line*/
flex-direction:column;
align-items: center;
justify-content: space-evenly;
text-align: center;
background: linear-gradient(to right bottom, rgba(255,255,255,0.7),rgba(255,255,255,0.3));
border-radius: 2rem;
}
.games{
flex:2;
}
.link{
display: flex;
margin: 1rem 0rem ;
padding: 1rem 4rem;
align-items: center;
}
.link h2{
padding: 0rem 2rem;
}
.pro{
background: linear-gradient(to right top, #65dfc9, #6cdbed);
border-radius: 2rem;
padding: 1rem ;
color: #fff;
position: relative;
}
.pro img{
position:absolute;
top: -10%;
right: 10%;
}
.pro h2{
width: 40%;
color: white;
font-weight: 600;
}
.status{
margin-bottom: 3rem;
}
.status input{
background: linear-gradient(to right bottom, rgba(255,255,255,0.7),rgba(255,255,255,0.3));
border-radius: 2rem;
border: none;
width: 50%;
height: 30%;
}
.games{
margin:5rem;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.card{
display: flex;
background: linear-gradient(to left top, rgba(255,255,255,0.8),rgba(255,255,255,0.5));
border-radius: 1rem;
margin: 2rem 0rem;
padding: 2rem;
box-shadow: 6px 6px 20px rgba(122,122,122,0.212);
justify-content: space-between;
}
.progress{
background: linear-gradient(to right top, #29165f, #5788f5);
width: 100%;
height: 25%;
border-radius: 1rem;
position: relative;
overflow: hidden;
}
.progress::after{
content: "";
width: 100%;
height: 100%;
background: rgb(236,236,236);
position:absolute;
left: 60%;
}
.card-info{
display: flex;
flex-direction: column;
justify-content: space-between;
}
.percentage{
font-weight: bold;
background: linear-gradient(to right top, #29165f, #5788f5);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}