From 16aadfc099f31741a127cf52f18253d44d88a86a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 1 Mar 2018 11:00:17 +0100 Subject: Static documentation rebuilt using current pkgdown --- docs/pkgdown.css | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) (limited to 'docs/pkgdown.css') diff --git a/docs/pkgdown.css b/docs/pkgdown.css index 9c437c7..181fe63 100644 --- a/docs/pkgdown.css +++ b/docs/pkgdown.css @@ -34,6 +34,10 @@ img.icon { float: right; } +img { + max-width: 100%; +} + /* Section anchors ---------------------------------*/ a.anchor { @@ -96,6 +100,11 @@ a.anchor { margin-bottom: 0.5em; } +.orcid { + height: 16px; + vertical-align: middle; +} + /* Reference index & topics ----------------------------------------------- */ .ref-index th {font-weight: normal;} @@ -133,15 +142,30 @@ pre, code { color: #333; } -pre img { +pre code { + overflow: auto; + word-wrap: normal; + white-space: pre; +} + +pre .img { + margin: 5px 0; +} + +pre .img img { background-color: #fff; display: block; + height: auto; } code a, pre a { color: #375f84; } +a.sourceLine:hover { + text-decoration: none; +} + .fl {color: #1514b5;} .fu {color: #000000;} /* function */ .ch,.st {color: #036a07;} /* string */ @@ -152,3 +176,19 @@ code a, pre a { .error { color: orange; font-weight: bolder;} .warning { color: #6A0366; font-weight: bolder;} +/* Clipboard --------------------------*/ + +.hasCopyButton { + position: relative; +} + +.btn-copy-ex { + position: absolute; + right: 0; + top: 0; + visibility: hidden; +} + +.hasCopyButton:hover button.btn-copy-ex { + visibility: visible; +} -- cgit v1.2.1