aboutsummaryrefslogtreecommitdiff
path: root/website/resources
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/resources
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/resources')
-rw-r--r--website/resources/css/custom.css5
-rw-r--r--website/resources/js/main.js6
2 files changed, 9 insertions, 2 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() {