-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.css
174 lines (154 loc) · 3.47 KB
/
grid.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
@import url("compass/css3.css");
html {
height: 100%;
overflow: hidden;
}
.typewriter {
font-family: Courier, monospace;
display: inline-block;
margin-top: 19vw;
margin-left: 18vw;
}
.typewriter-text {
display: inline-block;
overflow: hidden;
letter-spacing: .15em;
animation: typing 4s steps(30, end) , blink .6s step-end infinite ;
white-space: nowrap;
margin: 0 auto;
font-size: 30px;
font-weight: 600;
border-right: 3px solid orange;
box-sizing: border-box;
color: black;
font-family: 'VCR OSD Mono';
/*font-family: 'Veteran Typewriter'; */
/*font-family: 'Orbitron';
font-family: 'Unifont', monospace; */
margin-top: 30px;
}
button{
position: relative;
z-index: 10;
margin-top: 39vw;
margin-left: 32vw;
font-weight: bolder;
font-family:'VCR OSD Mono'; /*'Courier New', Courier, monospace ; */
color: rgb(219, 219, 197);
font-size: 40px;
border: 1px solid black;
background-color: transparent;
border-radius: 25px;
cursor: pointer;
box-shadow: 0 0 10px beige;
}
.bu:hover, .bu:active{
color: black;
background-color: rgb(255,0,0,0.8);
box-shadow: 0 0 20px beige;
border: 2px solid black;
}
/*
.bu:active{
animation: grow 3s ease-in 1 ;
}
@keyframes grow {
0% {
transform: scale(1);
}
100% {
transform: scale(3.5);
}
} */
@keyframes typing {
from {
width: 0%
}
to {
width: 100%
}
}
@keyframes blink {
from, to {
border-color: transparent
}
50% {
border-color: beige;
}
}
body {
position: relative;
height: 100%;
background: -webkit-gradient(linear, left top, left bottom, color-stop(25%, #6084d7), color-stop(50%, #a2cef4), color-stop(50%, #a2cef4), to(#6084d7));
background: linear-gradient(#000000 25%, rgba(196, 10, 10, 0.9) 50%, rgba(196, 10, 10, 0.9) 50%, #000000 100%);
}
.wrap {
width: 100%;
height: 100%;
position: absolute;
margin: 0 auto;
-webkit-perspective: 360px;
perspective: 360px;
-webkit-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}
.top-plane, .bottom-plane {
width: 200%;
height: 130%;
position: absolute;
bottom: -30%;
left: -50%;
background-image: -webkit-linear-gradient(#a2cef4 2px, transparent 2px), -webkit-linear-gradient(left, #a2cef4 2px, transparent 2px);
background-size: 100px 100px,100px 100px;
background-position: -1px -1px,-1px -1px;
-webkit-transform: rotateX(85deg);
transform: rotateX(85deg);
-webkit-animation: planeMoveTop 2s infinite linear;
animation: planeMoveTop 2s infinite linear;
}
.bottom-plane {
-webkit-transform: rotateX(-85deg);
transform: rotateX(-85deg);
top: -30%;
-webkit-animation: planeMoveBot 2s infinite linear;
animation: planeMoveBot 2s infinite linear;
}
@-webkit-keyframes planeMoveTop {
from {
background-position: 0px -100px,0px 0px;
}
to {
background-position: 0px 0px, 100px 0px;
}
}
@keyframes planeMoveTop {
from {
background-position: 0px -100px,0px 0px;
}
to {
background-position: 0px 0px, 100px 0px;
}
}
@-webkit-keyframes planeMoveBot {
from {
background-position: 0px 0px,0px 0px;
}
to {
background-position: 0px -100px, 100px 0px;
}
}
@keyframes planeMoveBot {
from {
background-position: 0px 0px,0px 0px;
}
to {
background-position: 0px -100px, 100px 0px;
}
}
@media (max-height: 350px) {
.wrap {
-webkit-perspective: 210px;
perspective: 210px;
}
}
/*# sourceMappingURL=tron.css.map */