From 2d3954a94637786089a44be0ddb8f2ee92f4c869 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 8 Jul 2024 10:20:50 +0100 Subject: [PATCH] Update nav header for new docs location --- .../htdocs/deluge_header_nav.css | 2 +- .../htdocs/deluge_header_nav.html | 34 +++++--------- .../htdocs/deluge_header_nav.html.new | 44 ------------------- .../htdocs/deluge_header_nav.html.old | 35 --------------- deluge-torrent.org/htdocs/js/deluge_nav.js | 8 ++++ .../template/deluge_nav_phpbb.html | 42 +++++++++--------- .../theme/deluge_nav_phpbb.css | 2 +- 7 files changed, 41 insertions(+), 126 deletions(-) delete mode 100644 deluge-torrent.org/htdocs/deluge_header_nav.html.new delete mode 100644 deluge-torrent.org/htdocs/deluge_header_nav.html.old create mode 100644 deluge-torrent.org/htdocs/js/deluge_nav.js diff --git a/deluge-torrent.org/htdocs/deluge_header_nav.css b/deluge-torrent.org/htdocs/deluge_header_nav.css index db9947e22..c3be165a1 100644 --- a/deluge-torrent.org/htdocs/deluge_header_nav.css +++ b/deluge-torrent.org/htdocs/deluge_header_nav.css @@ -34,7 +34,7 @@ body { .deluge-nav .deluge-nav-logo a { text-decoration: none; color: #DBE1E8; - font-size: 1.7rem; + font-size: 1.25rem; font-weight: 600; display: flex; flex-wrap: wrap; diff --git a/deluge-torrent.org/htdocs/deluge_header_nav.html b/deluge-torrent.org/htdocs/deluge_header_nav.html index f37a04569..378b34142 100644 --- a/deluge-torrent.org/htdocs/deluge_header_nav.html +++ b/deluge-torrent.org/htdocs/deluge_header_nav.html @@ -1,7 +1,10 @@
@@ -13,32 +16,15 @@
- + diff --git a/deluge-torrent.org/htdocs/deluge_header_nav.html.new b/deluge-torrent.org/htdocs/deluge_header_nav.html.new deleted file mode 100644 index 745106528..000000000 --- a/deluge-torrent.org/htdocs/deluge_header_nav.html.new +++ /dev/null @@ -1,44 +0,0 @@ -
- - -
-
- - - -
- - -
-
- - diff --git a/deluge-torrent.org/htdocs/deluge_header_nav.html.old b/deluge-torrent.org/htdocs/deluge_header_nav.html.old deleted file mode 100644 index 8c2c6b39c..000000000 --- a/deluge-torrent.org/htdocs/deluge_header_nav.html.old +++ /dev/null @@ -1,35 +0,0 @@ - - - -
-
- - -
-
diff --git a/deluge-torrent.org/htdocs/js/deluge_nav.js b/deluge-torrent.org/htdocs/js/deluge_nav.js new file mode 100644 index 000000000..30bf2be05 --- /dev/null +++ b/deluge-torrent.org/htdocs/js/deluge_nav.js @@ -0,0 +1,8 @@ +const navList = document.getElementById("deluge-nav-lists"); +function show_nav_menu() { + navList.classList.add("menus-show"); +} + +function hide_nav_menu() { + navList.classList.remove("menus-show"); +} diff --git a/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/template/deluge_nav_phpbb.html b/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/template/deluge_nav_phpbb.html index 4d6b9d318..891496966 100644 --- a/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/template/deluge_nav_phpbb.html +++ b/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/template/deluge_nav_phpbb.html @@ -1,25 +1,25 @@
- diff --git a/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/theme/deluge_nav_phpbb.css b/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/theme/deluge_nav_phpbb.css index 0ae14a5e4..29009c313 100644 --- a/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/theme/deluge_nav_phpbb.css +++ b/forum.deluge-torrent.org/htdocs/styles/deluge_stormyday_3.3/theme/deluge_nav_phpbb.css @@ -33,7 +33,7 @@ body { .deluge-nav .deluge-nav-logo a { text-decoration: none; color: #DBE1E8; - font-size: 1.7rem; + font-size: 1.25rem; font-weight: 600; display: flex; flex-wrap: wrap;