diff --git a/webapp/src/components/Board/index.css b/webapp/src/components/Board/index.css index 7300b29..01daafe 100644 --- a/webapp/src/components/Board/index.css +++ b/webapp/src/components/Board/index.css @@ -1,3 +1,11 @@ +.board { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + /* scale: 15%; */ +} + .tile { border: 1px solid #e4e4e4; float: left; @@ -10,22 +18,12 @@ margin-top: -1px; padding: 0; text-align: center; - } -.black { +.tile.black { background: lightgray; } -.board { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - /* scale: 15%; */ - -} - -.white:hover { +.tile.white:hover { background-color:azure; -} \ No newline at end of file +} diff --git a/webapp/src/components/Stone/index.css b/webapp/src/components/Stone/index.css index 692688e..debebf0 100644 --- a/webapp/src/components/Stone/index.css +++ b/webapp/src/components/Stone/index.css @@ -1,7 +1,3 @@ -.white-stone { - cursor: default; -} - -.black-stone { - cursor: default; +.stone { + cursor: default; /* disable 'I beam' cursor change */ } \ No newline at end of file diff --git a/webapp/src/components/Stone/index.jsx b/webapp/src/components/Stone/index.jsx index 90820f9..829782c 100644 --- a/webapp/src/components/Stone/index.jsx +++ b/webapp/src/components/Stone/index.jsx @@ -15,11 +15,11 @@ export function Stone( color ) { } export function WhiteStone() { - return + return } export function BlackStone() { - return + return } export function oppositeColor(color) {