[SC64][WEB] Updated website content + made menu buttons bigger

This commit is contained in:
Mateusz Faderewski 2024-01-21 20:37:07 +01:00
parent f7eb6a73b4
commit 17c12f5957
3 changed files with 47 additions and 24 deletions

View File

@ -18,12 +18,12 @@
<div class="menu-container"> <div class="menu-container">
<div class="menu-bar"> <div class="menu-bar">
<div class="menu-buttons"> <div class="menu-buttons">
<img src="sc64.svg"> <a href="/"><img src="sc64.svg"></a>
<a onclick="showMenu(event)"> <div class="menu-button" onclick="showMenu(event)">
<div class="menu-button-line"></div> <div class="menu-button-line"></div>
<div class="menu-button-line"></div> <div class="menu-button-line"></div>
<div class="menu-button-line"></div> <div class="menu-button-line"></div>
</a> </div>
</div> </div>
<menu class="mobile-hidden"> <menu class="mobile-hidden">
<li><a href="/">Home</a></li> <li><a href="/">Home</a></li>
@ -76,6 +76,13 @@
the SummerCart64.</p> the SummerCart64.</p>
</article> </article>
<article>
<h3>Full control of boot process</h3>
<p>Direct mode makes testing possible without any interference from the bootloader embedded into
SummerCart64, perfect for trying out custom IPL3 replacements giving you control right after
N64 boots up.</p>
</article>
<article> <article>
<h3>Dedicated terminal PC app</h3> <h3>Dedicated terminal PC app</h3>
<p>Powerful, and yet simple, <a <p>Powerful, and yet simple, <a
@ -88,7 +95,7 @@
<p>SummerCart64 was born as a device for homebrew development first. As a consequence it <p>SummerCart64 was born as a device for homebrew development first. As a consequence it
incorporates many features to ease development of your own games:</p> incorporates many features to ease development of your own games:</p>
<ul> <ul>
<li>Dedicated PC app for loading ROMs and console access.</li> <li>Dedicated PC app for loading ROMs and debug terminal access.</li>
<li>Simple, command based, communication protocol - both on the USB and N64 side.</li> <li>Simple, command based, communication protocol - both on the USB and N64 side.</li>
<li>microSD card interface with simple, block based, protocol.</li> <li>microSD card interface with simple, block based, protocol.</li>
<li>Fast USB interface with well documented protocol.</li> <li>Fast USB interface with well documented protocol.</li>
@ -161,8 +168,9 @@
<ul> <ul>
<li>Real time clock</li> <li>Real time clock</li>
<li>CR2032 RTC backup battery</li> <li>CR2032 RTC backup battery</li>
<li>N64 bootloader capable of loading menu binary from the microSD card and displaying error <li>Embedded N64 bootloader capable of loading menu binary from the microSD card and displaying
messages</li> error messages</li>
<li>Option to disable embedded N64 bootloader (direct mode)</li>
<li>Firmware updatable via USB interface</li> <li>Firmware updatable via USB interface</li>
<li>Seamless power switching between USB and N64</li> <li>Seamless power switching between USB and N64</li>
</ul> </ul>

View File

@ -18,12 +18,12 @@
<div class="menu-container"> <div class="menu-container">
<div class="menu-bar"> <div class="menu-bar">
<div class="menu-buttons"> <div class="menu-buttons">
<img src="sc64.svg"> <a href="/"><img src="sc64.svg"></a>
<a onclick="showMenu(event)"> <div class="menu-button" onclick="showMenu(event)">
<div class="menu-button-line"></div> <div class="menu-button-line"></div>
<div class="menu-button-line"></div> <div class="menu-button-line"></div>
<div class="menu-button-line"></div> <div class="menu-button-line"></div>
</a> </div>
</div> </div>
<menu class="mobile-hidden"> <menu class="mobile-hidden">
<li class="active"><a href="/">Home</a></li> <li class="active"><a href="/">Home</a></li>
@ -48,9 +48,10 @@
href="https://github.com/buu342/N64-UNFLoader">UNFLoader</a>, and well documented API, testing href="https://github.com/buu342/N64-UNFLoader">UNFLoader</a>, and well documented API, testing
your homebrew on real hardware was never this easy before!</p> your homebrew on real hardware was never this easy before!</p>
<p>SummerCart64 employs features not available in other N64 flashcarts, like <strong>64DD</strong> <p>SummerCart64 employs features not available in other N64 flashcarts, like <strong>64DD</strong>
hardware emulation, automatic save backup <strong>during gameplay</strong>, making it the best hardware emulation, automatic save backup <strong>during gameplay</strong>, or ability to behave
choice for both players and game developers. Please check <a href="/features.html">full feature like a stock game pak with <strong>direct mode</strong>, making it the best choice for both players
list</a> for more details!</p> and game developers. Please check <a href="/features.html">full feature list</a> for more details!
</p>
<div class="pcb-images"> <div class="pcb-images">
<img src="sc64-render-front.png"> <img src="sc64-render-front.png">
<img src="sc64-render-back.png"> <img src="sc64-render-back.png">

