Skip to content

Commit

Permalink
Merge pull request #968 from krutikajichkar/krutikajichkar
Browse files Browse the repository at this point in the history
Fixed rule color of TIC TAC TOE
  • Loading branch information
panwar8279 committed Aug 7, 2023
2 parents f52fa1f + f9e6a2f commit 5c0f531
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/Games/Tictactoe/tictactoe.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
text-align: center;
}

ul li {
color: white;
font-size: 20px;
}

.h2,
.h3,
.h4,
Expand All @@ -21,6 +26,7 @@
padding: 12px;
margin: 10px;
text-align: center;
cursor: pointer;
}
.text_color {
color: white;
Expand Down Expand Up @@ -101,12 +107,14 @@

.resetButton {
background-color: #4ba4eb;
border: none;
color: white;
font-size: 1.2em;
padding: 20px;
margin-top: 12px;
border-radius: 4px;
font-family: "Peralta", cursive;
cursor: pointer;
}

.gameOver {
Expand Down
2 changes: 1 addition & 1 deletion src/Games/Tictactoe/tictactoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function Tictactoe() {
<summary >
<h2 className="h2">Rules:</h2>
</summary>
<p style="color: #e5dddd;">
<p style={{color:"#e5dddd"}}>
<ul>
<li>Player X always goes first</li>
<li>Click any square to start game</li>
Expand Down

0 comments on commit 5c0f531

Please sign in to comment.