-
Notifications
You must be signed in to change notification settings - Fork 49
/
styles.css
75 lines (71 loc) · 1.64 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
body {
padding: 5vh;
text-align: center;
background: black;
color: white;
font-family: Segoe UI, Colibri;
width: 600px;
margin: 0 auto;
}
a {
color: white;
text-decoration: unset;
}
a:hover {
color: firebrick;
}
table {
margin: 0 10%;
width: 80%;
}
td, th {
text-align: left;
font-size: 1.35em;
}
tbody td {
border-top: 1px solid white;
padding-left: 1em;
}
tbody tr:nth-child(even) {
background-color: rgba(219, 219, 219, 0.35);
}
td > a {
transition: color 0.25s linear;
cursor: pointer;
}
td > a:hover {
color: firebrick;
}
td > span {
font-style: italic;
}
.social-icons {
font-size: 3em;
}
/* ------ MARCHIN ANTS BELOW ------------*/
.marching-ants {
padding: 7px;
margin: 20px;
background-size: 20px 2px, 20px 2px, 2px 20px, 2px 20px;
background-position: 0 0, 0 100%, 0 0, 100% 0;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
animation: marching-ants-1 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-play-state: paused;
}
.marching-ants:hover, .marching-ants.marching {
animation-play-state: running;
}
.marching-ants.headline {
background-image: linear-gradient(to right, #fff 50%, #444 50%), linear-gradient(to right, #fff 50%, #444 50%), linear-gradient(to bottom, #fff 50%, #444 50%), linear-gradient(to bottom, #fff 50%, #444 50%);
color: #fff;
}
@keyframes marching-ants-1 {
0% {
background-position: 0 0, 0 100%, 0 0, 100% 0;
}
100% {
background-position: 40px 0, -40px 100%, 0 -40px, 100% 40px;
}
}