-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (118 loc) · 2.4 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
/** styling tetris grids **/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
body{
padding:0;
margin: 0;
font-family: 'Open Sans', sans-serif;
animation:showup 1s;
animation-iteration-count: 1;
opacity: 1;
background:linear-gradient(to top,#F726FC, #CFC2F1 ,#65B5D3, #3891FF );
background: url('./assets/img/bg.gif');
}
.container__wraper{
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
perspective: 350px;
}
.container__wraper h3{
display: flex;
justify-content: center;
align-items: flex-start;
color: white;
position: relative;
}
.container__wraper svg{width: 100px;}
.container__wraper h3::after{
position: absolute;
z-index: -10;
width: 10px;;
left:120px;
content: url('./assets/img/sol.svg');
animation:showup 6s;
animation-iteration-count: 1;
opacity: 1;
}
@keyframes showup
{
from {opacity: 0;}
to{opacity: 1;}
}
.container__wraper h3::after img{
width: 100px;
}
.grid{
margin-top:20px;
width: 200px;
height: 400px;
display: flex;
flex-wrap: wrap;
background-image: linear-gradient(to top,#CFC2F1 ,#65B5D3, #3891FF );;
transform-style: preserve-3d;
transform: scale(2,3);
transform: rotateX(45deg) scale(1.8,1);
margin-bottom:20px;
box-shadow: 0px -20px 100px hsla(213, 100%, 61%, 0.5);
}
/** styling blocks of this grid **/
.grid div{
width: 20px;
height: 20px;
opacity: 0.8;
box-sizing: border-box;
border: 0.3px solid #F726FC;
}
.forma{background: #000;}
.none{
display: none;
}
.wrap__grids{
display: flex;
align-items: flex-start;
}
.mini-grid{
width: 80px;
height: 80px;
margin-top:20px;
background:rgba(129, 0, 65, 0.609);
padding:20px;
margin-left:0;
display:flex;
flex-direction: row;
flex-wrap: wrap;
}
.mini-grid div{
box-sizing: border-box;
width: 20px;
height: 20px;
border: 1px solid #CFC2F1 ;
}
.mini-grid__forma{
background: #FAEB2B;
}
.configs{
display: flex;
flex-direction: column;
margin-top:-80px;
font-size: 12px;
margin-left:-80px;
}
.configs button{
height: 40px;
box-sizing: border-box;
border: 0;
display: flex;
justify-content: center;
align-items: center;
background:#FAEB2B;
color:#400b41;
font-weight: bold;
box-shadow: 0px 0px 20px hsla(299, 97%, 57%);
}
.configs h3{
box-shadow: 0px 0px 20px hsla(299, 97%, 57%);
}