-
Notifications
You must be signed in to change notification settings - Fork 0
/
wwj.css
226 lines (189 loc) · 5.65 KB
/
wwj.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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
@charset "utf-8";
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background-color: #FFFFFF;
margin: 0;
padding: 0;
color: #333;
background-image: url(images/wwj_bg.png);
background-repeat: repeat-x ;
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color: #42413C;
text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
color: #6E6C64;
text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: none;
}
/* ~~ this fixed width container surrounds all other elements ~~ */
.container {
width: 960px;
background-color: #FFF;
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}
/* ~~ This is the layout information. ~~
1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
*/
.content {
padding: 10px 0;
}
/* ~~ miscellaneous float/clear classes ~~ */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the overflow:hidden on the .container is removed */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
/* added to make rotate */
.rotate {
animation: rotation 15s infinite linear ;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* ~~josh add ~~ */
@keyframes flickerAnimation {
0% { opacity:1; }
50% { opacity:.1; }
100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
0% { opacity:1; }
50% { opacity:.1; }
100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
0% { opacity:1; }
50% { opacity:.1; }
100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
0% { opacity:1; }
50% { opacity:.1; }
100% { opacity:1; }
}
.animate-flicker {
-webkit-animation: flickerAnimation .3s infinite;
-moz-animation: flickerAnimation .3s infinite;
-o-animation: flickerAnimation .3s infinite;
animation: flickerAnimation .3s infinite;
margin-top:13%;
}
/* ~~josh add audio button stuff~~ */
audio {
display: none;
}
button {
font-size: 22px;
color: #eee;
position: absolute;
top: 15%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
padding: 5px;
border: none;
border-radius: 2px;
outline: none;
background: black;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
opacity: 0.8;
cursor: pointer;
transition: all 0.4s ease-out;
}
button.fade:hover {
opacity: 0.8;
}
.fade {
opacity: 0.2;
top: 0;
left: 0;
transform: translate(0, 0);
}
/* ~~Z add responsive stuff~~ */
img { max-width: 100%; height: auto; }
/* Media Queries: Tablet Landscape */
@media screen and (max-width: 1060px) {
#primary { width:67%; }
#secondary { width:30%; margin-left:3%;}
}
/* Media Queries: Tabled Portrait */
@media screen and (max-width: 768px) {
#primary { width:80%; }
#secondary { width:80%; margin:0; border:none; }
}
/* ~~Z add keep wheel in place stuff~~ */
/* WAVES FOOTER JUNK BEGINS */
footer {
position: absolute;
font-size: 22px;
bottom: 0;
left: 0;
transform: translate(calc(50vw - 50%), -50%);
color: white;
}
footer a {
color: white;
}
#main {
margin: 80px 80px 0 80px;
}
@media only screen and (max-width: 600px) {
#main {
margin: 20px 20px 0 20px;
}
}
p {
font-size: 22px;
}
label {
font-size: 22px;
font-weight: bold;
display: block;
}
input {
display: block;
margin-bottom: 10px;
width: 100%;
max-width: 300px;
}
canvas {
position: absolute;
bottom: 0;
pointer-events: none;
width: 100%;
height: 50vh;
}
/* WAVES FOOTER JUNK ENDS */