diff --git a/public/css/main.css b/public/css/main.css index 63fe325..16654ce 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -23,36 +23,39 @@ body { border-radius: 10px; } .black-player .overlay:hover { - background-color: black; } + background-image: url("../svg/black.svg"); } .white-player .overlay:hover { - background-color: white; } + background-image: url("../svg/white.svg"); } .board-cell { display: inline-block; position: relative; - padding: 5.55556%; } + background-image: url("../svg/cross.svg"); + background-size: 100%; + padding: 5.5555555556%; } .board-cell .overlay { position: absolute; box-sizing: border-box; - top: 10%; - left: 10%; - width: 80%; - height: 80%; - border-radius: 50%; - transition: background-color .25s; } + top: 0%; + left: 0%; + width: 100%; + height: 100%; + background-image: url("../svg/cross.svg"); + transition: background-image .25s; + background-size: 100%; } .board-cell.small { - padding: 5.55556%; } + padding: 5.5555555556%; } .board-cell.medium { - padding: 3.84615%; } + padding: 3.8461538462%; } .board-cell.large { - padding: 2.63158%; } + padding: 2.6315789474%; } .black-cell .overlay { - background-color: black; } + background-image: url("../svg/black.svg"); } .white-cell .overlay { - background-color: white; } + background-image: url("../svg/white.svg"); } .split-wrapper { display: flex; diff --git a/public/svg/black.svg b/public/svg/black.svg new file mode 100644 index 0000000..6579684 --- /dev/null +++ b/public/svg/black.svg @@ -0,0 +1,59 @@ + + + + + + image/svg+xml + + + + + + + + + diff --git a/public/svg/circle.svg b/public/svg/circle.svg new file mode 100644 index 0000000..bc301dc --- /dev/null +++ b/public/svg/circle.svg @@ -0,0 +1,58 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/public/svg/cross.svg b/public/svg/cross.svg new file mode 100644 index 0000000..6b36ac4 --- /dev/null +++ b/public/svg/cross.svg @@ -0,0 +1,64 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/public/svg/white.svg b/public/svg/white.svg new file mode 100644 index 0000000..1aae189 --- /dev/null +++ b/public/svg/white.svg @@ -0,0 +1,59 @@ + + + + + + image/svg+xml + + + + + + + + +