diff options
author | IgrisBRC <[email protected]> | 2024-07-13 11:38:32 +0530 |
---|---|---|
committer | IgrisBRC <[email protected]> | 2024-07-13 11:38:32 +0530 |
commit | 5edc39fcc24d95a7c52e69da49b3853c6d969f4a (patch) | |
tree | 6d18901d28e7fd36206c33cc72e6fb4d13862ebe /public/index.css | |
parent | 6355b9725ac4e18f8001ff7c9be73e8f78fd1d31 (diff) |
refactored the project
Diffstat (limited to 'public/index.css')
-rw-r--r-- | public/index.css | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/public/index.css b/public/index.css new file mode 100644 index 0000000..08324aa --- /dev/null +++ b/public/index.css @@ -0,0 +1,47 @@ +*{ + 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; + 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); +} |