1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 00:02:38 +02:00

fixes for microorganisms.codes

This commit is contained in:
2019-05-28 16:50:40 +02:00
parent 7e0e171512
commit 27380fa021
73 changed files with 679 additions and 412 deletions

View File

@ -164,7 +164,7 @@ help {
text-align: center;
}
/* tables */
/* tables, make them look like scientific ones */
.table {
font-size: 90%;
}
@ -209,3 +209,6 @@ table a:not(.btn):hover, .table a:not(.btn):hover {
border: 2px #2c3e50 dashed;
margin-top: 1%;
}
#btn_collapseDisqus {
white-space: normal;
}

View File

@ -24,7 +24,8 @@
// Add updated Font Awesome 5.6.3 library
$('head').append('<!-- Updated Font Awesome library --><link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">');
// Add Disqus
$('head').append('<script src="https://amr-for-r.disqus.com/embed.js" data-timestamp="' + new Date() + '"></script');
// $('head').append('<link rel="preload" href="https://amr-for-r.disqus.com/embed.js" as="script">');
$('head').append('<script src="https://amr-for-r.disqus.com/embed.js" data-timestamp="' + new Date() + '"></script>');
// Email template for new GitLab issues
//https://stackoverflow.com/a/33190494/4575331
@ -56,7 +57,7 @@ $( document ).ready(function() {
// Add Disqus to all pages
var disqus =
'<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseDisqus" aria-expanded="false" aria-controls="collapseDisqus">' +
'<button id="btn_collapseDisqus" class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseDisqus" aria-expanded="false" aria-controls="collapseDisqus">' +
' Having a question? Or knowing something we don\'t? Click here to open comments.' +
'</button>' +
'<div class="collapse" id="collapseDisqus">' +