Skip to content

Commit

Permalink
Html fix sudoku
Browse files Browse the repository at this point in the history
  • Loading branch information
rxqd committed Apr 2, 2024
1 parent a9f614a commit 40f42e5
Show file tree
Hide file tree
Showing 7 changed files with 1,009 additions and 1,335 deletions.
37 changes: 0 additions & 37 deletions bin/current.sh

This file was deleted.

4 changes: 3 additions & 1 deletion src/node/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<main>
<h1>HTML Sandbox</h1>
<h2>Sudoku Grid Tailwind Layout</h2>
<div class="grid grid-cols-3 grid-rows-3 gap-2">
<div class="container mx-auto w-80 mt-2">
<div class="grid grid-cols-3 grid-rows-3 gap-1">
<div class="item">
<div class="item__text">1</div>
<div class="item__text">2</div>
Expand Down Expand Up @@ -110,6 +111,7 @@ <h2>Sudoku Grid Tailwind Layout</h2>
<div class="item__text">8</div>
<div class="item__text">9</div>
</div>
</div>
</main>
<script type="module" src="script.js"></script>
</body>
Expand Down
5 changes: 2 additions & 3 deletions src/node/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
},
"engines": {
"node": "=20.x"
},
"packageManager": "[email protected]"
}
}
}
15 changes: 2 additions & 13 deletions src/node/html/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,10 @@
@tailwind utilities;

.item {
@apply gap-1 border justify-center items-center grid grid-cols-3 grid-rows-3 bg-cyan-600 border-sky-800;
@apply gap-1 border justify-center items-center grid grid-cols-3 grid-rows-3 bg-cyan-600 p-1;

}

.item__text {
@apply border flex justify-center items-center bg-blue-300 text-sky-950;
@apply border flex justify-center items-center text-sky-100 text-lg;
}


.item_old {
background: #219EBC;
border: 1px solid #054A91;
}

.item__text_ild {
background: #8ECAE6;
color: #023047;
}
2 changes: 0 additions & 2 deletions src/node/html/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export default {
},

},
"coffee",
"dark"
],
},
}
Expand Down
3 changes: 1 addition & 2 deletions src/node/html/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { defineConfig } from 'vite';
export default defineConfig({
plugins: [],
server: {
host: '0.0.0.0',
hmr: true,
host: '0.0.0.0'
}
})
Loading

0 comments on commit 40f42e5

Please sign in to comment.