-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
192 lines (163 loc) · 3.72 KB
/
index.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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
.main {
display: flex;
justify-content: center;
flex-direction: column;
border: 5px solid rgba(56, 54, 54, 0.25);
padding: 0.5em;
padding-bottom: 0;
margin: 0 auto;
margin-top: 5vh;
}
.header {
display: flex;
justify-content: center;
text-transform: uppercase;
font-size: 1.5vw;
}
.title {
display: flex;
justify-content: center;
}
.lg-heading {
display: inline-block;
}
.sm-heading {
display: inline-block;
font-size: 2.5vw;
}
.icons {
display: flex;
justify-content: space-around;
flex-direction: row;
margin-top: 0.5em !important;
margin-bottom: 0.5em !important;
}
.icon {
display: flex;
justify-content: center;
}
.more-info {
display: flex;
padding: 0;
margin: 0;
justify-content: center;
align-content: center;
width: 100%;
flex-flow: wrap;
text-transform: uppercase;
}
.more-info a{
display: flex;
color: black;
padding: 0.5em;
margin: 0;
justify-content: center;
align-content: center;
width: 100%;
flex-flow: wrap;
border: 0.25px solid rgba(56, 54, 54, 0.25);
cursor: pointer;
}
a {
text-decoration: none !important;
}
.more-infos a:hover {
color: white;
background: black;
transition: all 1s ease-out;
}
.lg-heading {
font-size: 3em;
}
.icons a{
color:black;
display: inline-block;
}
.icons a:hover {
color: #e61e1e;
transition: all 1s ease-out;
}
.card-img-top {
height: 15em;
width: 5em;
border: 2px solid grey;
opacity: 0.5;
transition: all 1s ease-out;
}
.card-img-top:hover {
opacity: 1;
}
.card{
margin: 2%;
}
.card-title a:link {
text-decoration: none !important;
}
.card-title a{
color: black;
transition: all 0.5s ease-out;
padding: 0 0.1em;
}
.card-title a:hover {
color: rgb(202, 194, 194);
background:black;
}
.tuna {
animation: walk-cycle 1s steps(12) infinite;
background: url(http://stash.rachelnabors.com/img/codepen/tuna_sprite.png) 0 0 no-repeat;
height: 200px;
width: 400px;
position: absolute;
bottom: 1px;
left: 50%;
margin-left: -200px;
transform: translateZ(0); /* offers a bit of a performance boost by pushing some of this processing to the GPU in Safari*/
}
@keyframes walk-cycle {
0% {background-position: 0 0; }
100% {background-position: 0 -2391px; }
}
.foreground, .midground, .background {
width: 100%;
height: 100%;
position: absolute;
top: 0; left: 0;
translate3d(0,0,0);
}
.foreground {
animation: parallax_fg linear 10s infinite both;
background: url(http://stash.rachelnabors.com/24ways2012/foreground_grass.png) 0 100% repeat-x;
z-index: -1;
}
@keyframes parallax_fg {
0% { background-position: -3584px 100%;}
100% {background-position: 0 100%; }
}
.midground {
animation: parallax_mg linear 20s infinite;
background: url(http://stash.rachelnabors.com/24ways2012/midground_grass.png) 0 100% repeat-x;
z-index: -2;
}
@keyframes parallax_mg {
0% { background-position: -3000px 100%;}
100% {background-position: 0 100%; }
}
.background {
background-image:
url(http://stash.rachelnabors.com/24ways2012/background_mountain5.png),
url(http://stash.rachelnabors.com/24ways2012/background_mountain4.png),
url(http://stash.rachelnabors.com/24ways2012/background_mountain3.png),
url(http://stash.rachelnabors.com/24ways2012/background_mountain2.png),
url(http://stash.rachelnabors.com/24ways2012/background_mountain1.png);
background-repeat: repeat-x;
background-position: 0 100%;
z-index: -3;
animation: parallax_bg linear 40s infinite;
}
@keyframes parallax_bg {
100% { background-position-x: 2400px, 2000px, 1800px, 1600px, 1200px;}
}
body {
background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%),
#d2d2d2 url(http://stash.rachelnabors.com/24ways2012/background_clouds.png);
}