From 5493e1f05d1dc7662bd90a764d792b1102528138 Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Fri, 25 Jan 2019 20:47:57 +0100 Subject: [PATCH] website update --- R/ggplot_rsi.R | 1 + docs/extra.css | 13 ++++++++----- docs/extra.js | 3 +-- pkgdown/extra.css | 13 ++++++++----- pkgdown/extra.js | 3 +-- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/R/ggplot_rsi.R b/R/ggplot_rsi.R index 2c456898..32d54496 100755 --- a/R/ggplot_rsi.R +++ b/R/ggplot_rsi.R @@ -314,6 +314,7 @@ scale_y_percent <- function(breaks = seq(0, 1, 0.1), limits = NULL) { #' @export scale_rsi_colours <- function() { ggplot2::scale_fill_brewer(palette = "RdYlGn") + #ggplot2::scale_fill_gradient2(low = "#d5613e", mid = "#ae5ac0", high = "#7daf44") } #' @rdname ggplot_rsi diff --git a/docs/extra.css b/docs/extra.css index ed8c6f3e..8fd48767 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -23,16 +23,19 @@ /* class for footer */ .footer_logo { - float: right; - height: 43px; - margin-top: 2px; + float: right; + height: 43px; + margin-top: 2px; } @media only screen and (max-width: 992px) { .footer_logo { - float: left; - margin-top: 15px; + float: left; + margin-top: 15px; } } +footer p { + display: inline-block; +} /* Supports icons for brand using font-awesome */ .fab { diff --git a/docs/extra.js b/docs/extra.js index 479924fe..dce09295 100644 --- a/docs/extra.js +++ b/docs/extra.js @@ -39,9 +39,8 @@ $( document ).ready(function() { '

' + $('footer .copyright p').html().replace( "Developed by", 'AMR (for R). Developed at the University of Groningen.
Authors:') + '

' + - '' + + '' + ''); - $('footer').addClass("university"); // Edit title of manual $('.template-reference-index h1').text('Manual'); diff --git a/pkgdown/extra.css b/pkgdown/extra.css index ed8c6f3e..8fd48767 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -23,16 +23,19 @@ /* class for footer */ .footer_logo { - float: right; - height: 43px; - margin-top: 2px; + float: right; + height: 43px; + margin-top: 2px; } @media only screen and (max-width: 992px) { .footer_logo { - float: left; - margin-top: 15px; + float: left; + margin-top: 15px; } } +footer p { + display: inline-block; +} /* Supports icons for brand using font-awesome */ .fab { diff --git a/pkgdown/extra.js b/pkgdown/extra.js index 479924fe..dce09295 100644 --- a/pkgdown/extra.js +++ b/pkgdown/extra.js @@ -39,9 +39,8 @@ $( document ).ready(function() { '

' + $('footer .copyright p').html().replace( "Developed by", 'AMR (for R). Developed at the University of Groningen.
Authors:') + '

' + - '' + + '' + ''); - $('footer').addClass("university"); // Edit title of manual $('.template-reference-index h1').text('Manual');