Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavydov authored Dec 3, 2023
1 parent e10c703 commit 7c8a194
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* Стили для страницы */
body {
font-family: 'Arial', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
margin: 20px;
}

/* Стили для панели управления */
#controls {
margin-bottom: 10px;
}

/* Стили для игрового поля */
#game-container {
display: grid;
border: 1px solid #ccc;
}

/* Стили для клеток игрового поля */
.cell {
width: 20px;
height: 20px;
border: 1px solid #eee;
}

/* Стили для активных клеток */
.cell.active {
background-color: #3498db;
}

/* Стили для отображения текущего поколения */
#generation {
margin-top: 10px;
}

0 comments on commit 7c8a194

Please sign in to comment.