From b44176804c15c3fd37c866cdc925a60bae9c437c Mon Sep 17 00:00:00 2001 From: ferricles Date: Sun, 22 May 2022 23:47:08 -0700 Subject: [PATCH] new dev folder (for documentation/developer purposes), fixed relative links in items_2_help page --- css/sq2bs.css | 4 ++++ dev/index.html | 43 +++++++++++++++++++++++++++++++++++++ items_adv/items_2_help.html | 8 +++---- wynnfo/scripts/main.js | 3 ++- 4 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 dev/index.html diff --git a/css/sq2bs.css b/css/sq2bs.css index e0eda75..e349002 100644 --- a/css/sq2bs.css +++ b/css/sq2bs.css @@ -437,6 +437,10 @@ input[type=number]::-webkit-outer-spin-button { /* Make links bold when hovered over */ +.clickable:hover { + font-weight: bold; +} + a:hover { font-weight: bold; } diff --git a/dev/index.html b/dev/index.html new file mode 100644 index 0000000..6b3a63b --- /dev/null +++ b/dev/index.html @@ -0,0 +1,43 @@ + + + + WynnBuilder Dev + + + + + + + + + + + + + + + + + + + + + + +
+
+ bruh +
+
+ + + diff --git a/items_adv/items_2_help.html b/items_adv/items_2_help.html index 161f077..e0c7d39 100644 --- a/items_adv/items_2_help.html +++ b/items_adv/items_2_help.html @@ -28,9 +28,9 @@ WynnBuilderWynnBuilder WynnCrafterWynnCrafter WynnAtlasWynnAtlas - WynnCustomWynnCustom - WynnGPSWynnGPS - WynnfoWynnCrafter + WynnCustomWynnCustom + WynnGPSWynnGPS + WynnfoWynnCrafter Swap Icon Style
@@ -220,6 +220,6 @@ docsFns.append(genDocEntry(entry[0], entry[1], null, entry[2])); } - + diff --git a/wynnfo/scripts/main.js b/wynnfo/scripts/main.js index c5632af..45983ba 100644 --- a/wynnfo/scripts/main.js +++ b/wynnfo/scripts/main.js @@ -29,6 +29,7 @@ const changelog = new Map([ //[title ,[genre, filename, author(s), abstract/desc]] ]); + const sections = ["Changelog", "Mechanics", "History" ] function init() { @@ -127,7 +128,7 @@ function initSections() { div.id = sec; let secspan = document.createElement("span"); - secspan.classList.add("row", "up"); + secspan.classList.add("row", "up", "clickable"); div.appendChild(secspan); let title = document.createElement("div"); title.classList.add("col-10", "item-title", "text-start")