-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
132 lines (113 loc) · 2.2 KB
/
Copy pathstyles.css
File metadata and controls
132 lines (113 loc) · 2.2 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
132
h1{
padding:0;
display:block;
font-size:4em;
font-family: "Lato", sans-serif;
}
#sidetabs{
width:200px;
margin:auto;
}
#sidetabs>ul{
list-style-type:none;
}
.sidenav {
height: 100vh;
width: 200px;
position: fixed;
z-index: 10;
top: 0;
left: 0;
background-color: #333;
overflow-x: hidden;
padding-top: 20px;
}
.sidenav ul {
list-style-type: none;
}
.sidenav a {
height:30px;
line-height:30px;
margin-right:2px;
padding: 6px 6px 6px 32px;
border-radius:0 0 3px 3px;
text-decoration: none;
font-size: 25px;
color: #ffffff;
display: block;
}
.sidenav a:hover {
color: darkorange;
}
#sidetabs > div {
display: none;
padding: 15px;
background: #EAEAEA;
}
.main {
margin-left: 200px; /* Same as the width of the sidenav */
}
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
#tabs > div {
display: none;
padding: 15px;
background: #EAEAEA;
}
#tabs>div:first-of-type{
display:block;
}
#sidetabs>ul>li:first-of-type a{
color: darkorange;
}
p{
line-height:1.5em;
margin-bottom:1em;
}
.game-menu {
background: #1a1a1a;
padding: 2rem;
border: 4px solid #fff;
image-rendering: pixelated;
}
.pixel-text {
font-family: 'Press Start 2P', monospace;
color: #fff;
text-align: center;
text-shadow: 2px 2px #000;
}
.game-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.game-item {
background: #333;
padding: 1rem;
border: 3px solid #fff;
cursor: pointer;
text-align: center;
transition: transform 0.2s;
}
.game-item:hover {
transform: scale(1.05);
background: #444;
}
.pixel-icon {
width: 64px;
height: 64px;
margin: 0 auto 1rem;
background-size: contain;
image-rendering: pixelated;
}
/* Sprite icons - replace URLs with actual sprite images */
.snake { background-image: url('snake-sprite.png'); }
.tetris { background-image: url('tetris-sprite.png'); }
.pong { background-image: url('pong-sprite.png'); }