Viktor Schwanneke, Tetsuji, Talnet & Saint-Germain-l'Aiguiller
This commit is contained in:
parent
631921282c
commit
4144081e6a
2 changed files with 7 additions and 5 deletions
|
@ -151,15 +151,15 @@ var Deck = (function () {
|
|||
return document.createElement(type);
|
||||
}
|
||||
|
||||
var maxZ = 100;
|
||||
var maxZ = 30;
|
||||
|
||||
function _card(i) {
|
||||
var transform = prefix('transform');
|
||||
|
||||
// calculate rank/suit, etc..
|
||||
var rank = i % 13 + 1;
|
||||
var suit = i / 50 | 0;
|
||||
var z = (100 - i) / 2;
|
||||
var suit = i / 13 | 0;
|
||||
var z = (30 - i) / 2;
|
||||
|
||||
// create elements
|
||||
var $el = createElement('div');
|
||||
|
|
|
@ -243,6 +243,8 @@ body {
|
|||
.card.spades.rank13 .face {
|
||||
background-image: url("faces/c3.png");
|
||||
}
|
||||
|
||||
|
||||
.card.hearts.rank1 .face {
|
||||
background-image: url("faces/c3.png");
|
||||
}
|
||||
|
@ -277,10 +279,10 @@ body {
|
|||
background-image: url("faces/c3.png");
|
||||
}
|
||||
.card.hearts.rank12 .face {
|
||||
background-image: url("faces/1_c3.png");
|
||||
background-image: url("faces/c3.png");
|
||||
}
|
||||
.card.hearts.rank13 .face {
|
||||
background-image: url("faces/1_c3.png");
|
||||
background-image: url("faces/c3.png");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue