-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
127 lines (113 loc) · 2.31 KB
/
main.css
File metadata and controls
127 lines (113 loc) · 2.31 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);
body {
font-family: Fira Code, monospace;
background-color: black;
color: lime
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #111;
}
li {
float: left;
}
li a {
display: block;
color: lime;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #222;
}
td {
padding: 10px;
}
button {
background-color: black;
color: lime;
border: 2px solid lime;
padding: 10px 20px;
}
.blink {
animation: blink 1s infinite linear;
}
.stretched-blinking {
animation: stretched-blinking 1s infinite linear;
/* center the text */
text-align: center;
}
.swag {
animation: download-button-swag 20s infinite alternate;
border: 2px solid lime;
padding: 10px 20px;
margin-left: 40%;
transform-origin: center;
}
.img-swag {
animation: download-button-swag 5s infinite alternate;
border: 2px solid lime;
transform-origin: center;
}
@keyframes stretched-blinking {
0%, 100% {
letter-spacing: 0.1em;
opacity: 0;
}
50% {
letter-spacing: 0.5em;
opacity: 1;
}
}
@keyframes blink {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes download-button-swag {
0% {
transform: scaleX(1) scaleY(1) rotate(0deg);
margin-left: -60%;
border: 2px red solid;
}
10% {
transform: scaleX(0.4) scaleY(0.9) rotate(45deg) skew(10deg);
border-color: orange;
}
20% {
transform: scaleX(1.2) scaleY(0.5) rotate(-30deg);
border-color: yellow;
}
30% {
transform: scaleX(0.7) scaleY(1.1) rotate(90deg) skew(-15deg);
border-color: green;
}
40% {
transform: scaleX(1.5) scaleY(0.4) rotate(-120deg);
border-color: blue;
}
60% {
transform: scaleX(0.6) scaleY(1.8) rotate(180deg) skew(20deg);
border-color: indigo;
margin-left: -20%;
}
80% {
transform: scaleX(1.8) scaleY(0.7) rotate(540deg);
margin-left: 20%;
}
100% {
transform: scaleX(1) scaleY(1) rotate(1080deg);
margin-left: 40%;
border: 10px violet solid;
}
}