aboutsummaryrefslogtreecommitdiff
path: root/docs/pkgdown.css
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-09-18 13:03:50 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2019-09-18 13:03:50 +0200
commite05656d57668688b971c28e32b4cfd4d3eac4662 (patch)
tree597df9a638c0ce68ae9efcb5b45d42b2f2927a15 /docs/pkgdown.css
parent0818986e2d9a0e68d3d1de26ac381836e0cf5a6f (diff)
Correct and rebuild docs
- Reconcile docs and code for max_twa_parent - Correct links to docs in twa vignette - Static documentation rebuilt by pkgdown
Diffstat (limited to 'docs/pkgdown.css')
-rw-r--r--docs/pkgdown.css46
1 files changed, 33 insertions, 13 deletions
diff --git a/docs/pkgdown.css b/docs/pkgdown.css
index c03fb08d..91459581 100644
--- a/docs/pkgdown.css
+++ b/docs/pkgdown.css
@@ -21,8 +21,6 @@ body > .container {
display: flex;
height: 100%;
flex-direction: column;
-
- padding-top: 60px;
}
body > .container .row {
@@ -102,21 +100,13 @@ a.anchor {
margin-top: -40px;
}
-/* Static header placement on mobile devices */
-@media (max-width: 767px) {
- .navbar-fixed-top {
- position: absolute;
- }
- .navbar {
- padding: 0;
- }
-}
-
-
/* Sidebar --------------------------*/
#sidebar {
margin-top: 30px;
+ position: -webkit-sticky;
+ position: sticky;
+ top: 70px;
}
#sidebar h2 {
font-size: 1.5em;
@@ -133,6 +123,9 @@ a.anchor {
.orcid {
height: 16px;
+ /* margins are required by official ORCID trademark and display guidelines */
+ margin-left:4px;
+ margin-right:4px;
vertical-align: middle;
}
@@ -222,6 +215,19 @@ a.sourceLine:hover {
visibility: visible;
}
+/* headroom.js ------------------------ */
+
+.headroom {
+ will-change: transform;
+ transition: transform 200ms linear;
+}
+.headroom--pinned {
+ transform: translateY(0%);
+}
+.headroom--unpinned {
+ transform: translateY(-100%);
+}
+
/* mark.js ----------------------------*/
mark {
@@ -234,3 +240,17 @@ mark {
.html-widget {
margin-bottom: 10px;
}
+
+/* fontawesome ------------------------ */
+
+.fab {
+ font-family: "Font Awesome 5 Brands" !important;
+}
+
+/* don't display links in code chunks when printing */
+/* source: https://stackoverflow.com/a/10781533 */
+@media print {
+ code a:link:after, code a:visited:after {
+ content: "";
+ }
+}

Contact - Imprint