Skip to content

Commit

Permalink
style html centered etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Elucidation committed Feb 27, 2024
1 parent 926ce7d commit b81c3fe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
body {
font-family: monospace; /* Fixed-width font for better alignment */
background-color: #f0f0f0; /* Light background */
color: #333; /* Dark text color */
text-align: center;
line-height: 1.6; /* Adjust spacing between rows */
}

#chessboard {
font-family: "Chess", sans-serif;
display: grid;
width: fit-content;
grid-template-columns: repeat(8, 32px);
grid-template-rows: repeat(8, 32px);
border-collapse: collapse;
margin: 2px;
margin: 20px auto;
}

.square {
Expand Down

0 comments on commit b81c3fe

Please sign in to comment.