aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-rw-r--r--website/resources/css/custom.css5
-rw-r--r--website/resources/js/main.js6
-rw-r--r--website/templates/all-versions.html2
-rw-r--r--website/templates/download.html2
4 files changed, 11 insertions, 4 deletions
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 @@
<div class="row">
<div class="text-center">
<h3>
- Feeling adventurous? Download the latest <a href="lombok-edge.jar">snapshot</a>
+ Feeling adventurous? Download the latest <a href="/download-edge">snapshot</a>
release.
</h3>
</div>
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 @@
<div class="row">
<div class="text-center">
<h3>
- Feeling adventurous? Download the latest <a href="/download-edge.html">snapshot</a>
+ Feeling adventurous? Download the latest <a href="/download-edge">snapshot</a>
release.
</h3>
</div>