View File

@ -6,8 +6,8 @@
--menu-item-height: 48px; --menu-item-height: 48px;
--menu-item-spacing: 20px; --menu-item-spacing: 20px;
--menu-bg-color: rgb(28, 28, 28); --menu-bg-color: rgb(28, 28, 28);
--menu-active-color: rgb(40, 40, 40);
--menu-mobile-bg-color: rgb(20, 20, 20); --menu-mobile-bg-color: rgb(20, 20, 20);
--menu-mobile-active-color: rgb(40, 40, 40);
--menu-shadow: 0px 0px 12px rgb(0, 0, 0); --menu-shadow: 0px 0px 12px rgb(0, 0, 0);
--menu-font-size: 16px; --menu-font-size: 16px;
@ -72,7 +72,6 @@ a:hover {
.menu-bar { .menu-bar {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
align-items: center;
margin: 0 var(--content-margin) 0 var(--content-margin); margin: 0 var(--content-margin) 0 var(--content-margin);
width: 100%; width: 100%;
max-width: var(--content-max-width); max-width: var(--content-max-width);
@ -85,8 +84,11 @@ a:hover {
height: var(--menu-height); height: var(--menu-height);
} }
.menu-bar>.menu-buttons>img { .menu-bar>.menu-buttons a {
margin-right: var(--content-margin); height: var(--menu-item-height);
}
.menu-bar>.menu-buttons img {
height: var(--menu-item-height); height: var(--menu-item-height);
} }
@ -94,15 +96,26 @@ a:hover {
display: none; display: none;
} }
.menu-bar menu { .menu-bar>menu {
display: flex; display: flex;
margin: 0; margin: 0;
margin-left: var(--content-margin);
padding: 0; padding: 0;
} }
.menu-bar menu>li { .menu-bar>menu>li {
list-style: none; list-style: none;
padding: 0 var(--menu-item-spacing) 0 var(--menu-item-spacing); }
.menu-bar>menu>li:hover {
background-color: var(--menu-active-color);
}
.menu-bar>menu>li a {
display: flex;
align-items: center;
height: 100%;
padding: 0 var(--menu-item-spacing);
} }
.menu-bar menu>li.active a { .menu-bar menu>li.active a {
@ -121,7 +134,7 @@ a:hover {
margin: 0 var(--content-margin) 0 var(--content-margin); margin: 0 var(--content-margin) 0 var(--content-margin);
} }
.menu-bar>.menu-buttons>a { .menu-bar>.menu-buttons>.menu-button {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: center; justify-content: center;
@ -132,7 +145,7 @@ a:hover {
cursor: pointer; cursor: pointer;
} }
.menu-bar>.menu-buttons>a>.menu-button-line { .menu-bar>.menu-buttons>.menu-button>.menu-button-line {
width: 28px; width: 28px;
height: 3px; height: 3px;
background-color: var(--link-text-color); background-color: var(--link-text-color);
@ -140,12 +153,13 @@ a:hover {
border-radius: 2px; border-radius: 2px;
} }
.menu-bar>.menu-buttons>a.active>.menu-button-line { .menu-bar>.menu-buttons>.menu-button.active>.menu-button-line {
background-color: var(--text-color); background-color: var(--text-color);
} }
.menu-bar>menu { .menu-bar>menu {
flex-flow: column; flex-flow: column;
margin: 0;
width: 100%; width: 100%;
background-color: var(--menu-mobile-bg-color); background-color: var(--menu-mobile-bg-color);
} }
@ -153,7 +167,7 @@ a:hover {
.menu-bar>menu>li { .menu-bar>menu>li {
height: var(--menu-item-height); height: var(--menu-item-height);
padding: 0; padding: 0;
border-bottom: 1px solid var(--menu-mobile-active-color); border-bottom: 1px solid var(--menu-active-color);
} }
.menu-bar>menu>li:last-child { .menu-bar>menu>li:last-child {
@ -161,7 +175,7 @@ a:hover {
} }
.menu-bar>menu>li.active { .menu-bar>menu>li.active {
background-color: var(--menu-mobile-active-color); background-color: var(--menu-active-color);
} }
.menu-bar>menu>li>a { .menu-bar>menu>li>a {