Initial commit with HTML and CSS
This commit is contained in:
34
MainPageStyle.css
Normal file
34
MainPageStyle.css
Normal file
@@ -0,0 +1,34 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
max-width: 900px;
|
||||
margin: 50px auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.games-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.game-card {
|
||||
border: 1px solid #ccc;
|
||||
padding: 30px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.game-card h2 {
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
.game-card p {
|
||||
margin: 0;
|
||||
color: #666;
|
||||
}
|
||||
Reference in New Issue
Block a user