Skip to content

Commit

Permalink
Create styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditi22Bansal authored Jul 21, 2024
1 parent ede4ba6 commit a4faec2
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions MultiPlayer - Games/Capture the flag/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 0;
}

h1 {
margin-top: 20px;
}

#game-board {
display: grid;
grid-template-columns: repeat(5, 50px);
grid-template-rows: repeat(5, 50px);
gap: 5px;
justify-content: center;
margin-top: 20px;
}

.cell {
width: 50px;
height: 50px;
background-color: lightgray;
border: 1px solid #000;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
cursor: pointer;
}

.player1 {
background-color: lightblue;
}

.player2 {
background-color: lightcoral;
}

.flag1, .flag2 {
font-weight: bold;
}

0 comments on commit a4faec2

Please sign in to comment.