From: Fábio Madeira Date: Mon, 13 Feb 2017 17:25:25 +0000 (+0000) Subject: JWS-109 Added some basic styling and js very much inspired in the main Barton website. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3a7c56e773fa5742187e76e4cdefb5ce3b3f911f;p=jabaws.git JWS-109 Added some basic styling and js very much inspired in the main Barton website. --- diff --git a/website/static/css/main.css b/website/static/css/main.css new file mode 100644 index 0000000..80c1a34 --- /dev/null +++ b/website/static/css/main.css @@ -0,0 +1,96 @@ + +/* +body { + padding-top: 70px +} +*/ +p.justify { + text-align: justify; +} +p.people { + padding: 2% 0% 0% 2%; +} +img.people{ +padding-right: 2%; +padding-bottom: 2%; +float: left; +} + +.imgright{ +padding-left: 2%; +float: right; +margin: 2%; +} + +.imgleft{ +padding-right: 2%; +float: left; +margin: 2% +} + + +.page-header { + padding-bottom: 9px; + margin: 0px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +.vspace { height: 60px;} + + +/** +*** BibBase reference-specific additions +**/ +img.bibbase_icon { + display: none; +} + +/* remove linkout to bibbase, but make it bold */ +.bibbase_paper_title a { + color: #333; + text-decoration: none; + pointer-events: none; + cursor: default; + font-weight: bold; +} + +/* remove bibbase link to authors with bibbase accounts */ +a.bibbase.author.link { + color: #333; + text-decoration: none; + pointer-events: none; + cursor: default; +} + +/* reformat refs borked by bootstrap css */ +.bibbase_group_body { + padding-left: 15px; +} + +/* put links on same line as citation */ +br.bibbase_paper_content { + display: none; +} + +/* resize link text */ +.bibbase_paper_content { + font-size: smaller; +} + +/* space out separate refs */ +.bibbase_paper { + margin-bottom: 5px; +} + +/* force display of year ref counts */ +.bibbase_group_count { + display: initial; + font-weight: normal; +} + +em2 { + font-style: italic; + font-family: "courier new", courier, monospace; + font-size: 14px; +} + diff --git a/website/static/js/main.js b/website/static/js/main.js new file mode 100644 index 0000000..63d5f8d --- /dev/null +++ b/website/static/js/main.js @@ -0,0 +1,17 @@ + +$(document).ready(function(){ + $("#show_hidden1").click(function(){ + $("hidden_loader").show(); + }); + $("#show_hidden2").click(function(){ + $("hidden_loader").show(); + }); + $("#show_hidden3").click(function(){ + $("hidden_loader").show(); + $('html,body').scrollTop(0); + }); + $("#show_hidden4").click(function(){ + $("hidden_loader").show(); + $('html,body').scrollTop(0); + }); +}); \ No newline at end of file