From a6a839ea0140c9a7f751159a3c1e2e71add65742 Mon Sep 17 00:00:00 2001 From: 63db3122f0950a2aef64df95 <63db3122f0950a2aef64df95@devide> Date: Mon, 19 Jun 2023 07:47:47 +0000 Subject: [PATCH] Auto Commit --- src/App.vue | 146 ++++++++++++++++++++++++++++++++++++++++---- src/assets/main.css | 76 ++++++++++++++++++++++- 2 files changed, 208 insertions(+), 14 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6b1bf3e..3053bd0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,28 +1,148 @@ diff --git a/src/assets/main.css b/src/assets/main.css index 82a2b7b..a8b5d22 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,6 +1,6 @@ @import "./base.css"; -*{ +* { margin: 0; padding: 0; } @@ -9,5 +9,79 @@ margin: 0 auto; font-weight: normal; + cursor: pointer; } +.content { + padding: 6px; + box-sizing: border-box; +} + +.flex-between { + display: flex; + justify-content: space-between; + align-items: center; +} + +input { + width: 60px; +} + +.border-top { + border-top: 1px solid #ccc; +} + +.content-lattice { + display: flex; + justify-content: center; +} + +.row { + display: flex; + flex-direction: column; +} + +.col { + width: 20px; + height: 20px; + text-align: center; + line-height: 20px; + position: relative; +} + +.col::after { + content: ''; + line-height: 0px; + text-align: center; + height: 1px; + width: 100%; + background: #999; + position: absolute; + top: calc(50% - 1px); + left: 0; +} + +.col::before { + content: ''; + width: 1px; + height: 100%; + background: #999; + position: absolute; + left: calc(50% - 1px); + top: 0; +} + +.isWhite::after { + content: 'O'; + color: brown; +} + +.isBlack::after { + content: 'O'; + color: black; +} + +.isWin::after { + content: 'O'; + color: red; +} \ No newline at end of file -- GitLab