From 3cf73930c3ba0c6da415ec487692e7f0cb5cfb3d Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 Jun 2017 22:29:51 +0200 Subject: Final touches to the website (very minor typos etc update) --- website/resources/css/custom.css | 5 +++++ website/resources/js/main.js | 6 ++++-- website/templates/all-versions.html | 2 +- website/templates/download.html | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) (limited to 'website') diff --git a/website/resources/css/custom.css b/website/resources/css/custom.css index 6a1c564d..ba4f56e8 100644 --- a/website/resources/css/custom.css +++ b/website/resources/css/custom.css @@ -140,6 +140,7 @@ a { .main-section { padding-left: 100px; padding-right: 100px; + max-width: 900px; } .changelog li { @@ -174,3 +175,7 @@ a { } } +img { + max-width: 100%; + height: auto; +} diff --git a/website/resources/js/main.js b/website/resources/js/main.js index ebeeab9d..35d0620d 100644 --- a/website/resources/js/main.js +++ b/website/resources/js/main.js @@ -14,7 +14,9 @@ if (self.data("clc")) return; var href = self.attr("href"); self.data("clc", true); - if (!href || href.substr(0, 4) === "http" || href.substr(href.length - 4, 4) === ".xml") return; + if (!href || href.substr(0, 4) === "http") return; + var ext = href.substr(href.length - 4, 4); + if (ext === ".xml" || ext === ".jar") return; self.on("click", function(evt) { evt.preventDefault(); var key = toKey(window.location.pathname); @@ -27,7 +29,7 @@ } function collapseMenu() { - if ($(".navbar-collapse").is(".in")) $(".navbar-toggle").click() + if ($(".navbar-collapse").is(".in")) $(".navbar-toggle").click(); } function ajaxFeaturePages() { diff --git a/website/templates/all-versions.html b/website/templates/all-versions.html index e4319665..0c07a520 100644 --- a/website/templates/all-versions.html +++ b/website/templates/all-versions.html @@ -21,7 +21,7 @@

- Feeling adventurous? Download the latest snapshot + Feeling adventurous? Download the latest snapshot release.

diff --git a/website/templates/download.html b/website/templates/download.html index 587ea1ab..5d89061c 100644 --- a/website/templates/download.html +++ b/website/templates/download.html @@ -27,7 +27,7 @@

- Feeling adventurous? Download the latest snapshot + Feeling adventurous? Download the latest snapshot release.

-- cgit