forked from leftypol/leftypol
Add fireworks javascript and CSS
This commit is contained in:
parent
93e3b76b97
commit
b8dec91885
18 changed files with 1035 additions and 0 deletions
60
stylesheets/fireworks.css
Executable file
60
stylesheets/fireworks.css
Executable file
|
@ -0,0 +1,60 @@
|
|||
/* fireworks styles */
|
||||
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#fireworks-template {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#fireContainer {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
z-index:706;
|
||||
}
|
||||
|
||||
.firework {
|
||||
/* containing box which flies out first */
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
font-size:1px;
|
||||
width:4px;
|
||||
height:4px;
|
||||
border:1px solid #333;
|
||||
background:#666;
|
||||
}
|
||||
|
||||
.fireworkParticle {
|
||||
/* elements that explode from the container */
|
||||
position:absolute;
|
||||
font-size:1px;
|
||||
width:10px;
|
||||
height:10px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.fireworkParticle img {
|
||||
display:block;
|
||||
width:100px;
|
||||
}
|
||||
|
||||
#sound {
|
||||
position:absolute;
|
||||
left:-706px;
|
||||
top:-706px;
|
||||
}
|
||||
|
||||
#debug {
|
||||
position:absolute;
|
||||
left:8px;
|
||||
top:8px;
|
||||
width:220px;
|
||||
height:165px;
|
||||
overflow:hidden;
|
||||
color:#666;
|
||||
display:none;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue