-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (96 loc) · 1.76 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* Reset default browser styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f0f0f0;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background-color: #1a1a1a;
color: #f0f0f0;
}
header a {
color: #f0f0f0;
text-decoration: none;
transition: color 0.3s;
}
header a:hover {
color: #ff6b6b;
}
main {
padding: 2rem;
}
.hero {
text-align: center;
margin-bottom: 2rem;
padding: 2rem;
background-color: #4ecdc4;
color: #1a1a1a;
border-radius: 5px;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.game-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.game-card {
background-color: #fff;
padding: 1rem;
text-align: center;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.game-card:hover {
transform: translateY(-5px);
}
.game-card img {
width: 100%;
height: auto;
margin-bottom: 1rem;
border-radius: 5px;
}
.play-button {
display: inline-block;
background-color: #ff6b6b;
color: #f0f0f0;
padding: 0.5rem 1rem;
text-decoration: none;
border-radius: 5px;
margin-top: 1rem;
transition: background-color 0.3s;
}
.play-button:hover {
background-color: #ff4f4f;
}
.about {
margin-top: 2rem;
text-align: center;
}
footer {
background-color: #1a1a1a;
color: #f0f0f0;
padding: 1rem;
text-align: center;
}
footer a {
color: #f0f0f0;
text-decoration: none;
margin: 0 0.5rem;
transition: color 0.3s;
}
footer a:hover {
color: #ff6b6b;
}