use CSS for KotH board decorations

pull/899/head
Niklas Fiekas 2015-09-05 12:52:08 +02:00
parent 3bca62ac29
commit ec75ec4c3f
17 changed files with 11 additions and 45 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 772 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 486 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View File

@ -379,53 +379,19 @@ div.lichess_board {
#top div.color_demo.maple {
background-image: url(../images/board/maple.jpg);
}
/* KotH boards */
.blue .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/blue.jpg);
}
.blue2 .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/blue2.jpg);
}
.blue3 .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/blue3.jpg);
}
.wood2 .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/wood2.jpg);
}
.wood3 .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/wood3.jpg);
}
.marble .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/marble.jpg);
}
.brown .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/brown.jpg);
}
.green .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/green.jpg);
}
.olive .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/olive.jpg);
}
.purple .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/purple.jpg);
}
.grey .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/grey.jpg);
}
.wood .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/wood.jpg);
}
.canvas .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/canvas.jpg);
}
.leather .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/leather.jpg);
}
.metal .is2d .kingOfTheHill .cg-board {
background-image: url(../images/board/koth/metal.jpg);
/* KotH board decoration */
.kingOfTheHill .cg-board::after {
width: 25%;
height: 25%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
content: '';
position: absolute;
top: 37.5%;
left: 37.5%;
}
.is2d .cg-board-wrap.minimal-dom {
background: none;
}