From 4194b03e980ac68e0fd07e183189fbe93dfefdce Mon Sep 17 00:00:00 2001 From: IgrisBRC Date: Sun, 14 Jul 2024 13:43:36 +0530 Subject: finnnallyyyy... added make move to the game, its a bit shitty, i'll make it prettier later --- public/style.css | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 public/style.css (limited to 'public/style.css') diff --git a/public/style.css b/public/style.css new file mode 100644 index 0000000..7c0c693 --- /dev/null +++ b/public/style.css @@ -0,0 +1,66 @@ +*{ + margin: 0; + padding: 0; +} + +.box{ + height: 76px; + width: 76px; + position: relative; +} +.top-corner{ + padding: 1px; + position: absolute; +} +.bottom-corner{ + padding: 1px; + position: absolute; + bottom: 2px; + right: 2px; +} + +.white{ + background-color: #eaead2; + /*background-color: #4b7299; */ + color: #4b7299; +} + +.black{ + background-color: #4b7299; + color: #eaead2; +} + +body{ + height: 100vh; + width: 100vw; + display: flex; + justify-content: center; + align-items: center; + margin: 1px; +} + +.chess-board{ + width: 608px; + height: 608px; + display: grid; + grid-template-columns:repeat(8,1fr); + grid-template-rows:repeat(8,1fr); +} + +.piece { + color: black; + text-align:center; + font-size:50px; +} + +.highlight { + background-color: yellow; +} + +.w { + color: white; +} + +.b { + color: black; +} -- cgit v1.2.3