-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
51 lines (44 loc) · 889 Bytes
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
body {
font-family: Arial, sans-serif;
background-color: #f0f8ff;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
header {
text-align: center;
margin-bottom: 20px;
}
h1 {
color: #2e8b57;
}
.game-grid {
display: grid;
grid-template-columns: repeat(2, 1fr); /* Two columns in each row */
gap: 20px; /* Spacing between the boxes */
width: 100%;
max-width: 1200px; /* Limits the maximum width of the grid */
}
.game-column {
background-color: #f9f9f9;
border: 2px solid #2e8b57;
border-radius: 8px;
padding: 20px;
text-align: center;
transition: transform 0.2s;
}
.game-column:hover {
transform: scale(1.05); /* Slightly enlarge the box on hover */
}
h2 {
margin-top: 0;
}
a {
text-decoration: none;
color: #007bff;
}
p {
margin: 10px 0 0;
}