links moved to the page bottom
This commit is contained in:
@@ -48,4 +48,11 @@ function onLoad() {
|
|||||||
elem.innerHTML = md2html(child.value);
|
elem.innerHTML = md2html(child.value);
|
||||||
show(elem);
|
show(elem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(window.innerHeight >= document.body.clientHeight) {
|
||||||
|
var links = $("links");
|
||||||
|
links.style.position = "fixed";
|
||||||
|
links.style.bottom = 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
[:title (print-str (get-message :name) "—" title)]
|
[:title (print-str (get-message :name) "—" title)]
|
||||||
[:meta {:charset "UTF-8"}]
|
[:meta {:charset "UTF-8"}]
|
||||||
[:meta {:name "viewport" :content "width=device-width, initial-scale=1.0"}]
|
[:meta {:name "viewport" :content "width=device-width, initial-scale=1.0"}]
|
||||||
[:link {:rel "stylesheet/less" :type "text/css" :href "/style.less"}]
|
[:link {:rel "stylesheet/less" :type "text/css" :href "/styles/main.less"}]
|
||||||
(html
|
(html
|
||||||
(include-js "/js/less.js")
|
(include-js "/js/less.js")
|
||||||
(include-js "/js/themes.js")
|
(include-js "/js/themes.js")
|
||||||
|
|||||||
Reference in New Issue
Block a user