| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- #playgroundContainer {
- width: 448px;
- height: 512px;
- background-color: black;
- margin-left: auto;
- margin-right: auto;
- }
- .actor {
- width: 32px;
- height: 32px;
- position: relative;
- margin-top: -16px;
- margin-left: -16px;
- }
- /** TILES **/
- .tile {
- width: 16px;
- height: 16px;
- float: left;
- margin: 0px;
- padding: 0px;
- }
- .corner1 {
- background-image: url('../img/sprite.png');
- background-position: -0px -0px;
- }
- .corner2 {
- background-image: url('../img/sprite.png');
- background-position: -16px -0px;
- }
- .corner3 {
- background-image: url('../img/sprite.png');
- background-position: -32px 0px;
- }
- .corner4 {
- background-image: url('../img/sprite.png');
- background-position: -48px 0px;
- }
- .horizontalMidUp {
- background-image: url('../img/sprite.png');
- background-position: -96px -0px;
- }
- .horizontalMidDown {
- background-image: url('../img/sprite.png');
- background-position: -112px -0px;
- }
- .verticalMidLeft {
- background-image: url('../img/sprite.png');
- background-position: -64px -0px;
- }
- .verticalMidRight {
- background-image: url('../img/sprite.png');
- background-position: -80px -0px;
- }
- .squareCornerTopLeft {
- background-image: url('../img/sprite.png');
- background-position: -128px -0px;
- }
- .squareCornerTopRight {
- background-image: url('../img/sprite.png');
- background-position: -144px -0px;
- }
- .squareCornerBottomLeft {
- background-image: url('../img/sprite.png');
- background-position: -160px -0px;
- }
- .squareCornerBottomRight {
- background-image: url('../img/sprite.png');
- background-position: -176px -0px;
- }
- .gate {
- background-image: url('../img/sprite.png');
- background-position: -192px -0px;
- }
- .dot {
- background-image: url('../img/sprite.png');
- background-position: -208px -0px;
- }
- .bigDot {
- background-image: url('../img/sprite.png');
- background-position: -208px -16px;
- }
- .ghost {
- width: 32px;
- height: 32px;
- float: left;
- }
- .blinky {
- background-image: url('../img/sprite.png');
- background-position: -160px -48px;
- }
- .pinky {
- background-image: url('../img/sprite.png');
- background-position: -160px -80px;
- }
- .inky {
- background-image: url('../img/sprite.png');
- background-position: -160px -112px;
- }
- .clyde {
- background-image: url('../img/sprite.png');
- background-position: -160px -144px;
- }
- .cherries {
- background-image: url('../img/sprite.png');
- background-position: -208px -32px;
- }
- .strawberry {
- background-image: url('../img/sprite.png');
- background-position: -208px -48px;
- }
- .peach {
- background-image: url('../img/sprite.png');
- background-position: -208px -64px;
- }
- .apple {
- background-image: url('../img/sprite.png');
- background-position: -208px -80px;
- }
- .grapes {
- background-image: url('../img/sprite.png');
- background-position: -208px -96px;
- }
- .galaxian {
- background-image: url('../img/sprite.png');
- background-position: -208px -112px;
- }
- .bell {
- background-image: url('../img/sprite.png');
- background-position: -208px -128px;
- }
- .key {
- background-image: url('../img/sprite.png');
- background-position: -208px -144px;
- }
- .description {
- padding-left: 40px;
- line-height: 3em;
- vertical-align: middle;
- }
- /** HUD **/
- #message {
- position : absolute;
- left : 50%;
- top : 50%;
- }
- #level {
- position : relative;
- top: -10px;
- left: 5px;
- }
- #levelNumber {
- position : relative;
- top: -14px;
- float: left;
- margin-left: 100px;
- }
- #lives {
- position: absolute;
- top: -1px;
- right: 10px;
- }
- #scoreMessage {
- position: absolute;
- right: 0px;
- }
- .life {
- width: 32px;
- height: 32px;
- float: left;
- background-image: url('../img/sprite.png');
- background-position: 0px -16px;
- }
- /** SCOREBOARD**/
- .clock {
- background : transparent url("../img/font.png") no-repeat top left;
- height:32px;
- width:32px;
- float:left;
- }
- .clock.red {
- background : transparent url("../img/font-red.png") no-repeat top left;
- }
- .clock.yellow {
- background : transparent url("../img/font-yellow.png") no-repeat top left;
- }
- .clock.small {
- position: relative;
- top: 45%;
- height: 16px;
- width: 16px;
- }
- .n0 {
- background-position : 0px 0px;
- }
- .n1 {
- background-position : -32px 0px;
- }
- .n2 {
- background-position : -64px 0px;
- }
- .n3 {
- background-position : -96px 0px;
- }
- .n4 {
- background-position : -128px 0px;
- }
- .n5 {
- background-position : -160px 0px;
- }
- .n6 {
- background-position : -192px 0px;
- }
- .n7 {
- background-position : -224px 0px;
- }
- .n8 {
- background-position : -256px 0px;
- }
- .n9 {
- background-position : -288px 0px;
- }
- .hiddenDot {
- visibility: hidden;
- }
|