-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (112 loc) · 2.74 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
@import url('https://fonts.googleapis.com/css?family=Roboto:300');
@import url('https://unpkg.com/[email protected]/dist/css/ionicons.min.css');
body {
background: linear-gradient(270deg, #a4a2b9, #90a6d2, #bfc8db);
background-size: 400% 400%;
-webkit-animation: bgAnim 30s ease infinite;
-moz-animation: bgAnim 30s ease infinite;
animation: bgAnim 30s ease infinite;
margin: 0;
padding: 0;
}
p {
font-family: 'Roboto', sans-serif;
text-transform: uppercase;
font-size: 16px;
color:white;
font-weight: 300;
letter-spacing: 3px;
}
.icon {
padding-right:5px;
}
a {
display: flex;
justify-content: center;
text-align: center;
margin:0;
padding:0;
text-decoration: none;
}
.button {
border-radius:50px;
top:75px;
border: 2px solid white;
max-width:165px;
max-height:50px;
}
.button:hover {
background-color: rgba(255,255,255,0.1);
transition: 0.3s;
cursor: pointer;
}
.title p {
margin:0;
padding:0;
}
.title {
text-align: center;
width:100%;
height:100px;
padding-top:1em;
}
.wrap {
margin-top: 10rem;
perspective: 800px;
perspective-origin: 50% 100px;
}
#cube {
position: relative;
width: 200px;
margin:0 auto;
transform-style: preserve-3d;
transition: transform 1s;
-webkit-transition: -webkit-transform 1s;
}
#cube div {
position: absolute;
width: 200px;
height: 200px;
}
.front {
background: linear-gradient(90deg, rgba(90,17,255,0.95) 0%, rgba(165,125,255,0.95) 100%);
transform: translate3d(0,0,100px);
}
.left {
background: linear-gradient(-90deg, rgba(90,17,255,0.95) 0%, rgba(165,125,255,0.95) 100%);
transform: rotateY(270deg) translate3d(-100px,0,0);
transform-origin: center left;
}
.front {
background: linear-gradient(90deg, rgba(90,17,255,0.95) 0%, rgba(165,125,255,0.95) 100%);
transform: translate3d(0,0,100px);
}
.left {
background: linear-gradient(-90deg, rgba(90,17,255,0.95) 0%, rgba(165,125,255,0.95) 100%);
transform: rotateY(270deg) translate3d(-100px,0,0);
transform-origin: center left;
}
.back {
background: linear-gradient(90deg, rgba(90,17,255,0.95) 0%, rgba(165,125,255,0.95) 100%);
transform: translate3d(0,0,-100px) rotateY(180deg);
}
.right {
background: linear-gradient(-90deg, rgba(90,17,255,0.95) 0%, rgba(165,125,255,0.95) 100%);
transform: rotateY(-270deg) translate3d(100px,0,0);
transform-origin: top right;
}
@-webkit-keyframes bgAnim {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}
@-moz-keyframes bgAnim {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}
@keyframes bgAnim {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}