1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2025-01-10 16:29:48 +00:00

c64: book

This commit is contained in:
Steven Hugg 2024-11-13 18:30:17 -06:00
parent cd245c5b84
commit bb78a4b01a
4 changed files with 10 additions and 1 deletions

View File

@ -604,6 +604,8 @@ div.asset_toolbar {
}
.book-active span {
font-weight: bold;
color: #339999;
font-size: 1.25em;
}
.book-active span::after {
font-size: x-large;

BIN
images/book_c64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -260,7 +260,13 @@ body {
<li>
<a class="dropdown-item dropdown-link book-nes" target="_book_nes" href="https://www.amazon.com/gp/product/1075952727/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1075952727&linkCode=as2">
<img src="images/book_nes.png"/>
&nbsp;&nbsp;<span class="book-title">Making Games For The NES</span>
&nbsp;&nbsp;<span class="book-title">Making Games for the NES</span>
</a>
</li>
<li>
<a class="dropdown-item dropdown-link book-c64" target="_book_c64" href="https://www.amazon.com/dp/B0DMKH8NGL">
<img src="images/book_c64.png"/>
&nbsp;&nbsp;<span class="book-title">Making Games for the C-64</span>
</a>
</li>
</ul>

View File

@ -1774,6 +1774,7 @@ function updateBooksMenu() {
if (getRootBasePlatform(platform_id) == 'nes') $(".book-nes").addClass("book-active");
else if (getRootBasePlatform(platform_id) == 'vcs') $(".book-vcs").addClass("book-active");
else if (getRootBasePlatform(platform_id) == 'verilog') $(".book-verilog").addClass("book-active");
else if (getRootBasePlatform(platform_id) == 'c64') $(".book-c64").addClass("book-active");
else if (platform.getToolForFilename(getCurrentMainFilename()) == 'sdcc') $(".book-arcade").addClass("book-active");
}