-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
97 lines (90 loc) · 1.75 KB
/
styles.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
/* shrink image in image, depending upon aesthetic preference
https://github.com/VincentGarreau/particles.js/ */
body {
margin: 0;
background-color: black;
}
#particles-js{
position: absolute;
left: 0px;
top: 0px;
height: 100%;
width: 100%;
z-index: -1;
}
@font-face {
font-family: myFirstFont;
src: url(Neou-Bold.ttf);
}
html, body, main {
width: 100%;
height: 100%;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
}
#scene {
display: flex;
align-items: center;
margin: 0 auto;
font-family: myFirstFont;
font-size: 200%;
align-items: center;
}
#poem {
width: 300px;
color: white;
padding: 50px;
}
#icon {
width: 400px;
padding: 50px;
}
#spec {
width: 300px;
color: white;
padding: 50px;
}
#mint {
border: 1px green;
}
/* https://stackoverflow.com/questions/23856088/infinite-flip-image-using-css3-3d */
#icon > img {
-webkit-animation-name: spinner;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 6s;
animation-name: spinner;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-duration: 6s;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
}
/* WebKit and Opera browsers */
@-webkit-keyframes spinner {
from {
-webkit-transform: rotateY(0deg);
}
to {
-webkit-transform: rotateY(-360deg);
}
}
/* all other browsers */
@keyframes spinner {
from {
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
transform: rotateY(0deg);
}
to
{
-moz-transform: rotateY(-360deg);
-ms-transform: rotateY(-360deg);
transform: rotateY(-360deg);
}
}