-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
131 lines (112 loc) · 2.24 KB
/
style.css
File metadata and controls
131 lines (112 loc) · 2.24 KB
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
131
/* ================= RESET ================= */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
}
body {
font-family: Arial, Helvetica, sans-serif;
background: #000;
color: #fff;
overflow-x: hidden;
/* Make all text bold and centered */
font-weight: bold;
text-align: center;
}
/* ================= HEADER ================= */
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 22px;
background: #0b0b0b;
border-bottom: 1px solid #1c1c1c;
}
header h1 {
font-size: 22px;
}
/* NAV LINKS */
nav a {
margin-left: 18px;
font-size: 14px;
color: #bbb;
text-decoration: none;
}
.hunsy-logo {
display: block;
margin: 20px auto; /* center + more space on top */
width: 300px; /* BIG size — adjust up or down as needed */
height: auto;
max-width: 90%; /* prevents it from overflowing on mobile */
filter: drop-shadow(0 0 10px rgba(183,132,255,0.6));
}
nav a:hover {
color: #fff;
}
/* SEARCH INPUT */
#search {
background: #151515;
border: none;
border-radius: 6px;
padding: 6px 10px;
color: #fff;
outline: none;
}
/* ================= MAIN ================= */
main {
padding: 22px;
}
/* ================= GAME GRID ================= */
#gameGrid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 16px;
}
/* ================= GAME CARD ================= */
.game {
background: #111;
border-radius: 12px;
overflow: hidden;
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.game:hover {
transform: translateY(-4px);
box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}
/* GAME IMAGE */
.game img {
width: 100%;
height: 85px;
object-fit: cover;
display: block;
}
/* GAME TITLE */
.game span {
height: 46px;
display: flex;
align-items: center;
justify-content: center;
font-size: 17px;
background: #0d0d0d;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 1400px) {
#gameGrid {
grid-template-columns: repeat(6, 1fr);
}
}
@media (max-width: 1000px) {
#gameGrid {
grid-template-columns: repeat(4, 1fr);
}
}
@media (max-width: 600px) {
#gameGrid {
grid-template-columns: repeat(2, 1fr);
}
}