From 43bbb274b366aaa25385f7ea5f7a11f8cca3c48d Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Wed, 3 Jul 2019 12:41:26 +0900 Subject: [PATCH 1/5] upate css for chunks with line numbers --- inst/rmd/h/default.html | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/inst/rmd/h/default.html b/inst/rmd/h/default.html index e61b004c87..916ad4a67b 100644 --- a/inst/rmd/h/default.html +++ b/inst/rmd/h/default.html @@ -32,7 +32,17 @@ $if(theme)$ @@ -88,7 +98,17 @@ $if(theme)$ @@ -155,6 +175,9 @@ margin-left: auto; margin-right: auto; } +div.sourceCode { + background-color: transparent; +} code { color: inherit; background-color: rgba(0, 0, 0, 0.04); From 76a93a3edb01664640d42484a1d2e21a64e177c5 Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Fri, 5 Jul 2019 07:12:23 +0900 Subject: [PATCH 2/5] fix: css when applying highlightjs --- inst/rmd/h/default.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/inst/rmd/h/default.html b/inst/rmd/h/default.html index 916ad4a67b..06aff28e04 100644 --- a/inst/rmd/h/default.html +++ b/inst/rmd/h/default.html @@ -33,16 +33,16 @@ $if(theme)$ From 83423741534b35e36b94a6beee4ac40df246ef18 Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Sun, 7 Jul 2019 06:43:31 +0900 Subject: [PATCH 3/5] fix typo --- inst/rmd/h/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/rmd/h/default.html b/inst/rmd/h/default.html index 06aff28e04..9faf660b1a 100644 --- a/inst/rmd/h/default.html +++ b/inst/rmd/h/default.html @@ -40,7 +40,7 @@ pre[class="number-lines lineAnchors"], pre[class="number-lines line-anchors"], pre[class="lineAnchors numberLines"], - pre[class="lineAnchors number-Lines"], + pre[class="lineAnchors number-lines"], pre[class="line-anchors numberLines"], pre[class="line-anchors number-lines"] { background-color: white; @@ -106,7 +106,7 @@ pre[class="sourceCode numberSource number-lines lineAnchors"], pre[class="sourceCode numberSource number-lines line-anchors"], pre[class="sourceCode numberSource lineAnchors numberLines"], - pre[class="sourceCode numberSource lineAnchors number-Lines"], + pre[class="sourceCode numberSource lineAnchors number-lines"], pre[class="sourceCode numberSource line-anchors numberLines"], pre[class="sourceCode numberSource line-anchors number-lines"] { background-color: white; From 3f13950c2d8eab8769da36aab653497969342b58 Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Sun, 7 Jul 2019 06:45:37 +0900 Subject: [PATCH 4/5] fix: wrong selecters --- inst/rmd/h/default.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/inst/rmd/h/default.html b/inst/rmd/h/default.html index 9faf660b1a..1572c4389a 100644 --- a/inst/rmd/h/default.html +++ b/inst/rmd/h/default.html @@ -33,16 +33,16 @@ $if(theme)$ From 74059163c9f85c5f05cbee1994c369256a006672 Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Sun, 7 Jul 2019 10:15:31 +0900 Subject: [PATCH 5/5] revert: background-color of div.souceCode Because this is fixed by PR #1598 --- inst/rmd/h/default.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/inst/rmd/h/default.html b/inst/rmd/h/default.html index 1572c4389a..226d863a39 100644 --- a/inst/rmd/h/default.html +++ b/inst/rmd/h/default.html @@ -175,9 +175,6 @@ margin-left: auto; margin-right: auto; } -div.sourceCode { - background-color: transparent; -} code { color: inherit; background-color: rgba(0, 0, 0, 0.04);