1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00

Embedded help tab updates

This commit is contained in:
boxgaming 2023-09-29 10:56:52 -05:00
parent f5c82a7160
commit 8c87c0f033
6 changed files with 23 additions and 8 deletions

View file

@ -76,4 +76,9 @@ body {
#fs-path { border-color: rgb(177, 177, 177); }
#fs-contents a, #fs-contents a:visited, #fs-contents a:active { color: rgb(177, 177, 177); }
#fs-contents a:hover { color: #efefef; }
#fs-contents a:hover { color: #efefef; }
#help-nav a:hover { color: #fff; }
#help-nav a:before { content: "< "; }
#help-nav a:after { content: " >"; }
#help-nav a { margin-right: 0px; }

View file

@ -77,3 +77,8 @@ body {
#fs-contents a, #fs-contents a:visited, #fs-contents a:active { color: rgb(177, 177, 177); }
#fs-contents a:hover { color: #efefef; }
#help-nav a:hover { color: #fff; }
#help-nav a:before { content: "< "; }
#help-nav a:after { content: " >"; }
#help-nav a { margin-right: 0px; }

View file

@ -47,4 +47,9 @@
.cm-s-qbjs .cm-searching { color: #333 !important; background-color: #ccc; }
body { letter-spacing: -1px; }
#gx-container { letter-spacing: normal; }
#gx-container { letter-spacing: normal; }
#help-nav a:hover { color: #fff; }
#help-nav a:before { content: "< "; }
#help-nav a:after { content: " >"; }
#help-nav a { margin-right: 0px; }

View file

@ -110,6 +110,3 @@ a:hover { text-decoration: underline; }
#fs-contents a:hover { text-decoration: none; }
.help a { font-variant: normal; font-size: 15px }
/* #code {
border-top: 0px;
} */

View file

@ -5,7 +5,10 @@ var GitHelp = new function() {
var sconverter = new showdown.Converter();
sconverter.setFlavor("github");
baseUrl = window.location.origin;
baseUrl = location.protocol + "//" + location.host + location.pathname;
if (baseUrl.endsWith("/index.html")) {
baseUrl = baseUrl.replace("/index.html", "");
}
function fixlinks(div, project) {
var a = div.getElementsByTagName("a");

View file

@ -348,8 +348,8 @@ dialog a:hover { color: #000 !important; }
.help th, .help td { border: 1px solid #444; border-spacing: 0; padding: 4px }
.help a:hover { text-decoration: underline; }
.help a { color: #4E91E6 !important; }
.help a:after { display: none; }
.help a:before { display: none; }
/*.help a:after { display: none; }
.help a:before { display: none; }*/
.help code {
display: inline-block;
border: 1px solid #444;