wyrian/css/style.css

166 lines
2.8 KiB
CSS
Raw Normal View History

2011-02-13 05:19:58 +00:00
/* BASICS */
.orbitron {
font-family: 'Orbitron', serif;
font-style: normal;
font-weight: 400;
text-shadow: none;
text-decoration: none;
text-transform: none;
letter-spacing: 0em;
word-spacing: 0em;
line-height: 1.2;
}
.container {
2011-02-11 23:27:34 +00:00
width: 100%;
height: 100%;
}
2011-02-13 05:19:58 +00:00
.container .layout {
2011-02-11 23:27:34 +00:00
width: 100%;
height: 100%;
position: absolute;
2011-02-13 05:19:58 +00:00
display: block;
2011-02-11 23:27:34 +00:00
top: 0;
right: 0;
2011-02-13 05:19:58 +00:00
overflow: hidden;
2011-02-11 23:27:34 +00:00
}
2011-02-13 05:19:58 +00:00
#background {
background: transparent url(/images/debug-bg.jpg) repeat 0 0;
z-index: 0;
}
#ground { z-index: 30; }
#game { z-index: 60; }
/* The Ship */
#game #ship {
2011-02-11 23:27:34 +00:00
position: absolute;
2011-02-13 05:19:58 +00:00
display: none;
top:0;
left:0;
background: transparent;
2011-02-11 23:27:34 +00:00
}
2011-02-13 05:19:58 +00:00
#ship .wing {
2011-02-11 23:27:34 +00:00
position: absolute;
2011-02-13 05:19:58 +00:00
top:33px;
left:6px;
display: block;
width: 70px;
height: 55px;
background: transparent url(/images/sprites/wings_eagle_sprite.png) no-repeat 0 0;
}
#ship .wing.right { left: 83px; background-position: right 0; }
#ship .ship-body {
position: absolute;
display: block;
top: 20px;
left: 0;
width: 154px;
height: 137px;
background: transparent url(/images/sprites/spaceship_body.png) no-repeat 0 0;
}
#ship .ship-canon {
position: absolute;
display: block;
top:0;
left: 71px;
width: 18px;
height: 40px;
background: transparent url(/images/sprites/weapon_pilot.png) no-repeat 0 0;
}
#ship .ship-foray {
position: absolute;
display: block;
top:30px;
left: 117px;
width: 19px;
height: 33px;
background: transparent url(/images/sprites/weapon_foray.png) no-repeat 0 0;
}
#ship .ship-foray.right {
background-position: right 0;
left: 24px;
}
#ship .ship-reactor {
position: absolute;
display: block;
background: transparent url(/images/sprites/reactor_drum.png) no-repeat 0 0;
top:85px;
left:72px;
width: 15px;
height: 14px;
}
#ship .ship_reactor_fire {
position: absolute;
display: block;
background: transparent url(/images/sprites/reactor_fire_sprite.png) no-repeat 0px 0;
top:88px;
left: 58px;
width: 44px;
height: 68px;
}
/* Ennemies */
/*#game .ennemy { border: 1px solid blue; } */
/* The HUD */
#hud {
2011-02-11 23:27:34 +00:00
z-index: 90;
}
2011-02-13 05:19:58 +00:00
#hud #score {
font-size:36px;
text-transform: uppercase;
color:#fff;
font-weight: bold;
text-shadow: 0 0 5px rgba(115, 171, 255, 0.4) ;
position: absolute;
display: block;
top:20px;
right: 30px;
}
#hud #activeElements {
font-size:13px;
text-transform: uppercase;
color:#fff;
font-weight: bold;
text-shadow: 0 0 5px rgba(115, 171, 255, 0.4) ;
position: absolute;
display: block;
top:100px;
right: 30px;
}
#hud #fpsCounter {
font-size:20px;
text-transform: uppercase;
color:#fff;
font-weight: bold;
text-shadow: 0 0 5px rgba(115, 171, 255, 0.4) ;
position: absolute;
display: block;
top:67px;
right: 30px;
}
/* Debug Panel */
#debug {
2011-02-11 23:27:34 +00:00
position: absolute;
2011-02-13 05:19:58 +00:00
display: block;
right: 10px;
top: 10px;
color:#fff;
z-index: 1000;
2011-02-11 23:27:34 +00:00
}