Skip to content

Commit c3d1231

Browse files
committed
Added GitHub logo and classic Game Boy font
1 parent 8aaa313 commit c3d1231

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

early_gameboy.ttf

10.4 KB
Binary file not shown.

github-mark.svg

Lines changed: 1 addition & 0 deletions
Loading

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<link rel="stylesheet" href="styles.css">
88
</head>
99
<body>
10+
<a href="https://github.com/Adobe-Android/gb-rom-mapper-database">
11+
<img src="github-mark.svg" alt="GitHub Logo">
12+
</a>
1013
<h2>Game Boy & Game Boy Color cartridges by mapper</h2>
1114
<button id="nomapper-btn" class="button">No Mapper</button>
1215
<button id="mbc1-btn" class="button">MBC1</button>

styles.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
@font-face {
2+
font-family: 'EarlyGameBoy';
3+
src: url('early_gameboy.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, Opera 10+, Safari 4.2+ */
4+
}
5+
16
body {
2-
font-family: Verdana, Geneva, Tahoma, sans-serif;
7+
font-family: 'EarlyGameBoy', Verdana, Geneva, Tahoma, sans-serif;
38
margin: 20px;
49
}
510

@@ -9,20 +14,33 @@ body {
914
gap: 15px; /* Space between columns */
1015
}
1116

17+
img {
18+
width: 80px;
19+
height: 80px;
20+
}
21+
1222
.button {
1323
padding: 10px 20px;
1424
font: inherit;
1525
cursor: pointer;
1626
}
1727

18-
@media (max-width: 992px) {
28+
@media (max-width: 1200px) {
1929
#container {
2030
grid-template-columns: repeat(2, auto); /* Use two columns instead of four */
2131
}
32+
img {
33+
width: 70px;
34+
height: 70px;
35+
}
2236
}
2337

2438
@media (max-width: 600px) {
2539
#container {
2640
grid-template-columns: repeat(1, auto); /* Use one column instead of four */
2741
}
42+
img {
43+
width: 60px;
44+
height: 60px;
45+
}
2846
}

0 commit comments

Comments
 (0)