Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find AnVIL assets #93

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 01_Intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ Note that some sections of this book cover steps in a lot of detail. When naviga
```{r, echo=FALSE, fig.alt="Double-clicking on the H2 headers (for example, 2.2) will expand the contents for view using the 'scroll_highlight' feature."}
ottrpal::include_slide("https://docs.google.com/presentation/d/18yUr5XSEMgPk8JXFLKfG9JF7L9NpKbCF_mIcXagogKg/edit#slide=id.gde0d2ef5f6_0_1")
```

8 changes: 4 additions & 4 deletions _output.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
bookdown::gitbook:
css: assets/style_anvil.css
css: assets/AnVIL_style/style.css
includes:
before_body: assets/big-image_anvil.html
after_body: assets/footer.html
before_body: assets/AnVIL_style/big-image_anvil.html
after_body: assets/AnVIL_style/footer.html
highlight: tango
config:
toc:
collapse: section
before: |
<a href="https://anvilproject.org/" target="_blank"><img src="assets/logo-anvil.png" style="width: 80%; padding-left: 15px; padding-top: 8px;"</a>
<a href="https://anvilproject.org/" target="_blank"><img src="assets/AnVIL_style/logo-anvil.png" style="width: 80%; padding-left: 15px; padding-top: 8px;"</a>
after: |
<p style="text-align:center;"> <a href="https://github.com/jhudsl/OTTR_Template" target="blank" > This content was published with</a> <a href="https://bookdown.org/" target="blank"> bookdown by: </a> </p>
<p style="text-align:center;"> <a href="http://jhudatascience.org/"> The Johns Hopkins Data Science Lab </a></p>
Expand Down
1 change: 1 addition & 0 deletions assets/AnVIL_style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -468,3 +468,4 @@ div.dictionary{
div.reflection{
background-image: url("../box_images/thinking_face.png");
}

38 changes: 19 additions & 19 deletions assets/style_anvil.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ h1, h2, h3, h4 {
}


.book .book-body .page-wrapper .page-inner section.normal h1,
.book .book-body .page-wrapper .page-inner section.normal h2,
.book .book-body .page-wrapper .page-inner section.normal h3,
.book .book-body .page-wrapper .page-inner section.normal h4,
.book .book-body .page-wrapper .page-inner section.normal h5,
.book .book-body .page-wrapper .page-inner section.normal h1,
.book .book-body .page-wrapper .page-inner section.normal h2,
.book .book-body .page-wrapper .page-inner section.normal h3,
.book .book-body .page-wrapper .page-inner section.normal h4,
.book .book-body .page-wrapper .page-inner section.normal h5,
.book .book-body .page-wrapper .page-inner section.normal h6 {
margin-top: 1em;
margin-bottom: 1em;
Expand All @@ -80,7 +80,7 @@ h1, h2, h3, h4 {
font-family: 'Lora';
color: #0b8d96;
}


/*----------DROP CAPS--------------*/

Expand Down Expand Up @@ -146,7 +146,7 @@ color: #012d72
}

/* all TOC list items, basically */
.book .book-summary ul.summary li a,
.book .book-summary ul.summary li a,
.book .book-summary ul.summary li span {
padding-top: 8px;
padding-bottom: 8px;
Expand All @@ -157,14 +157,14 @@ color: #012d72

.summary a:hover {
color: #68ace5 !important;
}
}

.book .book-summary ul.summary li.active>a { /*active TOC links*/
color: #68ace5 !important;
border-left: solid 4px;
border-color: #68ace5;
padding-left: 11px !important;
}
}


li.appendix span, li.part span { /* for TOC part names */
Expand Down Expand Up @@ -206,7 +206,7 @@ li.appendix span, li.part span { /* for TOC part names */
}

.summary > li:first-child {
height: auto !important;
height: auto !important;
}

/* --------------Two columns--------------- */
Expand Down Expand Up @@ -332,12 +332,12 @@ div.note {
margin-bottom: 0;
}

iframe {
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
iframe {
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
}

.iframe-container {
Expand Down Expand Up @@ -404,14 +404,14 @@ a.anchor {
}


.hasAnchor:hover a.anchor,
.hasAnchor:hover a.anchor,
a.anchor:hover {
/*visibility: visible;*/
opacity: 0.6;
}

/* disable anchors for headers with "no-anchor" class */
.no-anchor .hasAnchor:hover a.anchor,
.no-anchor .hasAnchor:hover a.anchor,
.no-anchor a.anchor:hover {
opacity: 0 !important;
}
Expand Down Expand Up @@ -439,4 +439,4 @@ a.anchor:hover {
font-family: "Lora", serif;
font-size: .85em;
color: #193a5c;
}
}