1
0
mirror of https://github.com/msberends/AMR.git synced 2025-01-13 13:31:37 +01:00

website update

This commit is contained in:
dr. M.S. (Matthijs) Berends 2019-01-25 20:47:57 +01:00
parent f4ff98b470
commit 5493e1f05d
5 changed files with 19 additions and 14 deletions

View File

@ -314,6 +314,7 @@ scale_y_percent <- function(breaks = seq(0, 1, 0.1), limits = NULL) {
#' @export #' @export
scale_rsi_colours <- function() { scale_rsi_colours <- function() {
ggplot2::scale_fill_brewer(palette = "RdYlGn") ggplot2::scale_fill_brewer(palette = "RdYlGn")
#ggplot2::scale_fill_gradient2(low = "#d5613e", mid = "#ae5ac0", high = "#7daf44")
} }
#' @rdname ggplot_rsi #' @rdname ggplot_rsi

View File

@ -23,16 +23,19 @@
/* class for footer */ /* class for footer */
.footer_logo { .footer_logo {
float: right; float: right;
height: 43px; height: 43px;
margin-top: 2px; margin-top: 2px;
} }
@media only screen and (max-width: 992px) { @media only screen and (max-width: 992px) {
.footer_logo { .footer_logo {
float: left; float: left;
margin-top: 15px; margin-top: 15px;
} }
} }
footer p {
display: inline-block;
}
/* Supports icons for brand using font-awesome */ /* Supports icons for brand using font-awesome */
.fab { .fab {

View File

@ -39,9 +39,8 @@ $( document ).ready(function() {
'<p>' + $('footer .copyright p').html().replace( '<p>' + $('footer .copyright p').html().replace(
"Developed by", "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>' + '<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>' + '<a href="https://www.rug.nl" target="_blank"><img src="../../AMR/logo_rug.png" class="footer_logo"></a>' +
'</div>'); '</div>');
$('footer').addClass("university");
// Edit title of manual // Edit title of manual
$('.template-reference-index h1').text('Manual'); $('.template-reference-index h1').text('Manual');

View File

@ -23,16 +23,19 @@
/* class for footer */ /* class for footer */
.footer_logo { .footer_logo {
float: right; float: right;
height: 43px; height: 43px;
margin-top: 2px; margin-top: 2px;
} }
@media only screen and (max-width: 992px) { @media only screen and (max-width: 992px) {
.footer_logo { .footer_logo {
float: left; float: left;
margin-top: 15px; margin-top: 15px;
} }
} }
footer p {
display: inline-block;
}
/* Supports icons for brand using font-awesome */ /* Supports icons for brand using font-awesome */
.fab { .fab {

View File

@ -39,9 +39,8 @@ $( document ).ready(function() {
'<p>' + $('footer .copyright p').html().replace( '<p>' + $('footer .copyright p').html().replace(
"Developed by", "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>' + '<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>' + '<a href="https://www.rug.nl" target="_blank"><img src="../../AMR/logo_rug.png" class="footer_logo"></a>' +
'</div>'); '</div>');
$('footer').addClass("university");
// Edit title of manual // Edit title of manual
$('.template-reference-index h1').text('Manual'); $('.template-reference-index h1').text('Manual');