Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
110 lines (101 loc) · 1.99 KB
/
Copy pathmain.css
File metadata and controls
110 lines (101 loc) · 1.99 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
104
105
106
107
108
109
110
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400&display=swap');
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
.canvas{
width: 100%;
height: 100%;
display: block;
background-image: url(static/assets/background-min.jpg) ;
background-size: cover;
animation: moveBG 70s linear infinite ;
}
@keyframes moveBG {
0%{background-position: 0% 100% ;}
50%{background-position: 100% 100% ;}
50%{background-position: 100% 100% ;}
100%{background-position: 0% 100% ;}
}
.connect{
position: absolute;
bottom: 20px;
width: 100%;
display: flex;
justify-content:flex-end;
text-align: center;
}
.loading-svg{
position:fixed;
z-index: 1000;
height: 100vh;
width: 100vw;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
align-items: center;
justify-items: center;
}
.rotate-container{
width: 100%;
height: 100%;
}
.connect svg{
width: 30px;
height:30px;
}
.connect svg:hover{
width: 32px;
height:32px;
}
a:nth-child(1){
margin-right: 10px;
}
a:nth-child(2){
margin-right: 110px;
}
span{
position: absolute;
bottom: 0px;
right: 5px;
display: block;
font-size: 18px;
font-family:Tajawal, Arial, sans-serif;
color: #d69e03;
}
.right-button{
width: 40px;
height: 40px;
position: absolute;
top: 50%;
left: calc(100% - 55px);
transform: rotateZ(-45deg);
border-right: 4px solid #d69e03;
border-bottom: 4px solid #d69e03;
}
.left-button{
width: 40px;
height: 40px;
position: absolute;
top: 50%;
right: calc(100% - 55px);
transform: rotateZ(45deg);
border-left: 4px solid #d69e03;
border-bottom: 4px solid #d69e03;
}
.left-button:hover , .right-button:hover {
width: 45px;
height: 45px;
}
.hidden{
display: none;
}
@media screen and (max-width: 1024px) {
.connect{
width: 100vh;
}
.right-button{
left: calc(100vh - 55px);
}
}