-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (109 loc) · 2.05 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* Resetting default margin and padding for all elements */
@import url('https://fonts.googleapis.com/css2?family=Orbitron&family=Pixelify+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@500&family=Orbitron&family=Pixelify+Sans&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styles */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
}
/* Header styles */
header {
background-color: #000000;
color: rgb(0, 0, 0);
text-align: center;
padding: 20px 0;
display: flex;
justify-content: space-between;
/* Distributes space between elements */
align-items: center;
/* Centers items vertically */
}
.logo h1 {
font-family: 'Orbitron', sans-serif;
color: white;
padding-left: 10px;
letter-spacing: 0.8em;
}
nav ul {
list-style-type: none;
}
nav li {
display: inline;
margin-right: 20px;
}
nav a {
font-family: 'Dosis', sans-serif;
font-weight: 700;
color: rgb(255, 255, 255);
text-decoration: none;
font-size: 18px;
}
nav a:hover {
color: #ddd;
}
/* Main content styles */
main {
padding: 20px;
}
section {
margin-bottom: 30px;
}
section h2 {
margin-bottom: 15px;
}
/* Footer styles */
footer {
background-color: #000000;
color: rgb(255, 255, 255);
text-align: center;
padding: 10px 0;
position: absolute;
bottom: 0;
width: 100%;
}
.games-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
/* Individual game card styles */
.game {
width: 300px;
border: 1px solid #ccc;
border-radius: 5px;
padding: 15px;
margin: 10px;
text-align: center;
}
.game img {
width: 100%;
max-height: 200px;
object-fit: cover;
border-radius: 5px;
margin-bottom: 10px;
}
.game h3 {
margin-bottom: 5px;
}
.game p {
font-size: 14px;
margin-bottom: 15px;
}
.game button {
padding: 8px 20px;
background-color: #333;
color: white;
border: none;
border-radius: 3px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.game button:hover {
background-color: #555;
}