chs/src-web/components/Board.css

63 lines
982 B
CSS
Raw Normal View History

2022-10-31 13:25:32 +00:00
.board {
font-family: 'Noto Sans Symbols 2', sans-serif;
display: grid;
grid-template-columns: repeat(8, auto);
}
.square {
width: 64px;
height: 64px;
font-size: 48px;
display: flex;
flex-direction: row;
align-items: baseline;
justify-content: center;
user-select: none;
cursor: default;
padding: auto;
position: relative;
border-radius: 8px;
}
.square.selectable {
cursor: pointer;
}
.light {
background-color: #c8a2c8;
/* color: #5d375d; */
}
.dark {
background-color: #5d375d;
/* color: #C8A2C8; */
}
.white {
color: white;
}
.black {
color: black;
}
.borderSelected {
position: absolute;
width: 64px;
height: 64px;
top: 0;
left: 0;
border: 4px solid yellowgreen;
border-radius: 8px;
}
.borderTarget {
position: absolute;
width: 32px;
height: 32px;
top: 16px;
left: 16px;
border: 4px solid yellowgreen;
border-radius: 999px;
}