1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 16:42:10 +02:00

website update

This commit is contained in:
2019-01-22 19:55:11 +01:00
parent 9529d097b6
commit 3ec44b6e0c
8 changed files with 90 additions and 213 deletions

View File

@ -22,11 +22,16 @@
*/
/* class for footer */
.university {
background-image: url(logo_rug.png);
background-size: 200px;
background-repeat: no-repeat;
background-position: center right;
.footer_logo {
float: right;
height: 43px;
margin-top: 2px;
}
@media only screen and (max-width: 992px) {
.footer_logo {
float: left;
margin-top: 15px;
}
}
/* Supports icons for brand using font-awesome */

View File

@ -34,10 +34,13 @@ $( document ).ready(function() {
window.location.replace(url_new);
}
$('footer').html('<p>' +
$('footer .copyright p').html().replace("Developed by",
'<code>AMR</code> (for R). Developed at the <a href="https://www.rug.nl" target="_blank">University of Groningen</a>.<br>Authors:') +
'</p>');
$('footer').html(
'<div>' +
'<p>' + $('footer .copyright p').html().replace(
"Developed by",
'<code>AMR</code> (for R). Developed at the <a href="https://www.rug.nl" target="_blank">University of Groningen</a>.<br>Authors:') + '</p>' +
'<a href="https://www.rug.nl" target="_blank"><img src="./logo_rug.png" class="footer_logo"></a>' +
'</div>');
$('footer').addClass("university");
// Edit title of manual