aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-06-12 22:29:51 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-06-13 00:15:32 +0200
commit3cf73930c3ba0c6da415ec487692e7f0cb5cfb3d (patch)
tree0246b35c3600eb2b5f384ab9334c3a05bb37707d /website
parent9488c1c248569d91fa74ed9358baba7f175f02fa (diff)
downloadlombok-3cf73930c3ba0c6da415ec487692e7f0cb5cfb3d.tar.gz
lombok-3cf73930c3ba0c6da415ec487692e7f0cb5cfb3d.tar.bz2
lombok-3cf73930c3ba0c6da415ec487692e7f0cb5cfb3d.zip
Final touches to the website (very minor typos etc update)
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>