-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
100 lines (88 loc) · 1.48 KB
/
styles.css
File metadata and controls
100 lines (88 loc) · 1.48 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
/*
Layout, size, color
*/
html {
overflow: hidden;
background: url(images/space_horizon.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
p {
color: white;
font-family: courier;
position: relative;
left: 100px;
opacity: 0;
}
.cat {
width: 400px;
margin-top: 20%;
}
.col {
float: left;
}
.wide div[class^="row"],[class*=" row"] {
width: 40px;
height: 17px;
}
.thin div[class^="row"],[class*=" row"]{
width: 6px;
height: 17px;
}
.row-1 {
background-color: #FF0000;
}
.row-2 {
background-color: #FF9900;
}
.row-3 {
background-color: #FFFF00;
}
.row-4 {
background-color: #33FF00;
}
.row-5 {
background-color: #0099FF;
}
.row-6 {
background-color: #6633FF;
}
/* Place cat on rainbow */
img {
position: relative;
margin-top: -20px;
margin-left: -66px;
}
/*
Positon
*/
/* Odd Wide Columns */
.col:nth-of-type(4n+1) {
animation-name: wave;
animation-duration: .15s;
animation-timing-function: step-start;
animation-direction: alternate;
animation-iteration-count: infinite;
}
/* Even Wide Columns */
.col:nth-of-type(4n+3) {
animation-name: wave;
animation-duration: .15s;
animation-timing-function: step-start;
animation-direction: alternate-reverse;
animation-iteration-count: infinite;
}
/* Narrows Columns*/
.col:nth-of-type(4n+2) {
margin-top: 5px;
}
/*
Animation
*/
@keyframes wave {
50% {
transform: translateY(5px);
}
}