From 7fc323cdefa60fa0d2e0b704f0b267bed42b68ba Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Wed, 23 Jun 2021 13:32:04 -0700 Subject: [PATCH] Don't strip topnav on narrow devices The idea is to remove everything but the "HOME" link from the topnav bar on very narrow devices, so that it doesn't look cramped. Right now we don't have a ton of stuff in topnav, and losing the tutorial link is annoying. If we want to restore this feature, we should also add a link to the tutorial in the body of the page. --- docs/index.html | 8 ++++---- docs/main.css | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/index.html b/docs/index.html index ad65e0b..7307409 100644 --- a/docs/index.html +++ b/docs/index.html @@ -75,10 +75,10 @@ features one tool, the SourceGen disassembler.

completed disassembly projects. -

Check out the -GitHub project, -where you can download source & binaries for the latest version from the -Releases page. +

You can download source code and executables for the latest version from the +Releases page +in the +GitHub project.

Key features include:

diff --git a/docs/main.css b/docs/main.css index 9446750..599eee8 100644 --- a/docs/main.css +++ b/docs/main.css @@ -107,9 +107,11 @@ kbd.key { * Show nothing but HOME initially. Expand the set as the screen widens. * inline-block seems to help keep the text and icon consistent when * expanding and collapsing (vs. inline). + * + * DISABLED -- we don't have all that many items, so it's just annoying. */ #topnav a {display:inline-block;} -#topnav a:not(:first-child) {display:none;} +/*#topnav a:not(:first-child) {display:none;}*/ #topnav a.icon { float: right; display: block;