diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 23:18:20 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 23:18:20 +0200 |
commit | 8f38147e145c66ebd27f5d9fcc6f00172c25872f (patch) | |
tree | 35123308ef781f6ad4b83b6d421d5e0e35d2e574 /docs/pkgdown.css | |
parent | d106bebafe070cb803dd7205b1581b20eaf61cb5 (diff) |
Static documentation rebuilt by pkgdown::build_site()
Diffstat (limited to 'docs/pkgdown.css')
-rw-r--r-- | docs/pkgdown.css | 87 |
1 files changed, 69 insertions, 18 deletions
diff --git a/docs/pkgdown.css b/docs/pkgdown.css index 2edd2759..ec6cc73b 100644 --- a/docs/pkgdown.css +++ b/docs/pkgdown.css @@ -1,52 +1,103 @@ -body { - position: relative; +/* Sticker footer */ +body > .container { + display: flex; + padding-top: 60px; + min-height: calc(100vh); + flex-direction: column; } -.icon img { - float: right; - border: 1px solid #ccc; +body > .container .row { + flex: 1; } -.index .internal {display: none;} -ul.index li {margin-bottom: 0.5em; clear: both;} footer { margin-top: 45px; padding: 35px 0 36px; border-top: 1px solid #e5e5e5; + color: #666; + display: flex; +} +footer p { + margin-bottom: 0; +} +footer div { + flex: 1; +} +footer .pkgdown { + text-align: right; } footer p { margin-bottom: 0; - color: #555; } -/* Fixes for fixed navbar --------------------------*/ +/* Section anchors ---------------------------------*/ -body { - position: relative; - padding-top: 60px; +.hasAnchor { + margin-left: -30px; +} + +a.anchor { + display:inline-block; + width: 30px; + height: 30px; + visibility: hidden; + + background-image: url(./link.svg); + background-repeat: no-repeat; + background-size: 20px 20px; + background-position: center center; +} + +.hasAnchor:hover a.anchor { + visibility: visible; } -.section h1, .section h2, .section h3, .section h4 { +/* Fixes for fixed navbar --------------------------*/ + +.contents h1, .contents h2, .contents h3, .contents h4 { padding-top: 60px; margin-top: -60px; } -/* Table of contents --------------------------*/ +/* Sidebar --------------------------*/ -#tocnav h2 { - margin-top: 0; +#sidebar { + margin-top: 30px; + word-wrap: break-word; + + hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; +} +#sidebar h2 { font-size: 1.5em; + margin-top: 1em; +} + +#sidebar h2:first-child { + margin-top: 0; } +#sidebar .list-unstyled li { + margin-bottom: 0.5em; +} /* Syntax highlighting ---------------------------------------------------- */ +code { + background-color: #f7f7f7; + color: #333; +} +code a { + color: #375f84; +} + .fl,.number {color:rgb(21,20,181);} .fu,.functioncall {color:#264D66 ;} .ch,.st,.string {color:#375D81 ;} -.kw,.keyword {font-weight:bolder ;color:black;} +.kw,.keyword {color:black;} .argument {color:#264D66 ;} -.co,.comment {color: #333;} +.co,.comment {color: #777;} .formalargs {color: #264D66;} .eqformalargs {color:#264D66;} .slot {font-style:italic;} |